genworm(1)

genworm1

Generate a radiance description of a functional worm

Usage

genworm mat name 'x(t)' 'y(t)' 'z(t)' 'r(t)' nseg [-e expr] [-f file]

Overview

Genworm produces a RADIANCE scene description of a worm defined by the parametric equations x(t), y(t), z(t), and r(t) (the radius). T will vary from 0 to 1 in steps of 1/nseg. The surface will be composed of nseg cones or cylinders and nseg+1 spheres. 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.

Examples

To generate a banana:

genworm yellow banana '0' '5*sin(t)' '5*cos(t)' '.4-(.5-t)*(.5-t)' 20

Releases

Unchanged in 3 releases since Debian 5.0 (Lenny).

  1. 5.0–7

Author

Greg Ward

Bugs

Since the worm is constructed of intersecting surfaces, only opaque materials should be used with this object. Also, a worm cannot double back inside itself without making a mess.

From radiance 4R1+20120125-1+b1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.