Not correct imports some fbx files. Scale of its bones not equal scale its mesh. #104753

Open
opened 2023-07-13 15:32:57 +02:00 by Igor-Filatov · 4 comments

System Information
Operating system: Linux-6.1.38-gentoo-x86_64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700K-with-glibc2.37 64 Bits
Graphics card: NVIDIA GeForce RTX 4080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 525.125.06

Blender Version
Broken: version: 3.5.1, branch: unknown, commit date: 1970-01-01 00:00, hash: unknown
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: FBX format (4, 37, 5)
Author: Campbell Barton, Bastien Montagne, Jens Restemeier

Short description of error
Not correct imports some fbx files. Scale of its bones not equal scale its mesh.

Exact steps for others to reproduce the error
After download asset for Unity wolf and converting with fbx converter imported armature take other size of mesh. But in "Unity3d" imported correct.

I fixed it, patch attached

**System Information** Operating system: Linux-6.1.38-gentoo-x86_64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700K-with-glibc2.37 64 Bits Graphics card: NVIDIA GeForce RTX 4080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 525.125.06 **Blender Version** Broken: version: 3.5.1, branch: unknown, commit date: 1970-01-01 00:00, hash: `unknown` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: FBX format (4, 37, 5) Author: Campbell Barton, Bastien Montagne, Jens Restemeier **Short description of error** Not correct imports some fbx files. Scale of its bones not equal scale its mesh. **Exact steps for others to reproduce the error** After download asset for Unity [wolf](https://assetstore.unity.com/packages/3d/characters/animals/wolf-animated-45505) and converting with [fbx converter](https://www.autodesk.com/developer-network/platform-technologies/fbx-converter-archives) imported armature take other size of mesh. But in "Unity3d" imported correct. I fixed it, patch attached
Igor-Filatov added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-07-13 15:32:57 +02:00
Member

Hi, thanks for the report. Scaling could be different by some factor of imported object due to default unit used by software.
I don't know how to get this object from asset-store in fbx format (I don't have Unity installed). Could you share fbx file directly?
This could be a known scaling issue as described in #68575

FBX handling of scale/units, and (the biggest culprit) FBX transformation model, especially when it comes the parenting chains (children objects, but also the whole skeleton thing).

Hi, thanks for the report. Scaling could be different by some factor of imported object due to default unit used by software. I don't know how to get this object from asset-store in fbx format (I don't have Unity installed). Could you share fbx file directly? This could be a known scaling issue as described in #68575 > FBX handling of scale/units, and (the biggest culprit) FBX transformation model, especially when it comes the parenting chains (children objects, but also the whole skeleton thing).
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-08-08 11:04:24 +02:00
Author

Hi, problem for me in self.get_bind_matrix().normalized() - it remove scaled values in bones transforms.
I not sure what EULA allows sharing parts of package. But Unity free for Mac, Linux, Windows

Hi, problem for me in self.get_bind_matrix().normalized() - it remove scaled values in bones transforms. I not sure what EULA allows sharing parts of package. But Unity free for Mac, Linux, Windows
Member

I not sure what EULA allows sharing parts of package. But Unity free for Mac, Linux, Windows

ok, I may need to download Unity to get single fbx file 😅
Will ask others to check

> I not sure what EULA allows sharing parts of package. But Unity free for Mac, Linux, Windows ok, I may need to download Unity to get single fbx file 😅 Will ask others to check
Author

The world isn't perfect (c) :-)

The world isn't perfect (c) :-)
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-10-11 10:45:48 +02:00
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#104753
No description provided.