pion
1
I have the following code snippet
gl.drawArrays(gl.POINTS, 0, count);
It displays correctly as expected when count is less than 60,000.
However, it displays nothing when the count = 70,000.
Is there any limit as how many points we can draw?
If so, how do I query the max limit?
Thanks in advance for your help.
pion
2
I have found a temporary work around this problem.
I have to draw 300,000 points. I just loop it with the following code snippets
var count = 60000;
for (var from=0; from<300000; from+=count)
gl.drawArrays(gl.POINTS, from, count);
Please let me know if there is a better way.
I think there is a 65,536 limit someplace.
pion
4
Unfortunately, 65,536 doesn’t work for me. But 60,000 works for me.
I am using the Chrome Canary build.
Thanks.