ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/genworm.1
Revision: 1.4
Committed: Fri May 4 23:56:49 2018 UTC (7 years ago) by greg
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad5R3, HEAD
Changes since 1.3: +6 -1 lines
Log Message:
Added search to -f for genrev, gensurf, genworm, bsdf2klems, bsdf2ttree, & pcomb

File Contents

# Content
1 .\" RCSid "$Id: genworm.1,v 1.3 2004/01/01 19:31:45 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 The variable and function definitions in each
39 .I \-f source
40 file are read and compiled from the RADIANCE library where it is found.
41 .SH EXAMPLE
42 To generate a banana:
43 .IP "" .2i
44 genworm yellow banana '0' '5*sin(t)' '5*cos(t)' '.4-(.5-t)*(.5-t)' 20
45 .SH ENVIRONMENT
46 RAYPATH the directories to check for auxiliary files.
47 .SH AUTHOR
48 Greg Ward
49 .SH BUGS
50 Since the worm is constructed of intersecting surfaces, only
51 opaque materials should be used with this object.
52 Also, a worm cannot double back inside itself without making a mess.
53 .SH "SEE ALSO"
54 genbox(1), genrev(1), gensurf(1), icalc(1), rpict(1), rvu(1), xform(1)