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

Comparing ray/doc/man/man1/robjutil.1 (file contents):
Revision 1.1 by greg, Mon Mar 30 18:28:35 2020 UTC vs.
Revision 1.2 by greg, Thu Apr 2 20:44:15 2020 UTC

# Line 18 | Line 18 | robjutil - operate on Wavefront .OBJ file
18   .B "+/-g gname"
19   ][
20   .B "-c epsilon"
21 + ][
22 + .B "-x 'xf spec'"
23   ]
24   [
25   .B input.obj ..
# Line 84 | Line 86 | There is also a
86   .I +g
87   option to save just the named group(s).
88   .PP
89 < Finally, a
89 > A
90   .I "\-c epsilon"
91   parameter may be given to coalesce vertices that are within the given epsilon.
92   This is useful to improve the connectivity of models that were produced
# Line 98 | Line 100 | at least for triangle mesh input.
100   does not attempt to break up non-planar polygons into triangles,
101   which is usually not a problem for .OBJ output, but may be for Radiance
102   scene descriptions (+r).
103 + .PP
104 + The
105 + .I \-x
106 + option may be used to specify a final transform to apply to all
107 + coordinates in the file before output.
108 + This specification must be contained in a single quoted word and
109 + match the standard arguments used by
110 + .I xform(1),
111 + except that the
112 + .I \-a
113 + option is not supported for creating arrays of objects.
114 + Also, any scaling applied does not affect the epsilon value given for
115 + coalescing vertices, as this operation is applied prior to the transform,
116 + even if
117 + .I \-c
118 + appears later in the command line.
119   .SH EXAMPLES
120   To remove degenerate and duplicate faces from "orig.obj" and write to "final.rad":
121   .IP "" .2i
# Line 111 | Line 129 | To extract only the groups "cat" and "bell" from the f
129   write to a Radiance triangle mesh using materials from "kitty.mat":
130   .IP "" .2i
131   robjutil +g cat +g bell kitty.obj | obj2mesh -a kitty.mat > kitty.rtm
132 + .PP
133 + To rotate the scene 90 degrees about the Y-axis and scale by 10:
134 + .IP "" .2i
135 + robjutil -x "-ry 90 -s 10" orig.obj > transformed.obj
136   .SH AUTHOR
137   Greg Ward
138   .SH "SEE ALSO"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines