ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/gensurf.1
(Generate patch)

Comparing ray/doc/man/man1/gensurf.1 (file contents):
Revision 1.1 by greg, Tue Mar 11 19:20:21 2003 UTC vs.
Revision 1.6 by greg, Tue Sep 4 17:36:40 2007 UTC

# Line 1 | Line 1
1 < .\" RCSid "$Id"
1 > .\" RCSid "$Id$"
2   .TH GENSURF 1 11/15/93 RADIANCE
3   .SH NAME
4 < gensurf - generate a RADIANCE description of a curved surface
4 > gensurf - generate a RADIANCE or Wavefront description of a curved surface
5   .SH SYNOPSIS
6   .B "gensurf mat name 'x(s,t)' 'y(s,t)' 'z(s,t)' m n"
7   [
# Line 10 | Line 10 | gensurf - generate a RADIANCE description of a curved
10   .B "\-f file"
11   ][
12   .B \-s
13 + ][
14 + .B \-o
15   ]
16   .br
17   .B "gensurf mat name 'x(s,t)' 'y(s,t)' dfile m n"
# Line 19 | Line 21 | gensurf - generate a RADIANCE description of a curved
21   .B "\-f file"
22   ][
23   .B \-s
24 + ][
25 + .B \-o
26   ]
27   .br
28   .B "gensurf mat name dfile dfile dfile m n"
29   [
30   .B \-s
31 + ][
32 + .B \-o
33   ]
34   .SH DESCRIPTION
35   .I Gensurf
36 < produces a RADIANCE scene description of a
37 < functional surface defined by the parametric equations
36 > produces either a RADIANCE scene description or a Wavefront .OBJ
37 > file of a functional surface defined by the parametric equations
38   .I x(s,t),
39   .I y(s,t),
40   and
# Line 57 | Line 63 | options.
63   The
64   .I \-s
65   option adds smoothing (surface normal interpolation) to the surface.
66 + The
67 + .I \-o
68 + option produces a Wavefront .OBJ file rather than a RADIANCE
69 + scene description.
70 + This is most useful as input to the
71 + .I obj2mesh(1)
72 + program for producing a compiled mesh.
73 + A single "usemtl" statement will appear at the beginning
74 + of the .OBJ output, echoing the modifier given on the command line.
75   .PP
76   Rough holes may be cut in the mesh by defining a valid(s,t) function.
77   Where this function is positive, polygon vertices will be produced.
# Line 93 | Line 108 | gensurf crystal ball 'sin(PI*s)*cos(2*PI*t)' 'cos(PI*s
108   To generate a 10x20 smoothed height field from 12 recorded vertex
109   z values:
110   .IP "" .2i
111 < gensurf dirt ground '10*s' '20*t' height.dat 2 3 -s
111 > gensurf dirt ground '10*s' '20*t' height.dat 2 3 \-s
112   .SH AUTHOR
113   Greg Ward
114   .SH BUGS
115   The smoothing operation requires that functions be defined
116   beyond the [0,1] boundaries of s and t.
117   .SH "SEE ALSO"
118 < calc(1), genbox(1), genrev(1), genworm(1), rpict(1), rview(1), xform(1)
118 > genbox(1), genrev(1), genworm(1), icalc(1),
119 > obj2mesh(1), obj2rad(1), rpict(1), rvu(1), xform(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines