Jump to content

Behavior change for parametric Tube between v3.2 and v3.3


Recommended Posts


I am using a cylinder (created with CreateTube) to visualize a SpringJoint. The cylinder is updated in scene.registerBeforeRender. The following code works with BabylonJS v3.2 but breaks for v3.3.


If you want the specific babylon libraries I'm using please see the babylon.custom.3.*.js files in:


Any idea what is causing this change in behavior between versions?


Link to comment
Share on other sites

Mmmh really weird indeed.

I just checked in the Github PR history : the latest changes in the Tube or Ribbon code (the tube is a ribbon-based shape) are at least one year old.  Moreover the bug happens only on the tube update.

So I guess this issue doesn't come from the tube geometry itself but rather from the vertex buffer update : how or when it's updated ?

Can someone here remember about a recent change in the ribbon update ? I can see this about some _creationDataStorage that I don't really know :

Not sure it's the reason though, but the rest of the existing looks still familiar to me
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.

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.


  • Recently Browsing   0 members

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