 |
|
|
Scene.org is hosted and supported by:
|
|
|
Scene.org is sponsored by:
|
|
|
|
|
 |
forum - #coders |
|
 | | Topic: | Drawing many similar objects... GeForece bug? | | | 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? | | |
| 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 | | |
| | 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. | | |
| 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? | | |
| "gefoREce"? "nowdays"? "belive"?
Better go to www.dict.org instead of dwelling with glDrawElements. | | |
| | 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. | | |
| | congratulations, you're obviously focusing on the most relevant stuff in people's posts. | | |
|
|
|