elenorcoli opened this issue on Jul 20, 2006 · 5 posts
Stegy posted Thu, 20 July 2006 at 4:55 PM
I believe the vt, vn, & f lines have to do with uv mapping.
Example: a very simple plane before taking into a UV Mapping program:
g plane
v 0 0 0
v 10 0 0
v 0 10 0
v 10 10 0
vt 0 0
vt 1 0
vt 0 1
vt 1 1
vn 0 0 1
vn 0 0 1
vn 0 0 1
vn 0 0 1
f 1/1/1 2/2/2 4/4/4 3/3/3
After UV-mapping and changing it to a spherical mapping:
v 0.00000000 0.00000000 0.00000000
v 10.00000000 0.00000000 0.00000000
v 0.00000000 10.00000000 0.00000000
v 10.00000000 10.00000000 0.00000000
vt 0.02500000 0.02500000
vt 0.97500002 0.02500000
vt 0.97500002 0.97500002
vt 0.02500000 0.97500002
vn 0.00000000 0.00000000 1.00000000
vn 0.00000000 0.00000000 1.00000000
vn 0.00000000 0.00000000 1.00000000
vn 0.00000000 0.00000000 1.00000000
g plane
f 1/1/1 2/2/2 4/3/4 3/4/3