PDA

View Full Version : Cube Mapping



phlake
04-14-2002, 07:39 AM
i'm looking for some brief cube mapping code. i've been digging around nvidia's site and finding examples that are a little too large; i'd like to find a single-file, couple hundred lines example if such a thing exists.

any links much appreciated.

knackered
04-14-2002, 08:00 AM
Have a read of this:- http://developer.nvidia.com/view.asp?IO=IO_20010830_4778

Look down towards the middle of the document to find the opengl commands to create and enable a cube map.

phlake
04-14-2002, 08:25 AM
ah! perfect. thanks!


Originally posted by knackered:
Have a read of this:- http://developer.nvidia.com/view.asp?IO=IO_20010830_4778

Look down towards the middle of the document to find the opengl commands to create and enable a cube map.

JasonM [ATI]
04-14-2002, 09:33 PM
We have a couple of simple sample apps which use ARB_texture_cube_map (http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/Extensions/ARB_texture_cube_map.html) .

-JasonM