Sign in to follow this  
ancientholiday

Constructive Geometry on Imported Meshes - CSG

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

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.