Numa Posted April 23, 2016 Share Posted April 23, 2016 Hi there, It's nor really a bug but it would be nice to have a bool for that. the objLoader creates one mesh per material. Could we make that optional? In some cases people might only be interested in getting the correct geometry. https://github.com/BabylonJS/Babylon.js/blob/master/loaders/OBJ/babylon.objFileLoader.js#L596 Thanks! Quote Link to comment Share on other sites More sharing options...
RaananW Posted April 26, 2016 Share Posted April 26, 2016 I believe this is an OBJ feature, as it doesn't support multimaterials. You can only assign a new material to a new geometry, which, in babylon terms, means a mesh. Might be possible if we add all geometry data to a single mesh and use multi-material ourselves, I just think it will be the same as adding all meshes from the OBJ to a parent mesh and move it instead of the other objects. 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.