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.4 by greg, Fri Apr 3 02:32:58 2020 UTC vs.
Revision 1.8 by greg, Tue Jan 31 16:29:19 2023 UTC

# Line 19 | Line 19 | robjutil - operate on Wavefront .OBJ file
19   ][
20   .B "-c epsilon"
21   ][
22 + .B +T
23 + ][
24   .B "-x 'xf spec'"
25   ]
26   [
# Line 35 | Line 37 | will be produced on the standard output.
37   If
38   .I -r
39   is given, a modified .OBJ file will be sent to the standard output.
40 < This is the default, and is
41 < typically more useful, since surface normals are better handled by the
42 < .I obj2rad(1)
43 < and
42 < .I obj2mesh(1)
43 < converters.
44 < The latter also preserves local texture coordinates for mapping materials.
40 > This is the default, and is more useful for preserving
41 > texture coordinates if directed to
42 > .I obj2mesh(1).
43 > .PP
44   The
45   .I +v
46   option turns on verbose progress reports.
# Line 75 | Line 74 | The
74   and
75   .I \+m
76   options are mutually exclusive.
77 + .PP
78   Similarly, the
79   .I "\-g gname"
80   option says to remove all faces belonging to the group
# Line 85 | Line 85 | options may be given.
85   There is also a
86   .I +g
87   option to save just the named group(s).
88 + Object statements are treated the same as group statements in the input, so
89 + .I +/-g
90 + option can also be applied to object names.
91 + Note that an object name will be overridden by a group name that follows
92 + it in the input, and vice versa.
93   .PP
94   The
95   .I "\-c epsilon"
# Line 102 | Line 107 | at least for triangle mesh input.
107   does not attempt to break up non-planar polygons into triangles,
108   which is usually not a problem for .OBJ output, but may be for Radiance
109   scene descriptions (+r).
110 + To break all surfaces into triangles, include the
111 + .I +T
112 + option.
113   .PP
114   The
115   .I \-x
# Line 123 | Line 131 | To remove degenerate and duplicate faces from "orig.ob
131   .IP "" .2i
132   robjutil +r orig.obj > final.rad
133   .PP
126 To convert the same file, preserving surface normal interpolation:
127 .IP "" .2i
128 robjutil orig.obj | obj2rad > withnormals.rad
129 .PP
134   To extract only the groups "cat" and "bell" from the file "kitty.obj" and
135   write to a Radiance triangle mesh using materials from "kitty.mat":
136   .IP "" .2i
# Line 168 | Line 172 | still possible to assign materials by group manually.
172   .SH AUTHOR
173   Greg Ward
174   .SH "SEE ALSO"
175 < cat(1), obj2mesh(1), obj2rad(1) oconv(1), xform(1)
175 > cat(1), genbox(1), gensurf(1), obj2mesh(1), obj2rad(1) oconv(1), xform(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines