PDA

View Full Version : automate texture - coordonate generation ??



bunny-3110
08-17-2004, 12:27 AM
Hye,
how do I use the autoamte texture ?
I have an object but I can't use the glTexCoord
Please Simple examples preferred with some doc. if possible.
tks

dorbie
08-17-2004, 10:36 AM
Use glTexGen, here is some sample code:

http://www.sgi.com/software/opengl/advanced97/programs/texgen.c