I’m using a very simple piece of code to render a VBO of vertices.
It works well for 1.000, 10.000,100.000 points.
But when using 1.000.000 points, a few of them are displayed with wrong coordinates.
It looks like one or several of their coordinates is/are set to 0, and the others are random. (just a guess from what it looks like). Some others are completely random.
On the radeon 9600, these ‘wrong’ points draw a circle on each xy or yz or xz planes, centered at 0, and of radius 0.5.
I know some people say VBO should not be too big… but what means ‘should’ ? I don’t get any error from GL.
Any idea about that ?
I get the same strange results on an nvidia nvidia geforce fx 5700 and also on a radeon 9600…
(driver for the geforce at least are recent (less than 2 months)).
If you get the same result on different vendors’ graphics this points to an error in your code.
I would look for wrong mallocs, memcpy, for-loops etc.
Try if it works without VBOs just using vertex arrays.