PDA

View Full Version : Is the performance acceptable?



suo_alex
01-20-2003, 07:42 PM
I have developed a render engine and the test is organized like this:

Hardware
---------------
Pentium IV 1.6G
GeForce 2 32MB
256MB DDRRAM

Platform
---------------
Windows XP Pro
Window size 640 * 480

Data
---------------
22,000 triangles
512 by 512 BMP textures * 6 with LINEAR
light effect
all normal vectors,
depth buffer
fog effect

And the refresh rate is 100fps.

Is the speed acceptable?

Coriolis
01-20-2003, 07:57 PM
It is completely acceptible with me for you to have that speed. Carry on!

john
01-20-2003, 11:05 PM
good call, Coriolis :-)

knackered
01-21-2003, 12:14 AM
22000*100 = 2.2 million triangles per second at 640x480 isn't remarkable for a geforce2 - it's capable of far more.
Many questions:
Are your 22,000 triangles big in the viewport? If they are then you may be experiencing the fill rate limit.
What do you mean by 'lighting effect'? Is this standard OpenGL lighting? How many lights are you using?
Are you blending any of the triangles in the framebuffer (glEnable(GL_BLEND)) ?
How many of these 512x512 textures (32bit?) are you using per frame? (That's how many "individual" textures, not the same one repeated)
Fog does impact performance a significant amount, so maybe this explains your low trispersecond.

jwatte
01-21-2003, 05:55 PM
Insert glCullFace(GL_FRONT_AND_BACK) in your program to measure whether you're fill bound or geometry bound. Dollars to donuts you're fill bound.

zed
01-21-2003, 07:46 PM
>>22000*100 = 2.2 million triangles per second at 640x480 isn't remarkable for a geforce2 - it's capable of far more.<<

i doubt doom3 will reach 2.2million tris/sec even on a radeon9700

rgpc
01-21-2003, 08:51 PM
Originally posted by zed:
i doubt doom3 will reach 2.2million tris/sec even on a radeon9700

Yes but does the subject of this post have AI? Collision detection? Lighting/shadow volume calcs? Network code? Multiple objects/render states? etc.

Coriolis
01-21-2003, 11:22 PM
Originally posted by zed:
>>22000*100 = 2.2 million triangles per second at 640x480 isn't remarkable for a geforce2 - it's capable of far more.<<

i doubt doom3 will reach 2.2million tris/sec even on a radeon9700

If you count all the triangles it draws rather than just the triangles you see, I bet it will.