ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/genrev.1
Revision: 1.5
Committed: Tue Sep 4 17:36:40 2007 UTC (16 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2P2, rad5R0, rad4R2, rad4R1, rad4R0, rad3R9, rad4R2P1
Changes since 1.4: +2 -2 lines
Log Message:
Added backslashes in front of hyphens (thanks to Bernd Zeimetz for his effort)

File Contents

# Content
1 .\" RCSid "$Id: genrev.1,v 1.4 2005/04/15 02:18:49 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 BUGS
57 The \-s option doesn't modify the surface normal correctly
58 for the opposite side.
59 .SH "SEE ALSO"
60 genbox(1), gensurf(1), genworm(1), icalc(1), rpict(1), rvu(1), xform(1)