136 |
|
statement) is numbered 1, and likewise |
137 |
|
for the first texture coordinate and the first surface normal. |
138 |
|
Negative indices count backward from the current position in |
139 |
< |
the input, where -1 is the last vertex encountered, -2 |
139 |
> |
the input, where \-1 is the last vertex encountered, \-2 |
140 |
|
is the one before that, etc. |
141 |
|
An index of 0 may be used for the vertex texture or normal to |
142 |
|
indicate none, or these may be left off entirely. |
184 |
|
To create a compiled triangle mesh from the scene file mesh.obj |
185 |
|
using materials from the file mesh.mat: |
186 |
|
.IP "" .2i |
187 |
< |
obj2mesh -a mesh.mat mesh.obj mesh.rtm |
187 |
> |
obj2mesh \-a mesh.mat mesh.obj mesh.rtm |
188 |
|
.PP |
189 |
|
To use local coordinates to place a square tiled image on a mesh object: |
190 |
|
.sp |