Cube Mapping

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.

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.

ah! perfect. thanks!

Originally posted by knackered:
[b]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.[/b]

We have a couple of simple sample apps which use ARB_texture_cube_map .

-JasonM