vlad.b Posted April 18, 2017 Share Posted April 18, 2017 Hello Is there a way to change the decimal precision exported in the .babylon file? I'm looking for more than 4 decimals for positions and uvs. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 18, 2017 Share Posted April 18, 2017 Hello so far there is no option for that Serialization is done here: https://github.com/BabylonJS/Babylon.js/blob/master/Exporters/3ds Max/Max2Babylon/Exporter/BabylonExporter.cs#L315 Perhaps we can tweak the serialization options Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted April 18, 2017 Share Posted April 18, 2017 While, I cannot see that is anything other than a waste for my work, if I was trying to do that from Blender and did not want to change the code, I would apply a rescaling of 10, 10, 10 of geometry for each decimal of precision prior to export. So a 5.0234, 2.4560, -0.3444 would become 50.2346, 24.5680, -3.4447. Apply the inverse upon load. Not a work of art, but unless you can change / build code, it is a quick way to see if lack of precision is your problem. 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.