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.3 by greg, Thu Apr 2 20:50:59 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 > The
90   .I "\-c epsilon"
91 < parameter may be given to coalesce vertices that are within the given epsilon.
91 > option tells
92 > .I robjutil
93 > to coalesce vertices that are within the given epsilon.
94   This is useful to improve the connectivity of models that were produced
95   in a sloppy conversion process from independent polygons.
96   When producing a Radiance file via the
# Line 98 | Line 102 | at least for triangle mesh input.
102   does not attempt to break up non-planar polygons into triangles,
103   which is usually not a problem for .OBJ output, but may be for Radiance
104   scene descriptions (+r).
105 + .PP
106 + The
107 + .I \-x
108 + option may be used to specify a final transform to apply to all
109 + coordinates in the file before output.
110 + This specification must be contained in a single quoted word and
111 + match the standard arguments used by
112 + .I xform(1),
113 + except that the
114 + .I \-a
115 + option is not supported for creating arrays of objects.
116 + Also, any scaling factors do not affect the epsilon value given for
117 + coalescing vertices, as this operation is applied prior to the transform,
118 + even if
119 + .I \-c
120 + appears later in the command line.
121   .SH EXAMPLES
122   To remove degenerate and duplicate faces from "orig.obj" and write to "final.rad":
123   .IP "" .2i
# Line 111 | Line 131 | To extract only the groups "cat" and "bell" from the f
131   write to a Radiance triangle mesh using materials from "kitty.mat":
132   .IP "" .2i
133   robjutil +g cat +g bell kitty.obj | obj2mesh -a kitty.mat > kitty.rtm
134 + .PP
135 + To rotate the scene 90 degrees about the Y-axis and scale by 10:
136 + .IP "" .2i
137 + robjutil -x "-ry 90 -s 10" orig.obj > transformed.obj
138   .SH AUTHOR
139   Greg Ward
140   .SH "SEE ALSO"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines