Recommended Posts

Hi everybody,

I am currently working on a project for which I use different levels of detail for my meshes. I also need to use CSG to perform Boolean operations. 

As you can see on this PG, despite refreshing the CSG at each frame, only the high-poly mesh is used in the intersection, even if it is a low-poly mesh that is displayed.

I have already considered several methods to achieve the desired result:

  • In the case of CSG with static meshes, I could of course perform my Boolean operations upstream, and use the results directly in my LODs system.
  • In the case of CSG with dynamic meshes (whose vertex data, position, rotation or scale can evolve), I would have to recover the event of the passage from one LOD to one other (is there an observable?) in order to do the boolean operation between the actually displayed meshes.
    If the switch between LODs is not listenable/observable, I will probably have to recode part of the LOD system, but why not.

Do you have other ideas to effectively combine these two features?
It would be great if Babylon could handle this natively!

Thanks in advance!
 

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.