u,v in 3ds file ???
HI
I''m tryng to make a 3ds file loader.
Can anyone explain to me, how the u,v coords work?
I know it has something to do with the texture mapping coordinates, but i don''t understand... sohouldn''t be 4 coords?
There is also a translation and a rotation matrix for each object.. should i apply this transformations when i render the final object to the screen?
thanks
Bruno
Well from what I understand u,v coordinates are coordinates on the texture you would use. You take these coords and supply this 2d coordinate after or before you specify the vertex the coincides with it. It may be totally different but maybe this idea will help. Look at the glTexCoord2f(); command.
DuhMe
I''m an idiot so you don''t have to be.
DuhMe
I''m an idiot so you don''t have to be.
DuhMeI''m an idiot so you don''t have to be.
Take a look at:
http://home.clara.net/paulyg/uv.htm
Give me a shout, tell me if it helps you any.
Paul Groves.
http://home.clara.net/paulyg/ogl.htm
OpenGL for Beginners
http://home.clara.net/paulyg/uv.htm
Give me a shout, tell me if it helps you any.
Paul Groves.
http://home.clara.net/paulyg/ogl.htm
OpenGL for Beginners
Paul Grovespauls opengl page
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement