PDA

View Full Version : How can I apply Texture without UV Coords



PopomCorporation
03-14-2003, 02:26 PM
Hello !

I am loading lightwav objet in my program, but I don't know how can I apply my texture because there is not UV coord !
(i know juste if my texture is Cubic, Planar, Spherical ...)

Does someone know something about it ?
Thanks !
bye
Popom

jra101
03-14-2003, 02:58 PM
You can use the automatic texture coordinate generation in OpenGL.

glTexGen
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/glfunc03_73u6.asp