Ok guys here is the addon updated for fix the problem with the scale using BIN 7400 however I want continue making changes related with this. Basically , remove the option for export in ASCII 6100.
Before publish a new version on the addon main page, I want to know if someone still using ASCII 6100, or if this format can be useful for something related with UE4 ( I think no but I can be wrong).
Let me explain the changes and why
In :
-
When ASCII 6100 is used, the export scale is equal to how many you want scale the mesh before export, so for example , the scene scale is 1 in meters, and on the export options the scale is set to 100, then will scale the mesh by 100 and then export it. This was only for static meshes (if I not remember wrong , skeletal meshes work like in BIN 7400)
-
When BIN 7400 is used it work in different way. What matters is the scene scale. So if scene scale is set to 1 and you have 1 cube(2m) and export scale is set to 1000 the FBX will “think” that the mesh is in kilometers so when you import the mesh in another app , the size for the cube is 2 Km.
So what I done is the following:
- Each time you init the addon, the addon export scale will be set up like the scene scale.
- If you set up the scale for UE4 through the addon, the export scale will be set appropriately if you have the Format BIN 7400 (0.01) selected (is by default)
- If you select ASCII 6100 no changes
- If you select BIN 7400 on the addon drop down menu, the export scale will be set appropriately ( to the scene scale, so for people who like work in units instead, still work)
- In case you change the scene scale manually for some reason, you must update manually the export scale (or just re-choose the in the drop down menu ’ BIN 7400’) because…
Now let me explain the "problem " and why I want to remove the ASCII 6100:
I only have 1 way to know if the scene scale is changed and change the addon export scale appropriately. Using the scene scale value for the export when you press a button or something on the addon. But this have a problem because ASCII 6100 not use the scene scale. I can make some check and some calculations etc… or just remove ASCII 6100
So please let me know what do you think about the ASCII 6100 and if you use it in some way.
BTW, since I’m working on the addon now, I will try to upload to Github now
Greetings!