ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/genrev.1
Revision: 1.7
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.6: +6 -1 lines
Log Message:
Added search to -f for genrev, gensurf, genworm, bsdf2klems, bsdf2ttree, & pcomb

File Contents

# User Rev Content
1 greg 1.7 .\" RCSid "$Id: genrev.1,v 1.6 2017/04/10 14:48:08 greg Exp $"
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 greg 1.7 The variable and function definitions in each
47     .I \-f source
48     file are read and compiled from the RADIANCE library where it is found.
49 greg 1.1 The
50     .I \-s
51     option smooths the surfaces using Phong normal interpolation.
52     .SH EXAMPLE
53     To generate a torus with an inner radius of 1 and an outer radius
54     of 3:
55     .IP "" .2i
56 greg 1.4 genrev steel torus 'sin(2*PI*t)' '2+cos(2*PI*t)' 32
57 greg 1.7 .SH ENVIRONMENT
58     RAYPATH the directories to check for auxiliary files.
59 greg 1.1 .SH AUTHOR
60     Greg Ward
61     .SH "SEE ALSO"
62 greg 1.6 genbox(1), gencat(1), genprism(1), gensurf(1),
63     genworm(1), rcalc(1), rpict(1), rvu(1), xform(1)