highvrahos Posted December 25, 2013 Share Posted December 25, 2013 Hello, I'm experiencing some problems with the correct conversion of .obj models to .babylon. Models are quite complex (50.000-80.000 vertices), appear correctly in 3ds Max and in Blender. When exported to .babylon some of the models appear distored when rendered in the browser. It seems there is some issue with normals or texturing? I can't isolate the problem. Check the images attached (WebGL and Blender). Any help will be greatly appreciated. Thank you, Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 25, 2013 Share Posted December 25, 2013 This may be due to a wrong mesh construct. This is just an idea... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 26, 2013 Share Posted December 26, 2013 babylon.js does not (because webgl does not) support meshes with more than 65536 vertices. This requires 32 bits indices where standard webgl only support 16bits indices for meshes with more than 65536 vertices, you have to cut them off into smaller parts Quote Link to comment Share on other sites More sharing options...
highvrahos Posted December 27, 2013 Author Share Posted December 27, 2013 Ah, now it makes sense. I was aware of that limitation from the old days of OpenGL, just didn't think still exists. Yes, models with less than 65536 vertices load correctly. Thank you very much for your answer. Best regards, 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.