Artem Posted March 21, 2014 Share Posted March 21, 2014 A while ago before I even started working with Babylon.js I've found some really cool software, but when I tried to import models from MagicaVoxel to Babylon.js there's something that went really wrong and some polygons look like they're inverted or something. Does anyone knows what's going on? Here's MagicaVoxel website:http://voxel.codeplex.com/ Quote Link to comment Share on other sites More sharing options...
gwenael Posted March 21, 2014 Share Posted March 21, 2014 Hi Artem, How do you export from MagicaVoxel? Do you first export to FBX and then to babylon.js? Which tool do you use? Quote Link to comment Share on other sites More sharing options...
Artem Posted March 21, 2014 Author Share Posted March 21, 2014 Hello, gwenael. I exported *.obj from MagicaVoxel, then used Babylon's converter and then I tried to load *.babylon output file using Babylon's sandbox. Result: It used to be a castle :\ Quote Link to comment Share on other sites More sharing options...
gwenael Posted March 21, 2014 Share Posted March 21, 2014 Could you try to open your obj file in Blender and then export to babylon.js from Blender? Quote Link to comment Share on other sites More sharing options...
gryff Posted March 21, 2014 Share Posted March 21, 2014 Try importing your .obj file into Blender. Select your "castle" and go into edit mode, make sure all verts are selected then in the "Mesh" menu ->Normals->Recalculate Outside (or Cntrl+N, I believe). Sometimes moving models between software packages gives strange normals. cheers, gryff gwenael 1 Quote Link to comment Share on other sites More sharing options...
Artem Posted March 21, 2014 Author Share Posted March 21, 2014 Thanks for the tips everyone! ♥ I'll give it a try tomorrow. Quote Link to comment Share on other sites More sharing options...
Artem Posted March 23, 2014 Author Share Posted March 23, 2014 Ah, it was http://www.babylonjs.com/converter.html's fault (I'm not sure if it's a error though), babylon exporter from github works as it should: Xanmia and gwenael 2 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.