You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.
Unfortunately, that is not the way to do it. It would be far slower than what we have now, since you'd have lots of state changes for every primitive being drawn. What we need to do is rewrite the code so that you cache the primitives at a higher level.
i don't get which kind of caching you're referring to, from what i understand vertex array are useful to lowering cpu usage, performance about same as glbegin() on some case could be better and some other could be worst. example if object were shared sprites (terrains or tanks) we could put vertex array inside display list although this would use more memory,but some implementations may cache display lists on the graphics hardware, so the benefits of this caching could easily offset the extra memory usage.
Performance of vertex arrays is only useful for large data sets, not individual primitives. We are not really using vertex arrays, we use vertex buffer objects (VBOs) only. See eg http://www.songho.ca/opengl/gl_vbo.html for an explanation of the difference.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
resolution_closed
type_patch (an actual patch, not a request for one)
| by Ezionot finish, some drawing still broken. and could be improved with GLM
Issue migrated from trac:4015 at 2022-04-16 10:58:01 -0700
The text was updated successfully, but these errors were encountered: