18 |
|
.B "+/-g gname" |
19 |
|
][ |
20 |
|
.B "-c epsilon" |
21 |
+ |
][ |
22 |
+ |
.B "-x 'xf spec'" |
23 |
|
] |
24 |
|
[ |
25 |
|
.B input.obj .. |
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 |
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 |
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" |