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
 
Cartoon Rendering on the Radeon®

The RadeonCartoon demonstrates two different techniques for rendering cartoon like objects from 3D models. The first technique uses a spheremap shown in figure 1. Using this sphere map areas with sharp curvature are colored using the edges of the sphere map giving a black line in those areas. The results of this techinque are shown in figure 2.
 
Figure 1 - Spheremap used
 
Figure 2 - Results using spheremap
 
The second technique uses ARB_texture_cube_map to give a more brushed looking effect. The X and Y sides of the cubemap look similar to figure 3 the near Z cubeface is white and the far Z cubeface is black. The results are show in figure 4
 
Click to enlarge
Figure 3 - X and Y cubefaces
 

Figure 4 - Results using cubemap
 
RadeonCartoon Controls
  • W - Toggle Wireframe overlay
  • C - Toggle between cubemap and spheremap techinques
  • V - Toggle display of surface normals
  • O - Cycle through the objects.
  • [LEFT MOUSE] + Mouse - Rotate Object
  • [RIGHT MOUSE] + Mouse - Zoom Object
  • [LEFT MOUSE] + [RIGHT MOUSE]+ Mouse - Pan Object
  • [SPACE] - Stop/start object motion
  • [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\OpenGL
media.zip -> x:\atiddk\media

RadeonCartoon.zip

media.zip


Back to Samples Page
 
 
 


 



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