*
* *
*
scene.org
Log in:
login for 1 year
No account? register here

Scene.org is hosted and supported by:
Scene.org is sponsored by:
* forum - #coders

*
Topic:  Drawing many similar objects... GeForece bug?
* Posted by Duckers Monday 12 April 2004 - 20:35 
In our newest demo our.demo released at TG04 I experimented with drawing MANY equal objects. this was done using glDrawElements() inside a loop with only different matrix parameters.

on radeon cards, this worked really well (120 fps), but on most geForce adapters it turned out to be slow as hell (10-20 fps). There are no gl-errors reported and no extensions used. Just plain Drawelements on a simple mesh. (1600 drawings of a 32 triangle object)

It might be some setting ive done wrong, but i really can't figure this out. Does anybody have a clue or experienced something similar?

* Posted by _dylan_ Saturday 19 June 2004 - 19:46 
i belive nowdays you have to use VertexBuffers in agp memory and not glDrawElements.. prolly ati cache the last vertexes into agp ram and nvidia not (wich is pretty normal since with glDrawElements there shouldn't be any agp ram involved). Use agp vb/ib
ciao

* Posted by jimmi Sunday 4 July 2004 - 5:21 
Do you use vertex buffers of vertex arrays? Anyway, I recommend using triangle strips in vertex buffers (or triangle strips in compiled display lists if you don't want to change the modell, that's faster on Radeon). You can also use glLockArraysEXT with vertex arrays, it can speed up your demo as well.

* Posted by BadSector Wednesday 14 April 2004 - 18:36 
Some cards optimize some OpenGL parts better than others. This sucks.

Well, i can't think a reason for this, but then again i've never used glDrawElements() before. Have you tried to 'compile' the scene and see if it is because of the triangle amount or because of the implementation?

Also which version of OpenGL you use? (just to see what you mean when you're saying that you're not using any extensions :-).

If, you need/want, send me your (the part that has the problem) code at michalopoylos@hotmail.com in order to test it in my GeForceFX (5950U). Saying that, which GeForce card(s) you tried with?

* Posted by m3ta Tuesday 22 June 2004 - 14:59 
"gefoREce"? "nowdays"? "belive"?

Better go to www.dict.org instead of dwelling with glDrawElements.

* Posted by eye Saturday 3 July 2004 - 23:23 
BedSector's grammar is very greek. And he doesn't care about it, just as most sceners don't care about how they look etc. So abstract yourself away and quit bashing on BadSector, he is a nice guy.

* Posted by reed Tuesday 6 July 2004 - 20:58 
congratulations, you're obviously focusing on the most relevant stuff in people's posts.

*