| 1 |
greg |
1.2 |
.\" RCSid "$Id$"
|
| 2 |
greg |
1.1 |
.TH GENBOX 1 11/15/93 RADIANCE
|
| 3 |
|
|
.SH NAME
|
| 4 |
|
|
genbox - generate a RADIANCE description of a box
|
| 5 |
|
|
.SH SYNOPSIS
|
| 6 |
|
|
.B "genbox mat name xsiz ysiz zsiz"
|
| 7 |
|
|
[
|
| 8 |
|
|
.B \-i
|
| 9 |
|
|
][
|
| 10 |
|
|
.B "\-r rad"
|
| 11 |
|
|
|
|
| 12 |
|
|
.B "\-b bev"
|
| 13 |
|
|
]
|
| 14 |
|
|
.SH DESCRIPTION
|
| 15 |
|
|
.I Genbox
|
| 16 |
|
|
produces a RADIANCE scene description of a parallelepiped
|
| 17 |
|
|
with one corner at the origin and the opposite corner at
|
| 18 |
|
|
.I "(xsiz, ysiz, zsiz)."
|
| 19 |
|
|
The sides of the box will be parallel to the three coordinate
|
| 20 |
|
|
planes.
|
| 21 |
|
|
The surfaces that make up the box will be modified by
|
| 22 |
|
|
.I mat
|
| 23 |
|
|
and their identifiers will begin with
|
| 24 |
|
|
.I name.
|
| 25 |
|
|
The
|
| 26 |
|
|
.I \-i
|
| 27 |
|
|
option can be used to produce a box with inward directed surface
|
| 28 |
|
|
normals.
|
| 29 |
|
|
The
|
| 30 |
|
|
.I \-r
|
| 31 |
|
|
option can be used to specify the radius for rounded edges.
|
| 32 |
|
|
The
|
| 33 |
|
|
.I \-b
|
| 34 |
|
|
option can be used to specify the indentation for beveled edges.
|
| 35 |
|
|
.SH EXAMPLE
|
| 36 |
|
|
To produce a rectangular box made of wood with beveled edges:
|
| 37 |
|
|
.IP "" .2i
|
| 38 |
|
|
genbox wood box1 5 8 3 -b .5 > box1
|
| 39 |
|
|
.SH AUTHOR
|
| 40 |
|
|
Greg Ward
|
| 41 |
|
|
.SH BUGS
|
| 42 |
|
|
Because spheres and cylinders are used to construct boxes with
|
| 43 |
|
|
rounded edges, a transparent box of this type appears quite messy.
|
| 44 |
|
|
.SH "SEE ALSO"
|
| 45 |
|
|
genrev(1), gensurf(1), genworm(1), rpict(1), rview(1), xform(1)
|