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) |
41 |
< |
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 |
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 |
131 |
|
.IP "" .2i |
132 |
|
robjutil +r orig.obj > final.rad |
133 |
|
.PP |
133 |
– |
To convert the same file, preserving surface normal interpolation: |
134 |
– |
.IP "" .2i |
135 |
– |
robjutil orig.obj | obj2rad > withnormals.rad |
136 |
– |
.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 |
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) |