fateriddle Posted October 31, 2018 Share Posted October 31, 2018 Can I dig a hole in one side of a box? And in really case I want a hole on one side of a skybox. Is it possible? Quote Link to comment Share on other sites More sharing options...
ssaket Posted October 31, 2018 Share Posted October 31, 2018 Playground please ! Moreover if it's a box, then delete the 2 facets that constitute the face of the box. Quote Link to comment Share on other sites More sharing options...
fateriddle Posted October 31, 2018 Author Share Posted October 31, 2018 @ssaket https://www.babylonjs-playground.com/#UU7RQ#1 What pg do you ... want? This is the demo skybox pg, Now I want a hole (square hole prefered) on one of the sides. (Not deleting the entire facet, just need a hole on it). Quote Link to comment Share on other sites More sharing options...
Guest Posted October 31, 2018 Share Posted October 31, 2018 Did you check the csg feature? https://www.babylonjs-playground.com/#T6NP3F#0 Blax 1 Quote Link to comment Share on other sites More sharing options...
ssaket Posted October 31, 2018 Share Posted October 31, 2018 Well, Interesting... I am super happy now One thing which i discovered while solving this is it's easier to create hole when we are generating mesh, it gets much more complicated after it's creation. (my old triangulation problem which I am trying to solve... I wonder how the blender's knife tool works ) I have modified the createBox code, you can pass the hole coords to the constructor in options along with the side, here have a look - https://www.babylonjs-playground.com/#UU7RQ#208 @Deltakosh Should we add this feature in the engine ? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 1, 2018 Share Posted November 1, 2018 Well this is a bit too niche to be in the framework ssaket 1 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.