Code



Code Samples

Find code samples to speed up your game development using multicore and parallel programming techniques

Smoke Smoke (Multicore DX9): The goal of this demo is to show that by utilizing all cores on a Nehalem a developer can boost their game's performance. Destroy the Castle Destroy the Castle (Multicore DX9): This demo shows a highly interactive scene while showcasing methods for threading physics, AI, and particles.
Pet Me Pet Me (Multicore OpenGL): builds on the idea of a non-combat pet. This enhances the pet to use CPU intensive cloth-simulation and a higher end CPU customer (4 core) would be able to have this pet vs lower end (2 core) would not. Grass Grass (Integrated Graphics DX10): Due to its geometric complexity, rendering grass in realtime is hard. This sample shows how to render realistic looking grass using the instancing APIs in DirectX10.
Kaboom Kaboom (Multicore DX10): Demonstrates a real-time, CPU based approach to volumetric fluid simulation. The result is a stand-alone simulator that can be used within any existing framework. OceanFog OceanFog (Integrated Graphics DX9): Demonstrates a method of generating fog using Perlin noise.


White papers with Code Samples

Optimizing Game Architectures with Intel® Threading Building Blocks

Maximizing Performance with Fine-Grained Parallelism

Tips For Developers: The Deadly Light

Using SSE3 Technology in Algorithms with Complex Arithmetic

Smoke - Game Technology Demo Download

Open Source Game Development

Video Frame Display Synchronization

Creating A Custom Appwizard for 3D Development

Continuous Levels of Detail: Using MRM and SDS To Achieve High-Quality Graphics in a Fraction of the Time

High Dynamic Range Environment Mapping On Mainstream Graphics Hardware

Transcoding and Codec Optimization: Tips & Tricks

Z Fighting Code Sample

Carry Small, Game Large

Architecture of a Real-Time Ray-Tracer

Multithreaded Game Programming and Hyper-Threading Technology

How to Manipulate Data Structure to Optimize Memory Use on 32-Bit Intel® Architecture

How to Implement the Intel® GPP Vector Module

Understanding Memory Access Characteristics of Motion Estimation Algorithms

How to Get Faster Video Rendering on the Intel® Pentium® 4 Processor

Reducing the Impact of Misaligned Memory Accesses

Getting the Most out of Intel® Extreme Graphics Sample Code

Threaded Cross-Platform Game Development

Code Demo: Destroy the Castle