Quote: "you can just roll the texture"
no, you can't
if you do so, it's perfect for the sides of the sphere, but not at all for its top and bottom
if you download the demo of my game, you can see (when you're falling down and pressing the up or the down key) that this system is not very nice
david, I really like the maths, so I never use commands as roll, pitch, and turn, I always use rotate x-d
huhu ^_^
look at it
sync on
sync rate 80
create bitmap 1,11,101
set current bitmap 1
for x=1 to 10
for y=1 to 101
if e = 0 then e = 1 else e = 0
if e=1 then ink rgb(0,0,0),0 else ink rgb(255,255,255),0
dot x,y
next y
next x
get image 1,1,1,10,100
set current bitmap 0
make object box 1,2,4,8
texture object 1,1
position camera -10,6,0
point camera 0,0,0
do
if leftkey()=1 then yrotate object 1,wrapvalue(object angle y(1)+2)
if rightkey()=1 then yrotate object 1,wrapvalue(object angle y(1)-2)
angle# = object angle y(1)
if upkey()=1
xrotate object 1,wrapvalue(object angle x(1) + cos(angle))
zrotate object 1,wrapvalue(object angle z(1) + sin(angle))
endif
if downkey()=1
xrotate object 1,wrapvalue(object angle x(1) - cos(angle))
zrotate object 1,wrapvalue(object angle z(1) - sin(angle))
endif
sync
loop
Bu$herie
How many civilians is he going to kill ? he's going to burn in hell, and I hope that his pain will make him inderstand !