--- ray/doc/man/man1/obj2mesh.1 2007/07/12 14:58:52 1.9 +++ ray/doc/man/man1/obj2mesh.1 2014/01/24 01:26:44 1.12 @@ -1,4 +1,4 @@ -.\" RCSid "$Id: obj2mesh.1,v 1.9 2007/07/12 14:58:52 greg Exp $" +.\" RCSid "$Id: obj2mesh.1,v 1.12 2014/01/24 01:26:44 greg Exp $" .TH OBJ2MESH 1 03/11/03 RADIANCE .SH NAME obj2mesh - create a compiled RADIANCE mesh file from Wavefront .OBJ input @@ -136,14 +136,11 @@ where the first vertex position ( statement) is numbered 1, and likewise for the first texture coordinate and the first surface normal. Negative indices count backward from the current position in -the input, where -1 is the last vertex encountered, -2 +the input, where \-1 is the last vertex encountered, \-2 is the one before that, etc. An index of 0 may be used for the vertex texture or normal to indicate none, or these may be left off entirely. All faces will be broken into triangles in the final mesh. -.I Obj2mesh -currently makes an unsafe assumption that faces are convex, -which may result in odd results if they are not. .PP All other statement types will be ignored on the input. Statements understood by @@ -184,13 +181,13 @@ little hope of compiling this mesh. To create a compiled triangle mesh from the scene file mesh.obj using materials from the file mesh.mat: .IP "" .2i -obj2mesh -a mesh.mat mesh.obj mesh.rtm +obj2mesh \-a mesh.mat mesh.obj mesh.rtm .PP To use local coordinates to place a square tiled image on a mesh object: .sp .nf void colorpict tiled_pat -7 red green blue mytile.pic . frac(Lu) frac(Lv) +7 red green blue mytile.hdr . frac(Lu) frac(Lv) 0 0