home *** CD-ROM | disk | FTP | other *** search
-
-
-
- GENSURF(1) USER COMMANDS GENSURF(1)
-
-
-
- NAME
- gensurf - generate a RADIANCE description of a functional
- surface
-
- SYNOPSIS
- gensurf mat name 'x(s,t)' 'y(s,t)' 'z(s,t)' m n [ -e expr ][
- -f file ][ -s ]
-
- DESCRIPTION
- Gensurf produces a RADIANCE scene description of a func-
- tional surface defined by the parametric equations x(s,t),
- y(s,t), and z(s,t). The surface normal is defined by the
- right hand rule as applied to (s,t). S will vary from 0 to 1
- in steps of 1/m, and t will vary from 0 to 1 in steps of
- 1/n. The surface will be composed of 2*m*n or fewer trian-
- gles and quadralaterals. The expressions are of the same
- type used in RADIANCE function files. Auxiliary expressions
- and/or files may be specified in any number of -e and -f
- options. The -s option adds smoothing (surface normal
- interpolation) to the surface.
-
- EXAMPLE
- To generate a tesselated sphere:
-
- gensurf crystal ball 'sin(PI*s)*cos(2*PI*t)' 'cos(PI*s)'
- 'sin(PI*s)*sin(2*PI*t)' 7 10
-
- AUTHOR
- Greg Ward
-
- The smoothing operation requires that the functions be
- defined beyond the [0,1] boundaries of s and t.
-
- SEE ALSO
- calc(1), genbox(1), genrev(1), genworm(1), rpict(1),
- rview(1), xform(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sun Release 4.1 Last change: 1
-
-
-
-