Hi friends. This one goes for Blitz3d Guru's:
I am trying to measure every time my program needs. So i measure the rendertime, the physicstime, the blitz-code time, etc...
But i get some things very curious...
Look at my while loop:
In a Scene with 34.000 triangles and 5 textures i get:
rendertime = 2ms
fliptime = 0<1 ms
nothingtime = 20 ms !!!! (when looking at the hole scene). and Even commenting the Flip line...
So the fps drops drastically...
What am i missing?
Thanks!
I am trying to measure every time my program needs. So i measure the rendertime, the physicstime, the blitz-code time, etc...
But i get some things very curious...
Look at my while loop:
While (Not KeyHit(1)) If (KeyDown(200)) MoveEntity camera,0,0,1 If (KeyDown(208)) MoveEntity camera,0,0,-1 If (KeyDown(203)) MoveEntity camera,-1,0,0 If (KeyDown(205)) MoveEntity camera,2,0,0 time1 = MilliSecs() RenderWorld time2 = MilliSecs() - time1 nothingtime = MilliSecs() DebugLog "NothingTime = " + nothingtime2 fliptime = MilliSecs() Flip fliptime = MilliSecs() - fliptime nothingtime2= MilliSecs()-nothingtime Wend
In a Scene with 34.000 triangles and 5 textures i get:
rendertime = 2ms
fliptime = 0<1 ms
nothingtime = 20 ms !!!! (when looking at the hole scene). and Even commenting the Flip line...
So the fps drops drastically...
What am i missing?
Thanks!