ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/obj2mesh.1
(Generate patch)

Comparing ray/doc/man/man1/obj2mesh.1 (file contents):
Revision 1.9 by greg, Thu Jul 12 14:58:52 2007 UTC vs.
Revision 1.13 by greg, Fri Mar 3 01:25:27 2017 UTC

# Line 14 | Line 14 | obj2mesh - create a compiled RADIANCE mesh file from W
14   .B "\-r maxres"
15   ][
16   .B \-w
17 + ][
18 + .B \-v
19   ]
20   [
21   .B "input.obj"
# Line 78 | Line 80 | The default is 16384.
80   The
81   .I \-w
82   option suppresses warnings.
83 + The
84 + .I \-v
85 + option prints out final mesh statistics.
86   .PP
87   Although the mesh file format is binary, it is meant to be portable
88   between machines.
# Line 136 | Line 141 | where the first vertex position (
141   statement) is numbered 1, and likewise
142   for the first texture coordinate and the first surface normal.
143   Negative indices count backward from the current position in
144 < the input, where -1 is the last vertex encountered, -2
144 > the input, where \-1 is the last vertex encountered, \-2
145   is the one before that, etc.
146   An index of 0 may be used for the vertex texture or normal to
147   indicate none, or these may be left off entirely.
148   All faces will be broken into triangles in the final mesh.
144 .I Obj2mesh
145 currently makes an unsafe assumption that faces are convex,
146 which may result in odd results if they are not.
149   .PP
150   All other statement types will be ignored on the input.
151   Statements understood by
# Line 184 | Line 186 | little hope of compiling this mesh.
186   To create a compiled triangle mesh from the scene file mesh.obj
187   using materials from the file mesh.mat:
188   .IP "" .2i
189 < obj2mesh -a mesh.mat mesh.obj mesh.rtm
189 > obj2mesh \-a mesh.mat mesh.obj mesh.rtm
190   .PP
191   To use local coordinates to place a square tiled image on a mesh object:
192   .sp
193   .nf
194   void colorpict tiled_pat
195 < 7 red green blue mytile.pic . frac(Lu) frac(Lv)
195 > 7 red green blue mytile.hdr . frac(Lu) frac(Lv)
196   0
197   0
198  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines