ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/genworm.1
Revision: 1.3
Committed: Thu Jan 1 19:31:45 2004 UTC (20 years, 4 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2P2, rad5R0, rad5R1, rad3R7P2, rad3R7P1, rad4R2, rad4R1, rad4R0, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1
Changes since 1.2: +2 -2 lines
Log Message:
Renamed rview, lam, calc, and neat to rvu, rlam, icalc, and neaten

File Contents

# Content
1 .\" RCSid "$Id: genworm.1,v 1.2 2003/12/09 15:59:06 greg Exp $"
2 .TH GENWORM 1 11/15/93 RADIANCE
3 .SH NAME
4 genworm - generate a RADIANCE description of a functional worm
5 .SH SYNOPSIS
6 .B "genworm mat name 'x(t)' 'y(t)' 'z(t)' 'r(t)' nseg"
7 [
8 .B "\-e expr"
9 ][
10 .B "\-f file"
11 ]
12 .SH DESCRIPTION
13 .I Genworm
14 produces a RADIANCE scene description of a
15 worm defined by the parametric equations
16 .I x(t),
17 .I y(t),
18 .I z(t),
19 and
20 .I r(t)
21 (the radius).
22 .I T
23 will vary from 0 to 1 in steps of
24 .I 1/nseg.
25 The surface will be composed of
26 .I nseg
27 cones or cylinders and
28 .I nseg+1
29 spheres.
30 The expressions are of the same type used in RADIANCE
31 function files.
32 Auxiliary expressions and/or files may be specified
33 in any number of
34 .I \-e
35 and
36 .I \-f
37 options.
38 .SH EXAMPLE
39 To generate a banana:
40 .IP "" .2i
41 genworm yellow banana '0' '5*sin(t)' '5*cos(t)' '.4-(.5-t)*(.5-t)' 20
42 .SH AUTHOR
43 Greg Ward
44 .SH BUGS
45 Since the worm is constructed of intersecting surfaces, only
46 opaque materials should be used with this object.
47 Also, a worm cannot double back inside itself without making a mess.
48 .SH "SEE ALSO"
49 genbox(1), genrev(1), gensurf(1), icalc(1), rpict(1), rvu(1), xform(1)