PDA

View Full Version : Procedural mapping on a sphere...



mountainoflight
11-12-2008, 11:16 AM
Hi. I have the OpenGL Superbible and wanted to see how procedural mapping of a sphere looks. I've adapted the .vs and .fs files (as for the diagram on p.593) for my own needs, but don't know how to actually code the sphere using c++ (with arrow control over orientation and reflective effect).

Can someone help?

Thanks,
Bob

IneQuation.pl
11-12-2008, 02:18 PM
Google up GLUT.