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

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

  • Recently Browsing   0 members

    No registered users viewing this page.