| 19 |
|
][ |
| 20 |
|
.B "-c epsilon" |
| 21 |
|
][ |
| 22 |
+ |
.B +T |
| 23 |
+ |
][ |
| 24 |
|
.B "-x 'xf spec'" |
| 25 |
|
] |
| 26 |
|
[ |
| 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. |
| 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 |
| 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" |
| 109 |
|
scene descriptions (+r). |
| 110 |
|
.PP |
| 111 |
|
The |
| 112 |
+ |
.I +T |
| 113 |
+ |
option turns all faces with 4 or more sides into triangles. |
| 114 |
+ |
.PP |
| 115 |
+ |
The |
| 116 |
|
.I \-x |
| 117 |
|
option may be used to specify a final transform to apply to all |
| 118 |
|
coordinates in the file before output. |
| 132 |
|
.IP "" .2i |
| 133 |
|
robjutil +r orig.obj > final.rad |
| 134 |
|
.PP |
| 126 |
– |
To convert the same file, preserving surface normal interpolation: |
| 127 |
– |
.IP "" .2i |
| 128 |
– |
robjutil orig.obj | obj2rad > withnormals.rad |
| 129 |
– |
.PP |
| 135 |
|
To extract only the groups "cat" and "bell" from the file "kitty.obj" and |
| 136 |
|
write to a Radiance triangle mesh using materials from "kitty.mat": |
| 137 |
|
.IP "" .2i |
| 173 |
|
.SH AUTHOR |
| 174 |
|
Greg Ward |
| 175 |
|
.SH "SEE ALSO" |
| 176 |
< |
cat(1), obj2mesh(1), obj2rad(1) oconv(1), xform(1) |
| 176 |
> |
cat(1), genbox(1), gensurf(1), obj2mesh(1), obj2rad(1) oconv(1), xform(1) |