Skip to main content
GameDev.net gamedev.net
🔒 Locked

Optimisation

Started by Arkanoid Mar 17, 2012 at 1:09 PM 3 replies 1.3k views
Original Post
Arkanoid
Arkanoid
i have model:
Polys: 13 572
Vertex: 13 867

And texture 4096x4096 - size is so big, because this is a global map and texture mast looking good, when camera is too close to map.

I also loaded 3 low-poly models... I have crazy lags, how can i optimize my project?
Asesh
Asesh
Try frustum culling and use mipmapped textures...google it. Since you are using D3D 9, try using progressive meshes too
Adam_42
Adam_42
Firstly you need to profile to find out where the issue is.

Try PerfHUD for GPU profiling and Very Sleepy for CPU profiling, if PerfHUD tells you the bottleneck isn't the GPU.
Arkanoid
Arkanoid
I checked my program one other computer - and it works normal....so the problem is on computer, not with code...but how to understand where is it?

Firstly you need to profile to find out where the issue is.

Try PerfHUD for GPU profiling and Very Sleepy for CPU profiling, if PerfHUD tells you the bottleneck isn't the GPU.

PerfHUD - i don't understand how to use it, i add to my code adapter, but i have problems with license...Is there any program to find and fix problems on computer?
Adam_42
Adam_42
The PerfHUD documentation is available for download from that same web site, which explains clearly how to use it. It will of course only work if you have an Nvidia graphics card, however I don't know of any good alternatives for AMD cards that work with DX9.

Also try doing a CPU profile anyway, it can still be helpful without the GPU profile.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.