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
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
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