Hello experts !
I have an OpenGL view in which I would like to display points.
So far, this is something I can handle ;)
For every point, I have its coordinates (X ; Y ; Z) and a value (unsigned char).
I have a color array giving the link between one value and a color.
For example, 255 is red, 0 is blue, and so on...
The problem is that since I would like that dynamically, I can change a threshold to "hide/show" the points depending on their corresponding value and as I will have lot of points to display (maximum 5 billions but in a standard usage, maybe 1~2 millions), I am worried that the performance will be pretty bad.
So I am now looking for the best way to handle this.
I am interested in the VBO. I have read that it will allow some good performance and also that I can modify the buffer as I want without recalculating it from scratch (as with display list).
1) Do you have other ideas ?
2) With VBO I don't understand how it is possible to select the color of the points in the buffers. How to do that ?
Thanks in advance !