arek3D

Should simplify() method work with custom mesh?

Recommended Posts

Hi!

I have created a custom mesh like this:

new BABYLON.Mesh("custom", this.scene)

And after added simplify() method, nothing has been changed.

I have created a playground for testing this issue. As you can see, the same settings in simplify() method change the structure of sphere, but do not change my custom mesh:
https://playground.babylonjs.com/#JT9SFV#4

Is it a bug, or it is impossible to add simplify() method to custom mesh?

Share this post


Link to post
Share on other sites

I am working with meshes where are huge amount of faces. This is only an example but the behaviour is the same.
I think the second part of your answer is the reason.
So here is the next question - how to weld these vertexes to have one object instead of bunch of faces?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.