Jump to content

Has something changed with mesh merging?


fenomas
 Share

Recommended Posts

Hi,

I recently updated my Babylon files to the latest nightlies. Since doing that, where my scene used to contain a few hundred meshes called "foo", it now contains several hundred more meshes called "foo_merged".

From grepping the source, it seems that these must be coming from BABYLON.Mesh.MergeMeshes, but as near as I can tell that should only get called by functions related to SceneOptimizer stuff, which I've never looked at and am not (consciously) using.

Has something changed (in the last few months) whereby the scene optimizer or some kind of mesh merging might be getting done automatically?

Thanks!

Link to comment
Share on other sites

1 hour ago, Deltakosh said:

Is it an problem for you? You can still provide your own mesh container if you want

I think you misunderstood my post. I don't know where these meshes came from, or whether they're containers, or what they're for. All I did was update BJS, and my scene had a few hundred new meshes with names like "xyz_merged". I'm asking: is this happening on purpose? If so, what's going on?

Link to comment
Share on other sites

2 hours ago, Deltakosh said:

It is on purpose :) If you want to mergeMEshes and do not provide a container then we will create it for you

 

Are you using MergeMeshes? Or perhaps the SceneOptimizer?

Okay, third try :) 

 I have never heard of MergeMeshes or SceneOptimizer. I don't know what they do.

I guess, based on the "foo_merged" meshes, that MergeMeshes is getting called in my scene, but I'm not calling it. So I'm asking, was there a recent change in BJS that would call this automatically, and if so, what sort of change was it?

 

Any further info would be great - a link to past discussion, or whatever. Thanks!

Link to comment
Share on other sites

Update: I found where one of my dependencies is calling MergeMeshes :)

So the question is, can anyone give me a hint what (if anything) has changed with MergeMeshes? (so I can figure out if my dependency needs to be updated)

Thanks!

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...