| 1 |
greg |
1.1 |
.\" RCSid "$Id"
|
| 2 |
|
|
.TH GENBLINDS 1 10/10/94 RADIANCE
|
| 3 |
|
|
.SH NAME
|
| 4 |
|
|
genblinds - generate a RADIANCE description of venetian blinds
|
| 5 |
|
|
.SH SYNOPSIS
|
| 6 |
|
|
.B "genblinds mat name depth width height nslats angle"
|
| 7 |
|
|
[
|
| 8 |
|
|
.B "\-r|+r rcurv"
|
| 9 |
|
|
]
|
| 10 |
|
|
.SH DESCRIPTION
|
| 11 |
|
|
.I Genblinds
|
| 12 |
|
|
produces a RADIANCE scene description of a set of venetian blinds.
|
| 13 |
|
|
The
|
| 14 |
|
|
.I depth
|
| 15 |
|
|
of the blinds (X dimension) is given first, followed by the
|
| 16 |
|
|
.I width
|
| 17 |
|
|
(Y dimension), followed by the
|
| 18 |
|
|
.I height
|
| 19 |
|
|
(Z dimension).
|
| 20 |
|
|
The number of slats to place evenly within this height is given as
|
| 21 |
|
|
.I nslats.
|
| 22 |
|
|
The
|
| 23 |
|
|
.I angle
|
| 24 |
|
|
of the blind, where zero is perfectly horizontal and a
|
| 25 |
|
|
positive angle tilts the positive X edge upwards, is
|
| 26 |
|
|
given in degrees.
|
| 27 |
|
|
The blinds are initially situated so that the corner of the bottom blind is
|
| 28 |
|
|
.I "height/nslats/2"
|
| 29 |
|
|
above the XY plane, and all coordinates are positive.
|
| 30 |
|
|
Each new slat is placed
|
| 31 |
|
|
.I "height/nslats"
|
| 32 |
|
|
above the previous one, until the top slat is at
|
| 33 |
|
|
.I "height - height/nslats/2".
|
| 34 |
|
|
The blinds may of course be moved from this starting point with the
|
| 35 |
|
|
.I "xform(1)"
|
| 36 |
|
|
command.
|
| 37 |
|
|
.PP
|
| 38 |
|
|
If curved blinds are desired, a radius of curvature may be given
|
| 39 |
|
|
with the
|
| 40 |
|
|
.I "+/-r"
|
| 41 |
|
|
option.
|
| 42 |
|
|
If given as
|
| 43 |
|
|
.I -r,
|
| 44 |
|
|
The curvature is downward (which is the usual configuration).
|
| 45 |
|
|
If the option is given as
|
| 46 |
|
|
.I +r,
|
| 47 |
|
|
then the curvature is upward.
|
| 48 |
|
|
The radius indicates how far from each slat its effective
|
| 49 |
|
|
cylindrical center resides.
|
| 50 |
|
|
Each slat will be broken into as many polygons as is necessary to
|
| 51 |
|
|
keep the delta changes in angle less than 10 degrees.
|
| 52 |
|
|
(Note that this may result in a rather large number of polygons.)\0
|
| 53 |
|
|
.SH EXAMPLE
|
| 54 |
|
|
To produce a curved set of blinds with 15 slats:
|
| 55 |
|
|
.IP "" .2i
|
| 56 |
|
|
genblinds white blind 1 46 88 118 15 -r 1 > blinds.rad
|
| 57 |
|
|
.SH AUTHOR
|
| 58 |
|
|
Jean-Louis Scartezzini and Greg Ward
|
| 59 |
|
|
.SH "SEE ALSO"
|
| 60 |
|
|
genbox(1), genrev(1), gensurf(1), genworm(1), rpict(1), rview(1), xform(1)
|