adam Posted March 20, 2016 Share Posted March 20, 2016 There are overlapping faces on the mesh that is created. It isn't a major issue, but it is a problem for my project, because I would like to use CSG to create transparent meshes. You can see the issue here: http://www.babylonjs-playground.com/#TDUK0#27 The darker areas where the objects connect are overlapping faces. Here is a wireframe: http://www.babylonjs-playground.com/#TDUK0#28 Does BJS have a function that I can run the Mesh through to clean up those overlapping faces? Quote Link to comment Share on other sites More sharing options...
adam Posted March 20, 2016 Author Share Posted March 20, 2016 Here is another example: http://www.babylonjs-playground.com/#2652CL#0 wireframe: http://www.babylonjs-playground.com/#2652CL#1 I think it is caused by overlapping faces, but I might be wrong. Quote Link to comment Share on other sites More sharing options...
adam Posted March 21, 2016 Author Share Posted March 21, 2016 I came up with a work around which gets rid of the transparency issue. http://www.babylonjs-playground.com/#2652CL#8 Instead of using DoubleSide for sideOrientation, I use FrontSide. I clone the combined mesh and scale the new mesh by -1 and then merge them. GameMonetize and jerome 2 Quote Link to comment Share on other sites More sharing options...
adam Posted March 22, 2016 Author Share Posted March 22, 2016 If I wanted to stack these, is there anyway to do that so there is no seam between them? http://www.babylonjs-playground.com/#2652CL#9 Quote Link to comment Share on other sites More sharing options...
jerome Posted March 22, 2016 Share Posted March 22, 2016 I guess the seam is visible because there are twice the same normals on the same location : these of the lower tube and these of the upper one 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.