From: Matthew Hesher (hesher++at++cs.fsu.edu)
Date: 09/12/2000 09:06:48
pfUsers,
First let me apoligize for posting this non-performer question. However it
could be of considerable use to anyone wishing to write a plugin to read
OBJ files into a performer application. I'm writting a program to read OBJ
files into an OpenGL display list and I desperately need help determining the
relationship of the texture coordinates in the OBJ file (vt) to the texture.
OBJ texture coordinates do not seem to be limited on 0 to 1 like OpenGL
texture coordinates are. I need to normalize these OBJ texture coordinates
on 0 to 1 so that I can use them in OpenGL. The texture I'm using is larger
than the geometry I'm placing it on. Therefore I need to be able to align
certain parts of the texture to certain parts of the geometry (this is also
why I don't know the maximum texture coordinate value possible in my OBJ file.)
Thanks for any help or pointers to useful information.
Curt
hesher++at++cs.fsu.edu
This archive was generated by hypermail 2b29 : Tue Sep 12 2000 - 09:08:02 PDT