86 |
|
.I +g |
87 |
|
option to save just the named group(s). |
88 |
|
.PP |
89 |
< |
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 |
113 |
|
except that the |
114 |
|
.I \-a |
115 |
|
option is not supported for creating arrays of objects. |
116 |
< |
Also, any scaling applied does not affect the epsilon value given for |
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 |
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 NOTES |
139 |
+ |
The .OBJ output of |
140 |
+ |
.I robjutil |
141 |
+ |
uses relative indices, so files it produces may be concatenated |
142 |
+ |
on the input of other tools such as |
143 |
+ |
.I obj2rad |
144 |
+ |
and |
145 |
+ |
.I obj2mesh |
146 |
+ |
by piping from |
147 |
+ |
.I cat(1) |
148 |
+ |
or similar. |
149 |
+ |
This offers a convenient way to separate geometry from a single .OBJ |
150 |
+ |
input, manipulate it in some way, then recombine during conversion. |
151 |
+ |
.PP |
152 |
+ |
Unlike |
153 |
+ |
.I obj2rad |
154 |
+ |
and |
155 |
+ |
.I obj2mesh, |
156 |
+ |
.I robjutil |
157 |
+ |
with the |
158 |
+ |
.I +r |
159 |
+ |
option will not substitute the group name for a material id if no |
160 |
+ |
.I usemtl |
161 |
+ |
statements are found on the input. |
162 |
+ |
Instead, it will assign each surface the material |
163 |
+ |
.I DEFAULT_MATERIAL. |
164 |
+ |
Since it is possible to use the |
165 |
+ |
.I +/-g |
166 |
+ |
option to select groups to include or exclude on output, it is |
167 |
+ |
still possible to assign materials by group manually. |
168 |
|
.SH AUTHOR |
169 |
|
Greg Ward |
170 |
|
.SH "SEE ALSO" |
171 |
< |
obj2mesh(1), obj2rad(1) oconv(1), xform(1) |
171 |
> |
cat(1), obj2mesh(1), obj2rad(1) oconv(1), xform(1) |