Multi-picking all intersected faces?

Recommended Posts

Hey there,

I'm looking for a way to find all the intersections of a ray passing through a scene: an extension of multi-pick, but capturing multiple face intersections for convex (or non-planar) objects. That means front face, back face, and potentially others.

Why?  I'd like to simulate a core sample of a scene by collecting front and back faces along a ray, sorting them, and figuring out the inside/outside relationships.

Is there any reasonable way to reuse the Babylon.js picking machinery to do this?


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.