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.2 by greg, Wed Mar 12 17:26:58 2003 UTC vs.
Revision 1.6 by greg, Thu Jan 1 19:31:45 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"
9 + ][
10   .B "\-n objlim"
11   ][
12   .B "\-r maxres"
# Line 25 | Line 27 | reads a Wavefront .OBJ file from
27   which is sent to
28   .I output.rtm
29   (or standard output).
30 + Any RADIANCE material descriptions included via one or more
31 + .I \-a
32 + options will be compiled and stored in the mesh as well.
33   This mesh may be included in a RADIANCE scene description via the
34   .I mesh
35   primitive, thus:
# Line 39 | Line 44 | mod mesh id
44   .PP
45   The syntax and semantics are identical to the RADIANCE
46   .I instance
47 < primitive, except that the mesh modifier may not be "void", since
48 < materials are not included in a compiled mesh file.
47 > primitive.
48 > If
49 > .I mod
50 > is "void", then the stored mesh materials will be applied during rendering.
51 > Otherwise, the given material will be substituted on
52 > all the mesh surfaces.
53   .PP
54   The
55   .I \-n
# Line 96 | Line 105 | These coordinates will be interpolated and passed
105   to the "Lu" and "Lv" variables during rendering.
106   Local coordinates can extend over any desired range of values.
107   .TP
108 + .BI usemtl " mname"
109 + A material name.
110 + The following faces will use the named material, which is
111 + taken from the material definitions in the
112 + .I \-a
113 + input file(s).
114 + .TP
115 + .BI g " gname"
116 + Group association.
117 + The following faces are associated with the named group.
118 + If no "usemtl" statement has been
119 + encountered, the current group is used for the surface material
120 + identifier.
121 + .TP
122   .BI f " v1/t1/n1 v2/t2/n2 v3/t3/n3" " .."
123   A polygonal face.
124   Polygon vertices are specified as three indices separated
# Line 154 | Line 177 | those causing the problem.
177   This error is caused by too many surfaces, and there is
178   little hope of compiling this mesh.
179   .SH EXAMPLE
180 < To create a compiled triangle mesh from the scene file mesh.obj:
180 > To create a compiled triangle mesh from the scene file mesh.obj
181 > using materials from the file mesh.mat:
182   .IP "" .2i
183 < oconv mesh.obj mesh.rtm
183 > obj2mesh -a mesh.mat mesh.obj mesh.rtm
184   .SH AUTHOR
185   Greg Ward
186   .SH "SEE ALSO"
187   gensurf(1), getinfo(1), make(1), obj2rad(1),
188 < oconv(1), rpict(1), rview(1), rtrace(1), xform(1)
188 > oconv(1), rpict(1), rvu(1), rtrace(1), xform(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines