代码样本

个搜索结果:166
C#JobSystem unity

Code Sample: New Unity* Entity Component, C# Job System, and Burst Compiler

发布时间:2018 年 6 月 1 日

The new C# job system and entity component system from Unity* don’t just allow you to easily leverage previously unused CPU resources, they will also help run all your game code more efficiently in general. Then you can use those extra CPU resources to add more scene dynamism and immersion. In this...

starship in space

Get Started with the Unity* Entity Component System (ECS), C# Job System, and Burst Compiler

发布时间:2018 年 5 月 31 日

The new C# job system and entity component system from Unity* don't just allow you to easily leverage previously unused CPU resources, they will also help run all your game code more efficiently in general. Then you can use those extra CPU resources to add more scene dynamism and immersion. In this...

woman in a virtual environment

Code Sample: Custom Audio Editor Tool with Unreal Engine* for Sound Spatialization in VR

发布时间:2018 年 5 月 30 日

This Code Sample show you step-by-step on building a useful tool for VR devs using Unreal Engine that leverages the power of intel CPU’s. Unreal Engine has a powerful virtual reality editor option, but something they did not include is the ability to edit and place sounds while inside VR. It can...

Merging Masked Occlusion Culling Hierarchical Buffers for Faster Rendering

The article and code sample are an addition to the preceding work by Andersson et al. that addresses many of these problem cases by splitting a scene into multiple buffers that better fit local dynamic ranges of geometry and that can be computed concurrently. We then augment the algorithm's discard...

Grayscale in game output

Code Sample: Merging Masked Occlusion Culling Hierarchical Buffers

Efficient occlusion culling in dynamic scenes is a very important topic to the game and real-time graphics community in order to accelerate rendering. Masked Software Occlusion Culling [J. Hasselgren, M. Andersson, T. Akenine-Möller] presented a novel algorithm optimized for SIMD-capable CPUs that...

code sample

Code Sample: An Approach to Parallel Processing with Unreal Engine*

发布时间:2018 年 4 月 26 日

In this example, a flock was defined as a school of fish. For each member, the algorithm needs to worry about cohesion, alignment and separation. Each fish was calculated to “swim” within a school if it was within a certain distance from any other fish in the school. Members of a school will not...

code sample

代码示例:使用 Unreal Engine* 进行并行处理的一种方法

发布时间:2018 年 4 月 26 日

在本示例中,一个群集被定义为一群鱼。算法需要考虑每个成员的聚集、队列和分离。 如果每条鱼都与鱼群中的其他鱼均保持一定的距离,经过计算得出,该鱼在一个鱼群里“游动”。鱼群的成员只能以群集成员的身份行动,不得单独行动,它们拥有相同的参数,如速度和方向。

game development

Code Sample: Parallel Techniques in Modeling Particle Systems Using Vulkan* API

发布时间:2018 年 4 月 23 日

This code sample and accompanying article (see References below) discuss and compare aspects of the implementation of a particle system using CPU and GPU using a Vulkan-based renderer as an example. We recommend that you read the article while looking at the code. Make sure you have the examples...

An-Approach-to-Parallel-Processing-with-Unity

Code Sample: An Approach to Parallel Processing with Unity*

发布时间:2018 年 4 月 10 日

This code and accompanying article (see References below) cover development of a flocking algorithm, which is then demonstrated as schools of fish via two applications. The first application was developed to run on a multi-threaded CPU, and the second to perform physics calculations on the GPU.

An-Approach-to-Parallel-Processing-with-Unity

代码示例:使用 Unity* 进行并行处理的一种方法

发布时间:2018 年 4 月 10 日

代码和随附的文章(参见下面的参考文献)介绍了群集算法的开发,并通过两个应用以鱼群的形式展示该算法。第一个应用在多线程 CPU 上运行,第二个应用在 GPU 上执行物理计算。

parallel particle processing

Code Sample: Parallel Processing with Direct3D* 12

发布时间:2018 年 4 月 4 日

The idea behind this project was to provide a demonstration of parallel processing in gaming with Direct3D 12. It expands upon the results from the paper "A Comparison of the Intel® Core™ i5 Processor and Intel® Core™ i7 Processor with Visualizations in OpenGL* and Oculus* VR" (see References...

Face Beautification API for Intel Graphics Technology Table 1

Face Beautification API for Intel® Graphics Technology

发布时间:2017 年 7 月 14 日,更新时间: 2017 年 12 月 21 日作者:Sonal S. (Intel)

This document highlights the C++ API for enabling applications to support Face Beautification It provides the list of available effects in Face Beautification supported by Intel Graphics Technology, C++ API definitions, and methods to enable an application to use the C++ Face Beautification API...

Order-Independent Transparency Approximation with Raster Order Views (Update 2017)

发布时间:2015 年 1 月 5 日,更新时间: 2017 年 12 月 18 日作者:Leigh D. (Intel)

Download Original Sample  Download Update

This is an update to the original sample from 2014, the update has two main changes compared to the previous code along with updating the samples to compile with the most recent versions of the...

Parallel Processing with DirectX 3D* 12

发布时间:2017 年 10 月 20 日

We will examine rendering parallel topics using Direct3D* 12. We will use the results from the paper, A Comparison of the Intel® Core™ i5 Processor and Intel® Core™ i7 Processor with Visualizations in OpenGL* and Oculus* VR, and extend the code there to contain a Direct3D 12 renderer, after which...

Intel-spmd-program-compiler-cpu-vectorization-games-fig01

Use the Intel® SPMD Program Compiler for CPU Vectorization in Games

Migrate highly vectorized GPU compute kernels to CPU code using the Intel® SPMD Program Compiler (commonly referred to in previous documents as ISPC). Includes a link to a Github code sample to help you utilize spare CPU cycles to create a richer gaming experience.

Intel-spmd-program-compiler-cpu-vectorization-games-fig01

使用英特尔® SPMD 程序编译器实现游戏 CPU 的矢量化

使用英特尔® SPMD 程序编译器(在之前的文档中通常被称作 ISPC)将高度矢量化的 GPU 计算内核迁移至 CPU 代码。附上 Github 代码示例的链接,以帮助您使用备用 CPU 周期创建更丰富的游戏体验。

API without Secrets: Introduction to Vulkan* Part 6

发布时间:2017 年 7 月 19 日,更新时间: 2017 年 8 月 1 日作者:Pawel L. (Intel)

This part of the tutorial presented a way to use textures (combined image samplers, in fact) inside shaders. To do this we created an image and allocated and bound a memory to it. We also created an image view. Next, we copied data from a staging buffer to the image to initialize its contents. We...

没有任何秘密的 API:Vulkan* 简介第 6 部分

本部分教程介绍如何在着色器中使用纹理(实际上为合并图像采样器)。为此我们创建了图像,并为其分配和绑定内存。还创建了图像视图。之后将数据从临时缓冲区拷贝至图像,以对其内容进行初始化。我们还创建了采样器对象,以定义在着色器中读取图像数据的方法。

设备端 AVC 运动评估简介

下载示例

下载设备端 VME 示例代码 和高级示例。

运行指令详见 VME 示例用户指南。 请参阅 AVC 设备端 VME 手册。

请注意:本示例目前仅限在 Linux*、SRB4/Media Server Studio 2017 R2 及更高版本中运行,仅支持第六代智能英特尔® 酷睿™ 处理器及更新一代的处理器。

简介

本文介绍了面向 OpenCL* 的全新设备端 h.264/高级视频编码 (AVC) 运动评估扩展,...

Adaptive Screen Space Ambient Occlusion

发布时间:2016 年 11 月 9 日,更新时间: 2017 年 2 月 13 日作者:Filip Strugar (Intel)

This article introduces a new implementation of the effect called adaptive screen space ambient occlusion (ASSAO), which is specially designed to scale from low-power devices and scenarios up to high-end desktops at high resolutions, all under one implementation with a uniform look, settings, and...

Unreal Engine* 4: 制定布料模拟 CPU 优化蓝图

Realistic cloth movement can bring a great amount of visual immersion into a game. Using PhysX* Clothing* is one way to do this without the need of hand animating. Incorporating these simulations into Unreal Engine* 4 is easy, but as it is a taxing process on the CPU, it’s good to understand their...

Unreal Engine* 4: 设置 Destructive Mesh

The following is a quick guide on getting a PhysX* Destructible Mesh (DM) working setup in an Unreal Engine* 4 (UE4*) project. This guide is primarily based on personal trial and error; other methods may exist that work better for your project. See official documentation for tutorials on fracturing...

Intro to Device Side AVC Motion Estimation

This article introduces the new device-side h.264/Advanced Video Coding (AVC) motion estimation extensions for OpenCL* available for Intel Processor Graphics GPUs. Video motion estimation is a powerful feature which can enable new ways of thinking about many algorithms for video codecs and computer...

自适应屏幕空间环境光遮蔽

本文将介绍自适应屏幕空间环境光遮蔽 (ASSAO) 效果的最新实施方法,该技术经过精心设计,只需实施外观、设置和质量统一、符合行业标准的方法,就可从低能耗设备和场景扩展至高分辨率的高端台式机。

Unreal Engine* 4: Blueprint CPU Optimizations for Cloth Simulations

Realistic cloth movement can bring a great amount of visual immersion into a game. Using PhysX* Clothing* is one way to do this without the need of hand animating. Incorporating these simulations into Unreal Engine* 4 is easy, but as it is a taxing process on the CPU, it’s good to understand their...

Unreal Engine* 4: Setting Up Destructive Meshes

The following is a quick guide on getting a PhysX* Destructible Mesh (DM) working setup in an Unreal Engine* 4 (UE4*) project. This guide is primarily based on personal trial and error; other methods may exist that work better for your project. See official documentation for tutorials on fracturing...

高级渲染技巧和代码示例 GPU Pro 7

MSAA provides a neat way to reduce pixel shading without sacrificing image quality. Recently, researchers at Intel came up a with a technique called Coarse Pixel Shading that works like MSAA, Andrew Lauritzen at Intel, had come up with a clever way a few years ago to enable MSAA and deferred...

OpenGL* 性能提示: 原子计数器缓冲区与着色器存储缓冲区对象

Accompanying this article is a simple C++ application that alternates between SSBOs and ACBs. Game developers can see the effect of both methods on rendering performance (milliseconds per frame). While this article refers to graphical game developers, the concepts apply to all applications that use...

OpenGL* 性能提示:相比图像,纹理具有更出色的渲染性能

This article discusses why using a texture rather than an image can improve OpenGL rendering performance. It is accompanied by a simple C++ application that alternates between using a texture and using an image. The purpose of this application is to show the effect on rendering performance (...

OpenGL* Performance Tips: Textures Have Better Rendering Performance than Images

This article discusses why using a texture rather than an image can improve OpenGL rendering performance. It is accompanied by a simple C++ application that alternates between using a texture and using an image. The purpose of this application is to show the effect on rendering performance (...

没有任何秘密的 API:Vulkan* 简介第 0 部分:前言

Follow Pawel L. to learn about Intel's graphic driver support for the emerging Vulkan* graphics API. He'll be providing several tutorials along with Github source code.

没有任何秘密的 API: Vulkan* 简介第 4 部分

This tutorial presents how to add vertex attributes to a graphics pipeline and how to create vertex buffers and bind them during command buffer recording. It teaches how to create memory objects that backs buffer storage, and how map them to upload data from the CPU to the GPU. Here also dynamic...

API without Secrets: Introduction to Vulkan* Part 4: Vertex Attributes

Learn how to add vertex attributes to a graphics pipeline, create buffers, reorganize rendering code, and more in this Vulkan* tutorial.

OpenGL* Performance Tips: Atomic Counter Buffers versus Shader Storage Buffer Objects

Accompanying this article is a simple C++ application that alternates between SSBOs and ACBs. Game developers can see the effect of both methods on rendering performance (milliseconds per frame). While this article refers to graphical game developers, the concepts apply to all applications that use...

Advanced Rendering Techniques and Code Samples GPU Pro 7

MSAA provides a neat way to reduce pixel shading without sacrificing image quality. Recently, researchers at Intel came up a with a technique called Coarse Pixel Shading that works like MSAA, Andrew Lauritzen at Intel, had come up with a clever way a few years ago to enable MSAA and deferred...

Using Vulkan graphics API to Render a Cloud of Animated Particles in Stardust Application

The Stardust sample application uses the Vulkan graphics API to efficiently render a cloud of animated particles. To highlight Vulkan’s low CPU overhead and multithreading capabilities, particles are rendered using 200,000 draw calls. The demo is not using instancing; each draw call uses different...

使用 Vulkan 图形 API 在 Stardust 应用中渲染一团动画粒子

The Stardust sample application uses the Vulkan graphics API to efficiently render a cloud of animated particles. To highlight Vulkan’s low CPU overhead and multithreading capabilities, particles are rendered using 200,000 draw calls. The demo is not using instancing; each draw call uses different...

没有任何秘密的 API: Vulkan* 简介第 3 部分: 第一个三角形

This tutorial presents how to draw first triangle! At the beginning a render pass with one subpass is created. Next image views and framebuffers are created for each swap chain image. After that graphics pipeline creation is presented for which shader modules (with SPIR-V shaders) are required and...

API without Secrets: Introduction to Vulkan* Part 3: First Triangle

This tutorial presents how to draw first triangle! At the beginning a render pass with one subpass is created. Next image views and framebuffers are created for each swap chain image. After that graphics pipeline creation is presented for which shader modules (with SPIR-V shaders) are required and...

没有任何秘密的 API: Vulkan* 简介第 2 部分: 交换链

This part discusses swap chain creation. First a set of parameters describing presentation surface is acquired and then proper values for swap chain creation are chosen. Next way to create and record of command buffers is presented (focusing on image layout transitions through image memory barriers...

没有任何秘密的 API:Vulkan* 简介第 1 部分:序言

This tutorial explains how to start using Vulkan API in an application. It shows how to create Vulkan instance and check what physical devices are available. Next logical device is created along with description about what and how many queues must be created along it. Last thing is the acquisition...

API without Secrets: Introduction to Vulkan* Part 1: The Beginning

This tutorial explains how to start using Vulkan API in an application. It shows how to create Vulkan instance and check what physical devices are available. Next logical device is created along with description about what and how many queues must be created along it. Last thing is the acquisition...

API without Secrets: Introduction to Vulkan* Part 2: Swap Chain

This part discusses swap chain creation. First a set of parameters describing presentation surface is acquired and then proper values for swap chain creation are chosen. Next way to create and record of command buffers is presented (focusing on image layout transitions through image memory barriers...

API without Secrets: Introduction to Vulkan* Part 0: Preface

Follow Pawel L. to learn about Intel's graphic driver support for the emerging Vulkan* graphics API. He'll be providing several tutorials along with Github source code.

Example of marble surface generated with Perlin noise using OpenCl

 适用于 OpenCL 内核的并行噪声和随机函数

This article describes and links to the Noise code sample. The sample includes an implementation of Perlin noise, which is useful for generating natural-looking textures, such as marble and clouds, for 3D graphics. It also includes a set of pseudo-random number generator functions that are...

DirectX* 12 中的多适配器支持

发布时间:2016 年 2 月 28 日

This sample shows how to implement an explicit multi-adapter application using DirectX 12. Intel’s integrated GPU (iGPU) and a discrete NVIDIA GPU (dGPU) are used to share the workload of ray-tracing a scene. The parallel use of both GPUs allows for an increase in performance and for more complex...

小行星与 DirectX* 12:强大的性能与能耗优势

Initially shown at SIGGRAPH 2014, Intel's Asteroids code sample uses the Microsoft DirectX* 12 graphics API to render a scene of 50,000 fully dynamic and unique asteroids in two modes: maximum performance and maximum power saving. The application can switch between using the DirectX 11 and DirectX...

GPU Detect

发布时间:2015 年 9 月 21 日,更新时间: 2016 年 2 月 23 日

GPU Detect is a short graphics code sample demonstrates a way to detect the primary graphics hardware present in a system (including the 6th Generation Intel® Core™ processor family).

GPU Detect

发布时间:2016 年 2 月 23 日

GPU Detect is a short graphics code sample demonstrates a way to detect the primary graphics hardware present in a system (including the 6th Generation Intel® Core™ processor family).

Multi-Adapter Support in DirectX* 12

发布时间:2015 年 9 月 21 日,更新时间: 2016 年 2 月 23 日

This sample shows how to implement an explicit multi-adapter application using DirectX 12. Intel’s integrated GPU (iGPU) and a discrete NVIDIA GPU (dGPU) are used to share the workload of ray-tracing a scene. The parallel use of both GPUs allows for an increase in performance and for more complex...

Software Occlusion Culling Figure 1

Software Occlusion Culling

This article details an algorithm and associated sample code for software occlusion culling which is available for download. The technique divides scene objects into occluders and occludees and culls occludees based on a depth comparison with the occluders that are software rasterized to the depth...

DX12 flip model swap chains

Sample Application for Direct3D 12 Flip Model Swap Chains

D3D12 supports only flip model swap chains. This article helps you understand the parameters in a flip model swap chain, links to an application that lets you play with these parameters, and points you to the application's sample code.

DX12 flip model swap chains

Direct3D 12 翻转模型交换链示例应用

D3D12 supports only flip model swap chains. This article helps you understand the parameters in a flip model swap chain, links to an application that lets you play with these parameters, and points you to the application's sample code.

使用 OpenGL* ES 3.1 面向 Android* 的自适应体积阴影图

As a follow-up to Adaptive Volumetric Shadow Maps for DirectX* 11, we present a port of the same algorithm adapted for Android* devices that support OpenGL ES* 3.1 and the GL_INTEL_fragment_shader_ordering OpenGL* extension.

City Racer Icon

教程:使用英特尔® GPA 改进您的 Android* 游戏性能

下载代码样本

简介

本教程是关于对基于 Android* 的 OpenGL ES* 3.0 应用进行性能分析、瓶颈识别和渲染优化的分布指南。 示例应用 “City Racer” 将通过程式化城市设置模拟公路赛车。  我们通过英特尔® 图形性能分析器(英特尔® GPA)工具套件对应用进行性能分析。


城市与车辆组合而成的几何结构包含大约 23 万个多边形(69 万个顶点),各种材料映射于四周,而照明由单个无阴影平行光投射灯提供。 ...

Programmable Blend with Pixel Shader Ordering

发布时间:2013 年 3 月 27 日,更新时间: 2015 年 10 月 13 日作者:David Bookout (Intel)

This sample demonstrates how to use Pixel Shader Ordering to perform blending in a pixel shader without using fixed function blending.

Example of marble surface generated with Perlin noise using OpenCl

Parallel Noise and Random Functions for OpenCL™ Kernels

This article describes and links to the Noise code sample. The sample includes an implementation of Perlin noise, which is useful for generating natural-looking textures, such as marble and clouds, for 3D graphics. It also includes a set of pseudo-random number generator functions that are...

Asteroids and DirectX* 12: Performance and Power Savings

Initially shown at SIGGRAPH 2014, Intel's Asteroids code sample uses the Microsoft DirectX* 12 graphics API to render a scene of 50,000 fully dynamic and unique asteroids in two modes: maximum performance and maximum power saving. The application can switch between using the DirectX 11 and DirectX...

Fast ISPC Texture Compressor - Update

This code sample extends our state of the art BC7 Texture compressor with high-quality ETC1 and ASTC compression to the fast ISPC texture compression.

快速的 ISPC 纹理压缩工具 - 更新

该代码示例在一流的 BC7 纹理压缩工具中添加了高质量的 ETC1 和 ASTC 压缩,可实现快速的 ISPC 纹理压缩。

Squares – 10-point Touch Sample

发布时间:2014 年 10 月 27 日,更新时间: 2015 年 8 月 21 日作者:Mike Yi (Intel)

Download Squares Game Executable Download Sample Code

Squares is a 4-player game where players face off against each other to eliminate all the squares of their designated color as fast as possible. Everyone is timed, so players know who...

Adaptive Volumetric Shadow Maps for Android* Using OpenGL* ES 3.1

As a follow-up to Adaptive Volumetric Shadow Maps for DirectX* 11, we present a port of the same algorithm adapted for Android* devices that support OpenGL ES* 3.1 and the GL_INTEL_fragment_shader_ordering OpenGL* extension.

City Racer Icon

Tutorial: Using Intel® GPA to improve the performance of your Android* game

This tutorial presents a step-by-step guide to performance analysis, bottleneck identification, and rendering optimization of an OpenGL ES* 3.0 application on Android*. The sample application, entitled “City Racer,” simulates a road race through a stylized urban setting. Performance analysis of...

The Last Line Effect

I have studied numbers of errors caused by using the Copy-Paste method and can assure you that programmers most often tend to make mistakes in the last fragment of a homogeneous code block. I have never seen this phenomenon described in...

OpenCL 2.0 中的 GPU-Quicksort: 嵌套并行性和工作组扫描函数

发布时间:2014 年 9 月 29 日,更新时间: 2015 年 3 月 4 日作者:Robert I. (Intel)

简介 Quicksort 简史 GPU-Quicksort 简介 OpenCL 1.2 中的 GPU-Quicksort 将 GPU-Quicksort 转为 OpenCL 2.0 教程要求 运行教程 总结 参考资料 关于作者 下载代码 简介

本教程展示了如何使用 OpenCL™ 2.0 的两个强大特性: enqueue_kernel 函数,支持您排列设备中的 kernel;work_group_scan_exclusive_add 和...

Fast Fourier Transform for Image Processing in DirectX* 11

This sample demonstrates an optimized FFT that uses compute shaders and Shared Local Memory (SLM) to improve performance by reducing memory bandwidth.Two FFT techniques are discussed. The first is UAV and operates by ping-ponging data repeatedly between Unordered Access Views (UAVs). SLM (Shared...

HDR Rendering with God Rays Using OpenCL™ Technology

This sample demonstrates a CPU-optimized implementation of the God Rays effect, showing how to: Implement calculation kernels using the OpenCL™ technology C99 Parallelize the kernels by running several work-groups in parallel Organize data exchange between the host and the OpenCL device

HDR Tone Mapping for Post Processing Using OpenCL™ Technology

The Tone Mapping sample demonstrates how to use high dynamic range (HDR) rendering with tone mapping effect with OpenCL™ technology.

3D Fluid Simulation Using OpenCL™ Technology

The sample demonstrates shallow water solver implemented with the OpenCL™ technology. The Shallow Water sample relies on flux splitting method for solving the approximated Navier-Stokes equations.

Sharing Surfaces between OpenCL™ and OpenGL* 4.3 on Intel® Processor Graphics using implicit synchronization

Download Sharing Surfaces Code Sample Zipfile

Introduction

This example demonstrates the creation of a texture in OpenGL* 4.3 that has a sub-region updated by an OpenCL™ C kernel running on Intel® Processor Graphics with Microsoft...

XDK Game Support

Intel® XDK’s Initial Release of HTML5 Games Support and iOS* Debugging

 

HTML5 Games & Debugging

Season’s Greetings Everyone!  Just in time for the holiday season and all of the free time you may have in your holiday and New Year’s vacations, we’re giving you something to really play with – create and...

Sparse Procedural Volumetric Rendering Fire

Sparse Procedural Volumetric Rendering

Download Source Code ZIPfile

Sparse Procedural Volumetric Rendering (SPVR) is a technique for rendering real-time volumetric effects. We’re excited that the upcoming book “GPU Pro 6” will include an SPVR chapter. This document...

Guide Your Heterogenous Programming Decisions with Intel® Graphics Processor Performance Attributes in GPUInfo

Download Sample Code ZIPfile

About the Sample

The GPUInfo sample code associated with this paper demonstrates the use of Microsoft D3D9, DXGI and D3D11 APIs to obtain Intel-specific, performance-related...

Sierpiński Carpet in OpenCL* 2.0

We demonstrate how to create a Sierpinski Carpet in OpenCL* 2.0

wap_tms = {};

Prerequisites:

      A laptop or a workstation with the 5th Generation Intel® Core™ Processor

OpenCL™...

Efficient Order-Independent Transparency on Android* Using Fragment Shader Ordering

Download Sample Code ZIPfile

Introduction

This sample demonstrates the use of the extension GL_INTEL_fragment_shader_ordering, which is written against the OpenGL* 4.4 core profile and GLES 3.1 specifications. The minimum OpenGL version...

Fluid Simulation for Video Games (part 3)

Simulation of fluids in games has been limited due to the computational challenges. This article describes numerical techniques used to compute approximate solutions to fluid motion.

Cloud Rendering Sample Updated

An update to the cloud rendering samples with several improvements.

Clustered Shading Screenshot

Forward Clustered Shading



This sample demonstrates Forward Clustered Shading, a recently proposed light culling method that allows the convenience of forward rendering, requires a single geometry pass, and efficiently handles high light counts. Special care has...

Clustered Shading Android* Sample

Provides instructions and samples for clustered shading in Android*.

An investigation of fast real-time GPU-based image blur algorithms

Explains blur filters, how to apply for different hardware types, and other optimizations.

Deferred Rendering for OpenGL* ES3.0 on Android*

This article outlines how you can efficiently implement rendering techniques on mobile devices using OpenGL* ES such as: forward rendering, deferred lighting (light pre-pass) and deferred shading.

Tessellation for OpenGL ES 3.1 on Android

This article explains tessellation, how to enable and make best use of this technique within OpenGL graphics.

Fragment Shader Ordering with OpenGL 4.2

This Windows OpenGL 4.2 Sample was written by John Hartwig - Software Engineer at Intel Corporation.

Introduction

Fragment Shader Ordering is a graphics extension that Intel has implemented for OpenGL 4.2 to be used with 4th Generation...

Android* Texture Compression - a comparison study with code sample

This sample demonstrates how to load and use various texture formats with OpenGL ES* on Android.

OpenGL* ES 3.0 Precompiled Shaders

Another great Android OpenGL ES 3.0 sample from Cristiano Ferreira - Graphics Software Engineer with Intel Corporation.

Programmatically compiling all shaders the first time an application is run and saving the binaries for reuse can...

Instanced Objects arranged all in a circle

OpenGL* ES 3.0 Instanced Rendering

This Android OpenGL ES 3.0 Sample was written by Cristiano Ferreira - Software Engineer at Intel Corporation.

By batch-rendering multiple versions of the same mesh, instanced rendering can help developers using OpenGL* ES 3.0 and later...

Cloud Rendering Sample

Using Pixel Shader Ordering a, DirectX extension, Cloud Rendering is vastly improved with better outdoor lighting technology.

Conservative Morphological Anti-Aliasing (CMAA) - March 2014 Update

This article was taken from a blog posting on IDZ by Leigh Davies at Intel Corp, highlighting work and results completed by Leigh and his colleague Filip Strugar in the new AA technique being referred to as Conservative Morphological Anti-...

保守形态抗锯齿 (CMAA) - 2014 年 3 月更新

本文摘自英特尔公司的 Leigh Davies 在 IDZ 发表的一篇博文,重点介绍了 Leigh 及其同事 Filip Strugar 被称为保守形态抗锯齿的全新抗锯齿技术工作成果。 以下为博文内容以及可供您检查的项目 

本例演示了一项被称为保守形态抗锯齿的基于图像的全新抗锯齿技术,可在此处下载。 该技术最初由英特尔的 Filip Strugar 发用于 Codemasters® 的 GRID2,是一款针对传统多样抗锯齿 (MSAA) 的高性能替代方案,...

需要编写支持英特尔 x86 的 Android* 游戏应用? 此处的样本可为您提供帮助!

随着越来越多搭载 Intel Inside ® 的智能手机在全球范围内普及以及英特尔安卓系统映像(Ginger Bread、ICS 以及 Jelly Bean 4.1 和 4.2)成为 Google Android SDK 中的组件,现在我们应该确保应用能够在 ARM 和 x86 Android 两种设备上运行。 您可能获得了一个绝佳的 Android 游戏创意。 或者您可能希望为英特尔® 架构 (IA) 设备开发一款 Android 游戏应用,抑或者您可能希望移植现有应用,...

借助 OpenGL* ES 2.0 实现动态分辨率渲染

下载

借助 OpenGL* ES 2.0 实现动态分辨率渲染 [PDF 677KB]
代码样本: dynamic-resolution.zip [ZIP 4MB]

像素处理成本昂贵

当在游戏和显卡工作负载上执行性能分析时,似乎处理片段或(像素)着色器是主要的性能瓶颈。 当然这也在情理之中,因为照明计算、纹理采样和后期处理效果等计算均在片段着色器中执行。...

Shadow Mapping Algorithm for Android*

Downloads

 

Shadow Mapping Algorithm for Android* [PDF 440KB]

 

"There is no light without shadows" - Japanese proverb

Because shadows in games make them more realistic and interesting, including...

Power Explorer

Today any review of a new processor whether it’s used in a desktop computer, a laptop, a tablet or a phone will contain lots of information about how efficient it is and the new technologies that have been used to achieve this performance. Operating system developers spend large amounts of time...

Outdoor Light Scattering Sample Update

Documents release updates that implements multiple scattering of sun light, faster rendering of light shafts, improved shaders and better tone mapping.

Software Occlusion Culling Update 2

Updates to Software Occlusion Culling with rasterizer optimizations to help improve frame rate and total cull time.

HTML5 Canvas - Tap & Rotate Player with Arctangent

Great code sample showing how to set up move, aim and shoot for a given player on screen.

HTML5 经典小游戏之坦克

发布时间:2013 年 8 月 18 日作者:郭晓湉

粉色坦克为敌人的坦克,橘色坦克为我方坦克

画布上的点点是子弹,目前还没有实现发子弹消灭敌方坦克并消失

明天会更新并且完善

坦克的组成是由三个矩形中间矩形上面是一个圆形,圆形上是一个直线

 

根据不同的方向生成不同的子弹:

(1)根据方向----生成不同的子弹对象

(2)再根据子弹坦克炮筒方向,画出子弹

 

废话不多说 上源码...

HTML5 经典小游戏之坦克(二)

发布时间:2013 年 8 月 18 日作者:郭晓湉

上次写到坦克只能发出子弹

今天让坦克连续发射子弹 并击中敌人的坦克

那么问题来了?如何让子弹飞起来呢?

思路:

1.动起来 --- 必然会用到定时器

2.在那用?按空格发子弹后

3.子弹动起来的思路:按钮的时候,先每隔50毫秒改变子弹的参考点的坐标,再刷新画布,每隔100毫秒再刷新一下画布,显示新位置的子弹

4.当子弹碰到画布边界的时候,让子弹停止

 ...

Virtual Trackpad

How to implement an on screen virtual track pad for control of UI segments in a game.

Outdoor Light Scattering Sample

How to implement high-quality light scattering effects into large outdoor environments in real time.

页面