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.3 by greg, Fri Mar 14 21:27:45 2003 UTC vs.
Revision 1.8 by greg, Fri Apr 23 00:56:27 2004 UTC

# Line 1 | Line 1
1 < .\" RCSid "$Id"
1 > .\" RCSid "$Id$"
2   .TH OBJ2MESH 1 03/11/03 RADIANCE
3   .SH NAME
4   obj2mesh - create a compiled RADIANCE mesh file from Wavefront .OBJ input
5   .SH SYNOPSIS
6   .B obj2mesh
7   [
8 < .B "\-a matinput"
8 > .B "\-a matfile"
9   ][
10 + .B "\-l matlib"
11 + ][
12   .B "\-n objlim"
13   ][
14   .B "\-r maxres"
# Line 30 | Line 32 | which is sent to
32   Any RADIANCE material descriptions included via one or more
33   .I \-a
34   options will be compiled and stored in the mesh as well.
35 + If the
36 + .I \-l
37 + option is used to specify a material file, the RADIANCE library
38 + locations are searched.
39   This mesh may be included in a RADIANCE scene description via the
40   .I mesh
41   primitive, thus:
# Line 96 | Line 102 | direction components, which will be normalized by
102   .I obj2mesh.
103   Normals will be interpolated over the mesh
104   during rendering to produce a smooth surface.
105 < If no vertex normals are present, the mess will appear tesselated.
105 > If no vertex normals are present, the mesh will appear tesselated.
106   A zero length normal (i.e., 0 0 0) will generate a syntax error.
107   .TP
108   .BI vt " u v"
# Line 176 | Line 182 | those causing the problem.
182   .IP "Hash table overflow in fullnode"
183   This error is caused by too many surfaces, and there is
184   little hope of compiling this mesh.
185 < .SH EXAMPLE
186 < To create a compiled triangle mesh from the scene file mesh.obj:
185 > .SH EXAMPLES
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 < oconv 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)
196 > 0
197 > 0
198 >
199 > tiled_pat plastic tiled_mat
200 > 0
201 > 0
202 > 5 .9 .9 .9 0 0
203 >
204 > tiled_mat mesh tiled_mesh
205 > 1 mymesh.rtm
206 > 0
207 > 0
208 > .fi
209 > .SH ENVIRONMENT
210 > RAYPATH         the directories to search for material files.
211   .SH AUTHOR
212   Greg Ward
213   .SH "SEE ALSO"
214   gensurf(1), getinfo(1), make(1), obj2rad(1),
215 < oconv(1), rpict(1), rview(1), rtrace(1), xform(1)
215 > oconv(1), rpict(1), rvu(1), rtrace(1), xform(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines