what key word ?
it’s to use in an opengl program then.
Originally posted by airseb:
what key word ?
it’s to use in an opengl program then.
hi,
the tokens i use are:
*MESH_NUMTVERTEX // number of Texture coords
*MESH_TVERT // the texture coord
ase files are text files so u can open the with notepad and read them.
Originally posted by FredFlint:
[b] hi,
the tokens i use are:
*MESH_NUMTVERTEX // number of Texture coords
*MESH_TVERT // the texture coord
ase files are text files so u can open the with notepad and read them.[/b]
thanks !
but i have a problem :
with *MESH_TVERT, there are 3 coordinates of texture but the last is always at 0.0, have i to ignore this coordinate ?
and i have another question :
what is *MESH_TFACE ? what is the difference with *MESH_FACE ?
thanks.
[This message has been edited by airseb (edited 04-27-2003).]
MESH face and mesh vertex store the (x,y,x) coordinates of your geometry
tface and tvertex store the homogeneous coordinates (UV) of your model for texture mapping
hope this helps
[This message has been edited by raverbach (edited 04-29-2003).]
Originally posted by raverbach:
[b]MESH face and mesh vertex store the (x,y,x) coordinates of your geometry
tface and tvertex store the homogeneous coordinates (UV) of your model for texture mapping
hope this helps
[This message has been edited by raverbach (edited 04-29-2003).][/b]
sorry, i haven’t understood what was tface ?
and what is UV exactly ?
thanks !