uh oh... my engine is slowing down
Hi,
Can anyone give me a few tips on optimization? Or point me to a good resource. I haven''t an idea how to speed up bad code
Thanks,
Scott
"If you try and don''t succeed, destroy all evidence that you tried."
Batch polygons by state changes. Do some form of visibilty tests. Minimize DrawPrimitive calls.
ECKILLER
ECKILLER
ECKILLER
You might have tried this already, but you could implament some type of hidden surface removal, or back face removal. Though I''ve never done it myself, I''ve heard that the dot product is a good way to go for that.
Dang that dot product is so useful.
The Kid
I don''''t know what the future holds, but I know who holds the future.
Dang that dot product is so useful.
The Kid
I don''''t know what the future holds, but I know who holds the future.
I don''t know what the future holds, but I know who holds the future.
Keep the state changes to a low.
Celeron ][ 566 @ 850256MB PC-100 CAS2 RAMDFI PA-61 Mainboard (250MB memory bandwidth sucks, it should be 500MB)ATI Radeon 32MB DDR LEWindows 98SE
what do u mean by state changes?
Scott
Scott
State change is when you change a state. For example, the current texture.
ECKILLER
ECKILLER
ECKILLER
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement