Hi All,
not the best way but it colors the inside of a cone or cylinder.
Rem ***** Main Source File *****
set display mode 640,480,32
sync on : sync rate 0 :
backdrop on
color backdrop rgb(0,0,0)
autocam off
position camera 0,0,-300
make matrix 1,540.0,540.0,20,20
make light 1
position light 1,0,-100,0
rem out side cone
make object cone 1,-100
color object 1,RGB(255,0,0)
scale object 1,60,220,-60
xrotate object 1,90
rem inside cone
make object cone 2,-100
color object 2,RGB(0,0,255)
scale object 2,60,220,60
xrotate object 2,90
rem green cone
make object cone 3,100
color object 3,RGB(0,255,0)
position matrix 1,-250,-50,-250
do
rem roll and pitch in turn
pitch object up 1,wrapvalue(360)+.1
roll object left 1,wrapvalue(360)+.1
pitch object up 2,wrapvalue(360)+.1
roll object left 2,wrapvalue(360)+.1
pitch object up 3,wrapvalue(360)+.1
roll object left 3,wrapvalue(360)+.1
point light 1,object position x(2),object position y(2),object position z(2)
control camera using arrowkeys 0,.1,.1
sync
loop
I'm not getting you down am I, Ho Look! another fancy Door?