aaronmck Posted August 3, 2016 Share Posted August 3, 2016 Hi! I created a pc case model in 3ds max and added light and a camera etc... I then exported it using the babylon exporter plugin but when I view it in sandbox a lot of the pieces of the case are missing. You can see from the screenshots below what it should look like and what it looks like in Sandbox. I have attached a zip file with the 3ds max file along with the materials and the .babylon file that was created. Any help would be appreciated Aaron case.zip Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted August 3, 2016 Share Posted August 3, 2016 Hi, @aaronmck i didn't check your file, but looking at it your screenshots, it could very well be backface culling, make sure your materials for all meshes have it set to false. In babylon.js, mesh.material.backFaceCulling = false; Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 4, 2016 Share Posted August 4, 2016 Can you also provide potential errors reported by the console? Quote Link to comment Share on other sites More sharing options...
aaronmck Posted August 4, 2016 Author Share Posted August 4, 2016 @Deltakosh There are no errors reported either in the exporter or in Sandbox Quote Link to comment Share on other sites More sharing options...
aaronmck Posted August 4, 2016 Author Share Posted August 4, 2016 Ok, so I figured out what the problem is. When I use the boolean function in 3ds Max to subtract a hole in another shape and try to run it in the sandbox it disappears. If I undo the subtraction and run it, it displays fine. So the boolean function in max must be affecting the geometry of the shape or something. Has anyone encountered this issue before and has a solution? Because I don't want to have to remodel everything. Thanks. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 4, 2016 Share Posted August 4, 2016 If I remember correctly there is a way in 3dsmax to bake all transform and clean the heap right? Quote Link to comment Share on other sites More sharing options...
aaronmck Posted August 18, 2016 Author Share Posted August 18, 2016 Hey, Just to follow up if anyone has this issue in the future. I tried using ProBoolean to cut holes and union two objects and it now displays perfectly. Cheers! Quote Link to comment Share on other sites More sharing options...
Temechon Posted August 18, 2016 Share Posted August 18, 2016 You should also reset XForm on all objects before exporting to 3DSMax ( = bake all transform and clean the heap as DK suggested) 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.