Skip to content
Prev 311118 / 398506 Next

Question about contour3d and writeWebGL: rgl and misc3d package

On 12-11-17 1:51 PM, John Muschelli wrote:
There's a thread from last year here:

https://www.khronos.org/webgl/public-mailing-list/archives/1102/msg00093.html

that says that WebGL is limited to 65535 vertices in any object.  I 
assume that limit is still in effect, and your scenes probably have too 
many vertices.

The writeWebGL function doesn't do any checks for things like this. 
I'll think about having it split up objects as required, but in the 
meantime, you'll need to do it yourself.

Duncan Murdoch