Stvsynrj Posted December 10, 2015 Share Posted December 10, 2015 Hi guys, When i was playing with CSG, my first goal was to make an "empty" half ball. So the work to do that is, first, substract a cube from a sphere to have an half ball, then create a sphere with a diameter more little and substract it from the last generated mesh (the half ball). As you can see in this PG : http://www.babylonjs-playground.com/#1BMMFB#1 all works fine execpt that it want to close the face where the sphere was cut. it's a bug or i'm using CSG incorrectly ? Some precisions here would be cool. Stv. Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 10, 2015 Share Posted December 10, 2015 Hey man, There are no bugs. Just features! you mean something like this? http://www.babylonjs-playground.com/#1BMMFB#2 You created a mesh, then converted it back to CSG, but forgot to set it invisible. So just use the CSG object that was already created. Quote Link to comment Share on other sites More sharing options...
Stvsynrj Posted December 10, 2015 Author Share Posted December 10, 2015 That was fast ! thank you @RaananW ! tempMesh.isVisible = false; did the job Quote Link to comment Share on other sites More sharing options...
Stvsynrj Posted December 10, 2015 Author Share Posted December 10, 2015 Btw, you deserve an half disco ball ! http://www.babylonjs-playground.com/#G5CYM#20 iiceman 1 Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 10, 2015 Share Posted December 10, 2015 Stvsynrj 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.