MrGroove Posted August 2, 2018 Share Posted August 2, 2018 Hi everybody, is it possible to clip an object for a specific plane inside of a scene? Here's an example from tree.js: https://threejs.org/examples/webgl_clipping.html Is there something similar in BJS? Thanks in advance . Quote Link to comment Share on other sites More sharing options...
Guest Posted August 2, 2018 Share Posted August 2, 2018 Yes sir! https://www.babylonjs-playground.com/#UKNERM#22 babbleon 1 Quote Link to comment Share on other sites More sharing options...
MrGroove Posted August 2, 2018 Author Share Posted August 2, 2018 Nice, thank you! would it be possible to get the points of intersection with this method? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 2, 2018 Share Posted August 2, 2018 all the points you mean? This will be a geometric operation then And you will have to go through all vertices and faces and do a manual intersect with the plane Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.