home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TopWare 18: Liquid
/
Image.iso
/
liquid
/
top1164
/
sphere.tpl
< prev
next >
Wrap
Text File
|
1994-01-17
|
786b
|
38 lines
//Sphere.tpl
/*
Since spheres are so common in ray traced graphics, POV-Ray has a highly
optimized sphere primitive which renders much more quickly than the
corresponding polynomial quadric shape. The syntax is:
sphere { <CENTER>, RADIUS }
Where <CENTER> is a vector specifying the x,y,z coordinates of the center
of the sphere and RADIUS is a float value specifying the radius. You can
also add translations, rotations, and scaling to the sphere. For example,
the following two objects are identical:
sphere { <0, 25, 0>, 10
pigment {Blue}
sphere { <0, 0, 0>, 1.0
pigment {Blue}
scale 10
translate y*25
}
*/
sphere {
< , , >,
texture {
pigment {
}// end pigment
}// end texture
}//end sphere