home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Encyclopedia of Graphics File Formats Companion
/
GFF_CD.ISO
/
formats
/
ttddd
/
spec
/
t3d_doc
/
igensurf.zoo
/
examples
/
sphere.cal
< prev
next >
Wrap
Text File
|
1991-09-27
|
233b
|
14 lines
{
sphere.cal: Create a sphere.
igensurf -v -s 7 -t 10 -S 100 sphere.cal | writetddd >sphere.obj
}
#name sphere
#phong on
x(s,t) = sin(PI * s) * cos(2 * PI * t);
y(s,t) = cos(PI * s);
z(s,t) = sin(PI * s) * sin(2 * PI * t);