ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/genrev.1
Revision: 1.6
Committed: Mon Apr 10 14:48:08 2017 UTC (8 years ago) by greg
Branch: MAIN
CVS Tags: rad5R1
Changes since 1.5: +3 -5 lines
Log Message:
Removed mention of bug that was fixed long ago.

File Contents

# Content
1 .\" RCSid "$Id: genrev.1,v 1.5 2007/09/04 17:36:40 greg Exp $"
2 .TH GENREV 1 11/15/93 RADIANCE
3 .SH NAME
4 genrev - generate a RADIANCE description of surface of revolution
5 .SH SYNOPSIS
6 .B "genrev mat name 'z(t)' 'r(t)' nseg"
7 [
8 .B "\-e expr"
9 ][
10 .B "\-f file"
11 ][
12 .B \-s
13 ]
14 .SH DESCRIPTION
15 .I Genrev
16 produces a RADIANCE scene description of a
17 surface of revolution.
18 The object will be composed of
19 .I nseg
20 cones, cups, cylinders, tubes or rings
21 following the parametric curve defined by
22 .I z(t)
23 (height)
24 and
25 .I r(t)
26 (radius).
27 When
28 .I z
29 is increasing with t, the surface normal points outward.
30 When
31 .I z
32 is decreasing, the normal points inward.
33 The variable
34 .I t
35 used in the function expressions varies
36 from 0 to 1 in even steps of
37 .I 1/nseg.
38 The expressions are of the same type used in RADIANCE
39 function files.
40 Auxiliary expressions and/or files may be specified
41 in any number of
42 .I \-e
43 and
44 .I \-f
45 options.
46 The
47 .I \-s
48 option smooths the surfaces using Phong normal interpolation.
49 .SH EXAMPLE
50 To generate a torus with an inner radius of 1 and an outer radius
51 of 3:
52 .IP "" .2i
53 genrev steel torus 'sin(2*PI*t)' '2+cos(2*PI*t)' 32
54 .SH AUTHOR
55 Greg Ward
56 .SH "SEE ALSO"
57 genbox(1), gencat(1), genprism(1), gensurf(1),
58 genworm(1), rcalc(1), rpict(1), rvu(1), xform(1)