ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/genrev.1
Revision: 1.2
Committed: Tue Dec 9 15:59:06 2003 UTC (20 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
Fixed RCSid specification

File Contents

# User Rev Content
1 greg 1.2 .\" RCSid "$Id$"
2 greg 1.1 .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)' '1+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     calc(1), genbox(1), gensurf(1), genworm(1), rpict(1), rview(1), xform(1)