[FBX Import] Wrong scale on imported objects - General multi-level parenting issues... #54071

Open
opened 2018-02-14 16:28:41 +01:00 by Morgan Fraslin · 19 comments

System Information
Windows 10 GTX 760

Blender Version
Blender 2.79 Hash: 5bd8ac9

Short description of error
Objects are not imported with a correct scale

Exact steps for others to reproduce the error

  • Launch blender
  • Import the fbx 3_KVM_Switch.FBX (exported from 3DS Max)
  • It displays almost no detail
  display expected: {F2272856}
  display obtained: {F2272898}
  • Look for object named group_2
  • Change its scale to 1,1,1
  • Display is better but there are still some issues (scale still wrong on other objects and mesh of group_2 scaled too much)
**System Information** Windows 10 GTX 760 **Blender Version** Blender 2.79 Hash: 5bd8ac9 **Short description of error** Objects are not imported with a correct scale **Exact steps for others to reproduce the error** - Launch blender - Import the fbx [3_KVM_Switch.FBX](https://archive.blender.org/developer/F2272864/3_KVM_Switch.FBX) (exported from 3DS Max) - It displays almost no detail ``` display expected: {F2272856} display obtained: {F2272898} ``` - Look for object named group_2 - Change its scale to 1,1,1 - Display is better but there are still some issues (scale still wrong on other objects and mesh of group_2 scaled too much)
Author

Added subscriber: @MorganFraslin

Added subscriber: @MorganFraslin

#98218 was marked as duplicate of this issue

#98218 was marked as duplicate of this issue

#61011 was marked as duplicate of this issue

#61011 was marked as duplicate of this issue

blender/blender#60070 was marked as duplicate of this issue

blender/blender#60070 was marked as duplicate of this issue

#58877 was marked as duplicate of this issue

#58877 was marked as duplicate of this issue

Added subscriber: @mont29

Added subscriber: @mont29

I suspect this file uses advanced FBX features we do not support… but hard (impossible) to tell with such a big fat FBX, please try to reproduce same issue with dead simple file (like, only a few cubes, without any addition like materials, textures, animation, etc.).

I suspect this file uses advanced FBX features we do not support… but hard (impossible) to tell with such a big fat FBX, please try to reproduce same issue with dead simple file (like, only a few cubes, without any addition like materials, textures, animation, etc.).
Author

Hi, please find here a much lighter file. I'm not able to reproduce the issue with a scene built from scratch so I've simplified as much as possible the current scene. I hope it will be ok.

Fbx file: SimpleSample.fbx
Expected result: ExpectedDisplaySample.png
Obtained result: ObtainedDisplaySample.png

Hi, please find here a much lighter file. I'm not able to reproduce the issue with a scene built from scratch so I've simplified as much as possible the current scene. I hope it will be ok. Fbx file: [SimpleSample.fbx](https://archive.blender.org/developer/F2327047/SimpleSample.fbx) Expected result: ![ExpectedDisplaySample.png](https://archive.blender.org/developer/F2327049/ExpectedDisplaySample.png) Obtained result: ![ObtainedDisplaySample.png](https://archive.blender.org/developer/F2327053/ObtainedDisplaySample.png)
Bastien Montagne self-assigned this 2018-02-28 12:28:45 +01:00

Ok… so from very quick look, it’d appear issue is caused by 'geometric transform' of this FBX (in that specific case, scaling in not applied to 'local' Lcl Scaling, but to GeometricScaling).

Turns out Geometric transform should not be inherited by children. Unfortunately, we have no such thing in Blender. Working around that mess in the importer might be possible, but… it's going to be hell to do for sure, not even sure how to do it yet. Not to mention animations. :(

There seems to be some code to handle that in our importer, not sure what is wrong there yet, will try to find more time to check on this asap.

Cursing again to 666 Hells the insane transformation model of FBX.

Ok… so from very quick look, it’d appear issue is caused by 'geometric transform' of this FBX (in that specific case, scaling in not applied to 'local' `Lcl Scaling`, but to `GeometricScaling`). Turns out Geometric transform should **not** be inherited by children. Unfortunately, we have no such thing in Blender. Working around that mess in the importer *might* be possible, but… it's going to be hell to do for sure, not even sure how to do it yet. Not to mention animations. :( There seems to be some code to handle that in our importer, not sure what is wrong there yet, will try to find more time to check on this asap. *Cursing again to 666 Hells the insane transformation model of FBX.*
Author

Did you manage to check the issue further? I'm quite stuck with my workflow because of this (I need to do a lot of manual adjustment to work around this problem). Maybe a temporary patch (I don't need animation) or some indication to work on it myself in the script (but I'm not very efficient with python and the blender api).

Thanks!

Did you manage to check the issue further? I'm quite stuck with my workflow because of this (I need to do a lot of manual adjustment to work around this problem). Maybe a temporary patch (I don't need animation) or some indication to work on it myself in the script (but I'm not very efficient with python and the blender api). Thanks!
Added subscribers: @stevewarner, @danny.austin, @zabloct, @brecht, @StephenSwaney
Bastien Montagne changed title from [FBX Import] Wrong scale on imported objects to [FBX Import] Wrong scale on imported objects - General multi-level parenting issues... 2019-02-01 15:30:18 +01:00

Added subscriber: @ZedDB

Added subscriber: @ZedDB
Bastien Montagne removed their assignment 2019-08-12 15:59:15 +02:00

Added subscriber: @marstaik-1

Added subscriber: @marstaik-1

This has been open for quite a while and makes it near impossible to work with Maya exported animations or Motionbuilder animations, which are crucial to production workflows. Almost always anything with animations is imported with some added 0.1 scale, which you cannot apply to the parent since it will destroy all the animations.

Can we please get an update on this?

With this fixed, we can start to use this professionally in our game development. But as of now, Blender is getting put on the back-burner.

This has been open for quite a while and makes it near impossible to work with Maya exported animations or Motionbuilder animations, which are crucial to production workflows. Almost always anything with animations is imported with some added 0.1 scale, which you cannot *apply* to the parent since it will destroy all the animations. Can we please get an update on this? With this fixed, we can start to use this professionally in our game development. But as of now, Blender is getting put on the back-burner.

I've been having the same problem exporting from 3ds max. Even with this 3rd party exporter tool I had to write some automation in 3ds max to bake all the transforms before exporting to Blender. Even then the Z transforms were off. We are in the same boat in that the issue is stopping us from using Blender in a commercial environment.

https://gumroad.com/l/B2MAX

I've been having the same problem exporting from 3ds max. Even with this 3rd party exporter tool I had to write some automation in 3ds max to bake all the transforms before exporting to Blender. Even then the Z transforms were off. We are in the same boat in that the issue is stopping us from using Blender in a commercial environment. https://gumroad.com/l/B2MAX

Danny, if you haven't seen it already, there's a dedicated FBX Import/Export addon on the Blender market. I've tested it and can say that it overcomes most (if not all) of the native FBX issues in Blender.

https://www.blendermarket.com/products/better-fbx-importer--exporter

If you're doing professional work in Blender (which we are) and you have a mixed development pipeline (which we do), you'll likely find that this addon is a life saver. It's updated regularly and its feature set is really impressive.

Just thought I'd pass that on while we wait for native FBX support to improve.

Danny, if you haven't seen it already, there's a dedicated FBX Import/Export addon on the Blender market. I've tested it and can say that it overcomes most (if not all) of the native FBX issues in Blender. https://www.blendermarket.com/products/better-fbx-importer--exporter If you're doing professional work in Blender (which we are) and you have a mixed development pipeline (which we do), you'll likely find that this addon is a life saver. It's updated regularly and its feature set is really impressive. Just thought I'd pass that on while we wait for native FBX support to improve.

Steve, that it totally appreciated! Tanks a lot for the assistance.

Steve, that it totally appreciated! Tanks a lot for the assistance.

Added subscriber: @sbaranov

Added subscriber: @sbaranov
Member

Added subscribers: @uzaydenizyilmaz, @PratikPB2123

Added subscribers: @uzaydenizyilmaz, @PratikPB2123
Sign in to join this conversation.
No Milestone
No project
No Assignees
8 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#54071
No description provided.