home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ray Tracing Box
/
RAY_CD.mdf
/
raytrace
/
form
/
shapes
/
flagpole.frm
< prev
next >
Wrap
Text File
|
1993-11-04
|
636b
|
16 lines
// another form
// something like a flagpole (well that's what it makes me think of)
// segment = sphere 0.1 , sphere 0.5 , sphere 0.1;
s = sphere 0.2 , sphere 0.1 ;
bit = [s] fan 3 , 0;
spacer = sphere 0.2 delete 1;
brseg = spacer , bit stack 30 in 10 twist 270 grow 0.1 bend 5;
base = ellipse <0.1 , 0.3 , 0.3> fan 60 , 90 , 0.1;
twisty = sphere 0.1 stack 90 in 10 twist 1100 , 0.5 grow 0.001;
twisty_scaled = twisty scale 10; /* we have to scale this because the */
/* grow 0.1 on the brseg will shrink it */
base texture Brass_Texture ,
brseg texture TEXTURE_1 ,
[ twisty_scaled ] texture White_Wood;
end