Why is this demo so fast?

Blitz3D Forums/Blitz3D Programming/Why is this demo so fast?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Something I don't quite understand. This demo renders over 200,000 textured polys on screen, yet I'm still maxing out my FPS. How come this is so fast, yet other programs I make with more than a few thousand polys on screen (characters, terrain, etc) crawl along at ~60?

Graphics3D 800,600
camera=CreateCamera()
light=CreateLight()
Global FrameTime,Period,timer,fpscount,fpstemp,fps,fx,fynum=500
num=250
tex=CreateTexture(256,256)
SetBuffer TextureBuffer(tex)
	Color 0,0,250
	Rect 0,0,256,256,1
	SetBuffer BackBuffer()
Dim cubes(num)
For i = 1 To num
cubes(i)=CreateSphere(16)
PositionEntity cubes(i),0,0,15
EntityTexture cubes(i),tex
Next
Color 255,255,255
While Not KeyHit(1)
For i = 1 To num
	x#=Rnd(-1,1)/10
	y#=Rnd(-1,1)/10
	z#=Rnd(-1,1)/10
	MoveEntity cubes(i),x#,y#,z#
	Next
RenderWorld
fps 0,0
Text 0,15,"Polys OnScreen: "+TrisRendered()
Flip
Wend
End


Function fps(fx,fy)
fpscount=fpscount+1
If MilliSecs()<timer+1000
Else
	fps=fpscount-fpstemp
	fpstemp=fpscount
	timer=MilliSecs()
EndIf
Text x,y,"FPS: "+fps
End Function


+BlackD