ATI SDK

ATI Product Information

Support for Alternate OS's

Hardware partners

Software partners

RenderMonkey

Drivers


 
 

Highlights


GPU MeshMapper (V1.0)

GPU PerfStudio (V1.2)

Samples: CrossFire Detect (update)

Samples: PostTonemapResolve

The Compressonator (version 1.41)

GPU Shader Analyzer (V1.4)

RenderMonkey™
(version 1.81) (New)


ATI Compress (version 1.6)

AMD Tootle 2.0 (New)

AMD OpenGL ES 2.0 Emulator (V1.1) (New)

HLSL2GLSL (V0.9)

AMD at GDC 2007

ATI SDK


 
 
ATI Developer - Source Code
 
QuantizedVertexNormals
 

Figure 1 - Quantized vertex normals shown as colors

This sample application demonstrates the use of the two new 3-tuple stream types, UDEC3 and DEC3N, which can be used to store normals or other 3-tuples in a quantized form.  Normals, tangents, binormals and other 3-tuple vertex components can often be specified at reduced precision without introducing noticeable artifacts, reducing the amount of memory and memory bandwidth they consume.  This application creates three sphere meshes, one with UDEC3 normals, one with DEC3N normals and one with traditional FLOAT3 normals.

Developers should take note of the PACK_UDEC3() and PACK_DEC3N() packing routines in the sample application as well as the corresponding "unpacking" instruction which must be executed inside the SimpleUDEC3.vsh shader to put the normal vectors into the intended -1 to +1 range.

 
QuantizedVertexNormals Controls
  • Up/Down Arrows - Cycle between normal formats
  • [SPACE] - Pause rotation
  • [ENTER] - Restart rotation
  • Mouse - Rotate/Zoom/Translate object
  • Alt+[ENTER] - Toggles between fullscreen and windowed modes
  • [ESC] - Quit
 
Requirements

Download
 
 


 



©2008 Advanced Micro Devices, Inc.    |    Contact AMD    |    Terms and Conditions    |    Privacy    |    Trademark information    |    Site Map