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.42)

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
 
Terrain Demo on Radeon®


Figure 1 - Landscape shot from the terrain demo
 
The RadeonTerrainDemo sample is designed to be a polygon pump. The goal of the app is to push as many polygons as possible at the driver. In order to acheive this goal, all polygons are preclassified by a "material type". The "material" is actually all relavent rendering state such as which texture is applied to the poly. This allows the app to only use each distinct rendering state at most once per frame.

In order to calculate the potentially viewable set of polygons each frame, the program uses an octree culling algorithm. The polygons are all presorted into an octree. Each frame, the app calculates the planes defining the view frustum. The app next descends the tree, culling octrants that fail the planar half-space culling. Once the algorthm reaches a node, it places pointers to the lists of polygons into queues based on the render states they require.
 
RadeonTerrainDemo Command Line Switches
  • 640x480,
  • 800x600,
  • 1024x768,
  • 1280x1024,
  • 1600x1200 - Change screen resolution (640x480 is a default)
  • notnl - Disable TnL renderer
 
RadeonTerrainDemo Controls
  • [ESC] - Quit
Downloads
 
Note: The source code and media should be unzipped into the following recommended directory structure to ensure you can easily compile and run the executable.

Radeonxxxxxx.zip -> x:\atiddk\Direct3D\Radeonxxxxxx
media.zip -> x:\atiddk\media

RadeonTerrainDemo.zip

media.zip


Back to Samples Page
 
 
 


 



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