Hi,
I'm doing something very simple, rotating a textured sphere on the screen, but the framereates are killing me!
Am I doing something wrong here?
sync off
sync rate 0
backdrop on
load object "sphere2.x",1
load image "water2.bmp",1
set object texture 1,2,0
texture object 1,1
ycoord# = 10.0
xcoord# = 10.0
repeat
rotate object 1,0,xcoord# ,0
ycoord# = ycoord# + 1.0
xcoord# = xcoord# + 1.0
if upkey()=1 then move camera 1
if downkey()=1 then move camera -1
fps$="DBPro Fps: "+str$(screen fps())
text screen width()-20-text width(fps$),screen height()-40,fps$
sync
until escapekey() = 1
Can't understand...when I run the same code in windowed mode, it runs around 200 FPS.
My hardware : GeForce2(Anihhilator Pro) 32MB
1Ghz Athlon ThunderBird
256MB RAM
to my knowledge, this should FLY!
Thanks
"I really don't know how WWIII will be fought, but WWIV will be with sticks and stones"
- Albert Einstien