FBX Export Scaling Wrong #50159

Closed
opened 2016-12-02 14:50:21 +01:00 by Steffen Dünner · 8 comments

System Information
Win10 x64, nVidia GTX 780

Blender Version
Broken: all latest builds from Buildbot
Worked: 2.77, 2.78a

Short description of error
If I export the simple default cube (2m in diameter if you set Blender to "Metric") to FBX with default settings and import this file in Blender again, the cube now is 2cm in size. The cube's scale is set to 0.01.

If I import the very same cube exported from e.g. Blender 2.77 or 2.78 it comes in at the right scale.

I noticed that if I uncheck the "EXPORT_SCENE_OT_fbx.apply_unit_scale" option in the exporter the cube gets exported with the right scale in the latest build as well.
In previous versions the cube gets exported at the right scale no matter if this option was on or off.
Looks like a regression in the FBX exporter.

Exact steps for others to reproduce the error

  • add a default cube
  • export as FBX with default settings
  • import this FBX and it's tiny
**System Information** Win10 x64, nVidia GTX 780 **Blender Version** Broken: all latest builds from Buildbot Worked: 2.77, 2.78a **Short description of error** If I export the simple default cube (2m in diameter if you set Blender to "Metric") to FBX with default settings and import this file in Blender again, the cube now is 2cm in size. The cube's scale is set to 0.01. If I import the very same cube exported from e.g. Blender 2.77 or 2.78 it comes in at the right scale. I noticed that if I uncheck the "EXPORT_SCENE_OT_fbx.apply_unit_scale" option in the exporter the cube gets exported with the right scale in the latest build as well. In previous versions the cube gets exported at the right scale no matter if this option was on or off. Looks like a regression in the FBX exporter. **Exact steps for others to reproduce the error** - add a default cube - export as FBX with default settings - import this FBX and it's tiny

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @SteffenD

Added subscriber: @SteffenD

Added subscriber: @mont29

Added subscriber: @mont29
Bastien Montagne self-assigned this 2016-12-02 21:43:59 +01:00

Most certainly caused by afeee1999, will check.

Most certainly caused by afeee1999, will check.

So, can you please download be617f7a2c.tar.gz and replace your current FBX addon directory content by what's in that archive? it's an attempt to rework (yet again :/ ) scaling handling in the exporter, you know have fours choices to apply custom and unit scaling either fully locally, fully as an FBX scale, or mixes of both.

Let me know if any of those four options work as you'd expect.

So, can you please download https://git.blender.org/gitweb/gitweb.cgi/blender-addons.git/snapshot/be617f7a2c1ebbb41d9ac96b932b439d4a2d5dcd.tar.gz and replace your current FBX addon directory content by what's in that archive? it's an attempt to rework (yet again :/ ) scaling handling in the exporter, you know have fours choices to apply custom and unit scaling either fully locally, fully as an FBX scale, or mixes of both. Let me know if any of those four options work as you'd expect.

Wow! That looks great. I don't have much time to test all kinds of combinations but following the repro steps in this bug report gave me the results I expected:

Export with default options -> Import with default options -> same scale, all is great! :)

Wow! That looks great. I don't have much time to test all kinds of combinations but following the repro steps in this bug report gave me the results I expected: Export with default options -> Import with default options -> same scale, all is great! :)

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Thanks, committed in master addons as 8b2a241bac.

Thanks, committed in master addons as 8b2a241bac.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#50159
No description provided.