Jump to content

Error in BABYLON.Mesh class ?


mewe
 Share

Recommended Posts

I ported this

 

http://threejs.org/examples/#webgl_buffergeometry_uint

 

sample to babylon. If the number of triangles goes above a certain limit, they wont be rendered at all. I suspect that the number of indices in a mesh has something to do with it. But that is only an idea...

 

If you check the "Basic Elements" sample in playground and increase the sphere's tesselation from 10 to 200, its not a sphere anymore. The lower half is "cut". Increasing the tesselation, "cuts" even more. At a tesselation of 250, half of the sphere is gone. Have a look:

 

http://www.babylonjs-playground.com/#2FFMLF

 

 

Link to comment
Share on other sites

because it supports 32 bits extension (https://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/

 

We are working on adding it to bjs sooooooooon (really soon:))

 

I've updated the playground with current alpha version and TADAMM!! your demo is now working :)

 

http://www.babylonjs-playground.com/#2FFMLF

 

Excellent! This will close like, a fifth of the issues on this forum. (Also lets CEWBS safely use dimensions > 20x20x20) :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...