Jump to content

Constructive Geometry on Imported Meshes - CSG


ancientholiday
 Share

Recommended Posts

I am trying to perform a Boolean subtraction operation on an imported Mesh (skull.babylon).  I have downloaded the demo from Babylon CSG.

 

Demo: http://www.babylonjs-playground.com/#NZPX4

 The operation seems to work on native meshes, but not on imported meshes.  Has anyone tried this before?

I used the loader to bring in the mesh, and then tried to reference it in the subtraction operation.

So far, no luck

 Thanks

indexCSG.html

Link to comment
Share on other sites

Booleen operations are geometry dependant, of course. I have discovered many booleens that either don't subtract, or produce unusable results. The more complex and edge vertices, the more computation is required - and will often reach a point where the result cannot rectify. Booleens are quite tempormental operations, and I generally avoid them until there is no other option left to produce a desired result. Perhaps this is old school carefulnes, but they are definately computationally heavy and quite often produce undesired artifacts.

Link to comment
Share on other sites

  • 1 year later...

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