mattx264 Posted October 15, 2014 Share Posted October 15, 2014 Hi everybody, Does any body know how to create mesh, something like Boolean modifier. It have to allow to see through walls.Thank you for help. Quote Link to comment Share on other sites More sharing options...
culeaalex Posted October 15, 2014 Share Posted October 15, 2014 https://github.com/BabylonJS/Babylon.js/wiki/04-Materials myMesh.material = new BABYLON.StandardMaterial("texture1", scene); (or whatever material u want)material.alpha = 0.5; Quote Link to comment Share on other sites More sharing options...
mattx264 Posted October 15, 2014 Author Share Posted October 15, 2014 @cureaalex, i tried alpha (before i posted) it doesn't work.Thank you. any other idea ? Quote Link to comment Share on other sites More sharing options...
culeaalex Posted October 15, 2014 Share Posted October 15, 2014 @cureaalex, i tried alpha (before i posted) it doesn't work.Thank you. any other idea ?http://uwork.ro/babylon_test/test3.html => works for me in 1.3 and in 1.4Paste the code u have. Quote Link to comment Share on other sites More sharing options...
mattx264 Posted October 15, 2014 Author Share Posted October 15, 2014 I want to put inside wall mesh and see through it should make hole in the wall. Quote Link to comment Share on other sites More sharing options...
culeaalex Posted October 15, 2014 Share Posted October 15, 2014 I want to put inside wall mesh and see through it should make hole in the wall.Did u saw my example? It is something u are describing. U make a box, then a sphere, u align them as u want and then using BABYLON.CSG u can make a whole in the box, a whole exactly like the sphere.I u want only to have a see-throw wall like a portion of it, but not a whole, try looking at http://blogs.msdn.com/b/eternalcoding/archive/2013/07/10/babylon-js-using-multi-materials.aspx Quote Link to comment Share on other sites More sharing options...
mattx264 Posted October 15, 2014 Author Share Posted October 15, 2014 BabylonCSG -> this is what i was looking for thank you very mach ! culeaalex 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.