highvrahos Posted January 22, 2014 Share Posted January 22, 2014 Hello, we have been using the blender exporter to load models in our Babylon.Js app, with success. But when we changed our modelling pipeline and our modeler started using the command line we got the following problem. Normals seems to not be calculated correctly, and I'm not sure if they are just inverted. In first photo, the pipeline is OBJ -> Import in Blender -> Directly export to .BABYLON In the second photo, same OBJ directly converted to .BABYLON using the Command line. Thank you in advance, Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 23, 2014 Share Posted January 23, 2014 Looks like an invertion of normals and faces... Could you try to use a .fbx? (in this case you can add a /rh to the command line to invert normals) Quote Link to comment Share on other sites More sharing options...
highvrahos Posted January 23, 2014 Author Share Posted January 23, 2014 Looks like an invertion of normals and faces... Could you try to use a .fbx? (in this case you can add a /rh to the command line to invert normals) Ah, I didn't know you could invert normals using the command line on a .fbx. Thank you, I'll try that and let you know. Quote Link to comment Share on other sites More sharing options...
gwenael Posted January 23, 2014 Share Posted January 23, 2014 ProfessorF added the flag to be able to consider using left or right handed system. BabylonJS is left-handed. Quote Link to comment Share on other sites More sharing options...
highvrahos Posted January 23, 2014 Author Share Posted January 23, 2014 Ah, I didn't know you could invert normals using the command line on a .fbx. Thank you, I'll try that and let you know. Edit: I apologise, my conclusion was wrong, due to cached models I didn't know the broswer was still loading. Quote Link to comment Share on other sites More sharing options...
highvrahos Posted January 23, 2014 Author Share Posted January 23, 2014 Edit: I apologise, my conclusion was wrong, due to cached models I didn't know the broswer was still loading. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 23, 2014 Share Posted January 23, 2014 So you're fine or not? 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.