NVIDIA Developer Zone

NVIDIA Graphics SDK 11 Direct3D

In each release of our SDK you will find numerous code samples, complete with carefully commented source code, whitepapers, and videos to help you take advantage of the latest technology from NVIDIA.

This code is released free of charge for use in derivative works, whether academic, commercial, or personal (Full License).

The DirectX SDK (June 2010) is required to compile some code samples. Please obtain the DirectX SDK from Microsoft.

3D Vision Sample

StereoIssues demonstrates the two most common issues seen when using 3D Vision Automatic, and how to fix them using multiple techniques.

Minimum Required GPU

Graphics API Type

Whitepaper
Download

Image-Based Anti-Aliasing

FXAA sample provides an optimized high quality technique for applying anti-aliasing as a post process in a pixel shader.

Minimum Required GPU

Graphics API Type

Whitepaper
Download

TerrainTessellation

This sample shows how DirectX 11 hardware tessellation can be used to implement a highly-efficient terrain engine that supports high geometric detail.

Minimum Required GPU

Graphics API Type

Whitepaper
Download

Stochastic Transparency

This SDK sample implements the full Stochastic Transparency algorithm from [Enderton et al. 2010] with 8xMSAA, as well as Dual Depth Peeling [Bavoil and Myers 2008] for comparing quality and performance.

Minimum Required GPU

Graphics API Type

Video
Whitepaper
Download

Horizon-Based Ambient Occlusion using Compute Shaders

This DirectX 11 SDK sample renders Screen-Space Ambient Occlusion (SSAO) using Horizon-Based Ambient Occlusion (HBAO). The AO and blur passes are implemented in compute shaders taking advantage of group-shared memory.

Minimum Required GPU

Graphics API Type

Video
Whitepaper
Download

Tessellation Pattern Viewer

This sample shows how quad- and triangle-shaped patches are converted into triangles for arbitrary tessellation factors.

Minimum Required GPU

Graphics API Type

Download

PN-Patches

This sample shows how to render displaced geometry with PN-Patches (PN-Triangles and PN-Quads) tessellation.

Minimum Required GPU

Graphics API Type

Whitepaper
Download

Opacity Mapping

This sample application demonstrates efficient rendering of dense self-shadowed particle plumes illuminated by multiple light sources, using DirectX 11 tessellation and mixed resolution rendering.

Minimum Required GPU

Graphics API Type

Whitepaper
Download

FFT Ocean

The sample uses compute shader to implement Jerry Tessendorf's statistic model of ocean surface, which requires to perform a large set of FFT at the runtime. In addition, perlin noise is used for eliminating the tiling artifact at distance.

Minimum Required GPU

Graphics API Type

Whitepaper
Download

N-Body Interaction

This sample demonstrates efficient all-pairs simulation of a gravitational n-body simulation in DirectX 11, using DirectCompute

Minimum Required GPU

Graphics API Type

Download

Multi-View Soft Shadows

Multi-View Soft Shadows (MVSS) is a contact-hardening soft shadow rendering technique based on averaging hard shadows from multiple point lights. The Knight model used in this project has kindly been provided by animedia PM at Turbo Squid and can be found here.

Minimum Required GPU

Graphics API Type

Video
Whitepaper
Download

Hair

Using new DirectX 11 features like tessellation and compute shaders, this sample simulates and renders physically realistic hair in real-time.

Minimum Required GPU

Graphics API Type

Whitepaper
Download

Gregory ACC

This sample shows how to render displaced approximating Catmull-Clark subdivision surfaces using gregory patches

Minimum Required GPU

Graphics API Type

Whitepaper
Download

Diffuse Global Illumination

This code sample shows a method of rendering dynamic scenes with diffuse intereflections in real time. The code is an implementation of the method introduced by Kaplanyan. For more information please refer to: Cascaded light propagation volumes for real-time indirect illumination [Kaplanyan and Dachsbacher 2010]

Minimum Required GPU

Graphics API Type

Download

Constant Time Gaussian Blur

This sample implements the Gaussian blur using repeated box filter, which has the main advantage of the execution time being invariant for any filter width. Compute shaders and group shared memory are used to perform per row and per column scan operations in this method.

Minimum Required GPU

Graphics API Type

Download

Island

This sample uses DirectX 11's tessellation stage to render detailed geometry for both terrain and water.

Minimum Required GPU

Graphics API Type



Download


 

 

by colneilens
postd on May 09 2012 at 02:45PM

Is there a DX11 equivalent of this sample?
Thanks,
Colin Neilens

by Niki Hartmann
postd on Jan 03 2012 at 10:31PM

FFT Ocean: Clearly the skybox is not the primary feature of the FFT Ocean sample, but here's a bug report anyway.
Start app and hold W. You will see that the skybox is slowly zooming in. It is a very subtle effect in this sample, because of the slow camera speed. With a much faster camera speed the zooming will be stronger and eventually cause the skybox to distort badly.
The problem is in main.cpp, where the combined view-projection matrix is passed on to the skybox renderer. The view matrix that is used here contains the camera position, and that is causing the effect. Setting the translational components of the view matrix to 0 solves the problem for me.

by Anny
postd on May 17 2011 at 10:04PM
Island11.zip is corrupted so does DiffuseGlobalIllumination.zip.It's been a while but still no fixes.
by Asesh
postd on May 02 2011 at 07:22PM
Island11.zip is corrupted and it won't extract so please fix it and thanks a lot for these awesome samples.