View Full Version : Rendering Points - which method
12-05-2006, 03:26 PM
I have a very large set of points (~6-7 million) I wish to render. At the moment I am not concerned about acceleration structures. I am simply interested in hearing others experience with rendering large amounts of points. As I have not yet implemented the point rendering I am curious which method is generally the fastest.
I am guessing that vbo or vertex arrays are a good bet (probably these calls should even be stored in a display list, but that may not be the key issue here, or?).
I am grateful for any comments on this topic!
12-05-2006, 04:42 PM
Always bet on VBOs.
12-06-2006, 12:20 AM
probably these calls should even be stored in a display listIf you have all these points on the screen then display list won't help. If large amount of them if outside view frustum, then display list can (but doesn't have to) optimize this with frustum culling.
If you properly implement frustum culling and use it with VBO then you will have very high performance.
12-06-2006, 07:02 AM
If I test every point if it is in the frustum this will mean iterating over every point each frame.
I suppose an octree would be much more efficient here, so that tree-cells can be checked, instead of individual points. This might mean however, that points in cells that are partly inside the frustum get rendered, even though they don't end up on screen, but this may be a small price to pay.
Any thoughts on this?
12-10-2006, 08:21 AM
I'd go with some optimisation structure like an octree, yeah. If the point data is static, you could compile each cell to a display list if you wanted.
Do people use display lists anymore? I'm hopelessly out of date :p
paul\'s opengl page (http://www.paulyg.f2s.com)
12-11-2006, 08:06 AM
Yes it is static, so it would make sense to use display lists. But in my case I think I might be better of storing a the indices into the VBO for each cell, which I suppose is more or less the same thing...
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.