| 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) |