Ok ! I have a question about the FrameRate...
I did a few optimizations to the terranin rendering code, and got theese results:
Chopper AND Terrain -> 11-13 FPS
Chopper WITHOUT Terrain -> 14-15 FPS
LowPolyShip WITHOUT Terrain -> 59-60 FPS
LowPolyShip AND Terrain -> 18-19 FPS
I find it a paradox, because the first two test would mean,
that the Terrain engine slows down the game with about 3-4 FPS''s.
15-11=4 right ?
But the second mesaurment, with the low poly model results,
that the terrain engine in fact reduces the spped of the game,
with aprox.: 40-42 FPS-s. How can this be ?
"Find the path, follow the Master... Follow the master, understand the master... Overcome the master !"
If you read this, don't laugh
"Find the path, follow the Master... Follow the master, understand the master... Overcome the master !"
quote: Original post by Dark_Guy
Chopper AND Terrain -> 11-13 FPS
Chopper WITHOUT Terrain -> 14-15 FPS
LowPolyShip WITHOUT Terrain -> 59-60 FPS
LowPolyShip AND Terrain -> 18-19 FPS
have you disabled vsync on your graphics card?
My graphics card doesn''t have a vSync on-off in it''s control panel.
But if you are reffering to my initialization code,
than it was this: "d3dwindow.SwapEffect = D3DSWAPEFFECT_COPY_VSYNC"
So i guess the answer is NO then...
Why ? Could this be affecting the tests ?
I tried to change it to D3DSWAPEFFECT_FLIP and D3DSWAPEFFECT_Copy, but still no change in the tests.
However i have managed to get up framerate to 20 FPS with the chopper model
So... i guess i''m on the right track
I''l try to fix the sky too, but i don''t know what kind of geometry should i use for the sky...
Any suggestions ?
But if you are reffering to my initialization code,
than it was this: "d3dwindow.SwapEffect = D3DSWAPEFFECT_COPY_VSYNC"
So i guess the answer is NO then...
Why ? Could this be affecting the tests ?
I tried to change it to D3DSWAPEFFECT_FLIP and D3DSWAPEFFECT_Copy, but still no change in the tests.
However i have managed to get up framerate to 20 FPS with the chopper model
So... i guess i''m on the right track
I''l try to fix the sky too, but i don''t know what kind of geometry should i use for the sky...
Any suggestions ?
"Find the path, follow the Master... Follow the master, understand the master... Overcome the master !"
To get meaningful fps info you need to be running in fullscreen mode with vsync disabled.
Under D3D this means you''ll probably need to specify the D3DPRESENT_INTERVAL_IMMEDIATE flag in the D3DPRESENT_PARAMETERS structure as well as using one of the swap effect parameters that does not force vsync. (it''s been a while since I played with d3d so I''m a bit rusty on this stuff)
I''d recommend starting a thread in the graphics forum if you want to discuss the technical aspects further, or if you prefer I can move this thread.
Under D3D this means you''ll probably need to specify the D3DPRESENT_INTERVAL_IMMEDIATE flag in the D3DPRESENT_PARAMETERS structure as well as using one of the swap effect parameters that does not force vsync. (it''s been a while since I played with d3d so I''m a bit rusty on this stuff)
I''d recommend starting a thread in the graphics forum if you want to discuss the technical aspects further, or if you prefer I can move this thread.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement