- Cross_
- Aug 22, 2008
-
|
Mithaldu posted:At any given time i'm rendering 45-180 display lists per frame.
That's quite a bit. It might help to merge some of them if possible to avoid any overhead with state switching in between. Also to repeat what was said above: use tri_strips_ if you can. They reduce the vertex data sent to card by up to 30% compared to triangle lists.
|
#
¿
Sep 24, 2008 22:08
|
|
- Adbot
-
ADBOT LOVES YOU
|
|
#
¿
May 6, 2024 04:59
|
|
- Cross_
- Aug 22, 2008
-
|
HauntedRobot posted:
What are the performance considerations of doing this? For instance, does it poo poo all over my z buffer precision if in the same scene I'm drawing a 4 poly pyramid on the horizon that's hundreds of units tall and doing detail work close up?
In that case you wouldn't run into z-buffer problems. z-buffer fighting only becomes apparent when there are close objects rendered at large distance. If you have say a weapon model close to the camera and a pyramid at the horizon you should be okay. If you were to add a decal to the pyramid's surface you will definitely see problems. If you place a tree in between your camera and the pyramid you may or may not notice problems.
|
#
¿
Oct 1, 2008 22:25
|
|