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 |
|
[ |
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" |
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 |
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 |
|
.PP |
74 |
|
Rough holes may be cut in the mesh by defining a valid(s,t) function. |
75 |
|
Where this function is positive, polygon vertices will be produced. |
113 |
|
The smoothing operation requires that functions be defined |
114 |
|
beyond the [0,1] boundaries of s and t. |
115 |
|
.SH "SEE ALSO" |
116 |
< |
calc(1), genbox(1), genrev(1), genworm(1), rpict(1), rview(1), xform(1) |
116 |
> |
calc(1), genbox(1), genrev(1), genworm(1), |
117 |
> |
obj2mesh(1), rpict(1), rview(1), xform(1) |