| 1 |
|
.\" RCSid "$Id$" |
| 2 |
|
.TH OBJ2RAD 1 6/14/94 RADIANCE |
| 3 |
|
.SH NAME |
| 4 |
< |
obj2rad - convert Wavefront .obj file to RADIANCE description |
| 4 |
> |
obj2rad - convert Wavefront .OBJ file to RADIANCE description |
| 5 |
|
.SH SYNOPSIS |
| 6 |
|
.B obj2rad |
| 7 |
|
[ |
| 18 |
|
] |
| 19 |
|
.SH DESCRIPTION |
| 20 |
|
.I Obj2rad |
| 21 |
< |
converts a Wavefront .obj file to a RADIANCE scene description. |
| 21 |
> |
converts a Wavefront .OBJ file to a RADIANCE scene description. |
| 22 |
|
The material names for the surfaces will assigned based on the |
| 23 |
|
mapping rules file given in the |
| 24 |
|
.I \-m |
| 101 |
|
The |
| 102 |
|
.I \-n |
| 103 |
|
option may be used to produce a list of qualifiers from which to construct |
| 104 |
< |
a mapping for the given .obj file. |
| 104 |
> |
a mapping for the given .OBJ file. |
| 105 |
|
This is also useful for determining which materials must be defined |
| 106 |
|
when no mapping is used. |
| 107 |
|
.PP |
| 187 |
|
it will mention the number of statements |
| 188 |
|
.I obj2rad |
| 189 |
|
did not recognize. |
| 190 |
< |
.SH EXAMPLE |
| 190 |
> |
.SH EXAMPLES |
| 191 |
|
To create a qualifier list for triceratops.obj: |
| 192 |
|
.IP "" .2i |
| 193 |
< |
obj2rad -n triceratops.obj > triceratops.qual |
| 193 |
> |
obj2rad \-n triceratops.obj > triceratops.qual |
| 194 |
|
.PP |
| 195 |
|
To translate triceratops.obj into a RADIANCE file using the mapping |
| 196 |
|
triceratops.map: |
| 197 |
|
.IP "" .2i |
| 198 |
< |
obj2rad -m triceratops.map triceratops.obj > triceratops.rad |
| 199 |
< |
.SH NOTES |
| 200 |
< |
Many good and useful Wavefront object files are available by |
| 201 |
< |
anonymous ftp from "avalon.chinalake.navy.mil" in the |
| 202 |
< |
/pub/objects/obj directory. |
| 198 |
> |
obj2rad \-m triceratops.map triceratops.obj > triceratops.rad |
| 199 |
|
.SH FILES |
| 200 |
|
tmesh.cal - used for triangle normal interpolation |
| 201 |
|
.br |
| 203 |
|
.SH AUTHOR |
| 204 |
|
Greg Ward |
| 205 |
|
.SH "SEE ALSO" |
| 206 |
< |
arch2rad(1), ies2rad(1), obj2mesh(1), oconv(1), thf2rad(1), xform(1) |
| 206 |
> |
arch2rad(1), ies2rad(1), obj2mesh(1), objutil(1) oconv(1), thf2rad(1), xform(1) |