Z backwards in FBX for skinned meshes, scaling oddness blender 2.72 #42090
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#42090
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 7 64bit
nVidia GT 440 geforce 340.52
Blender Version
Broken: 2.72
Worked: ?
Short description of error
Z becomes -Z, -Z becomes Z (apparently). Notes on scaling fun.
Exact steps for others to reproduce the error
FBX 7.4 binary export, FBX 6.1 ASCII export
Choose a mesh with an animation, and export selected.
I used the meta-rig from rigify and stripped off the unwanted bones, and mostly automatic skinning.
Import it into something.
I tested with Unity 4.6 beta, Maya 2015
Some half arsed tests with other programs.
if -Z foreward, Y up on export, it ends up Z foreward Y up
Long version, with mini rants.
Unity 4.6 beta seems to have a robust importer, so it will 'work'. For some reason default import scale is 0.01, forcing import option (every time an object is imported) to change scale to 1, but that's Unity's quirk (I haven't discovered a setting to change this - and a search reveals it is something they don't appear to give a crap about, because the screwed up way of doing things makes sense to somebody).
In order to get the 'model' to look foreward in Unity's Inspector, use FBX 6.1 ASCII. The mesh component will appear face down, but the model and rig will appear correctly.
Trying FBX 7.4 binary, -Z, Z, 'apply transformations' (or not) the model always faces backwards.
The animations play.
Importing into Maya 2015 FBX 2015.1 (228957)
FBX 7.4 binary - the model always faces the opposite of what is expected in Z.
The parent node comes in as a transform, and has keyframes, such as rotate x -90, and usually the scale values as well, unless you had the foresight to export with a scale of 0.01. (comes in as a bone from the ascii, and the scale comes in as expected [i.e. "1"] just by leaving the export scale at 1).
The animations play.
Side note: This importer does not like "." in bone names, and substitutes some semi-gibberish (maya's problem I'm sure) that can be name replaced but is annoying. And yet Imports the ascii and changes the "." to an underscore.
Fiddled with an old UDK (FBX importer SDK 7.3.0, file 7.4.0), and of course the scale was tiny, so needs scale 100 on export (UDK units are, er, 2cm or 0.5cm or some such), always seems backwards, animation almost works - the character immediately faces the other way -origin hips at 0,0,0, (UDK setting to fix? since there is no 'root' bone at 0,0,0 and one foot bone got wrong rotations like many old FBX importers will do. FBX 6.1 ASCII mushes up the mesh on animation.
(rot origin yaw -90)
3DS max - tried one, it came in backwards, no animation. Closed program before head exploded.
Older autodesk FBX binary importers seem to lose something and end up with wrong rotations on a bone (or more?).TestPilot_TestRigTestAnim.blend
Changed status to: 'Open'
Added subscriber: @psychotropicdog
This report is way too confused. Rule one: do not mix issues in a single report. Here you talk about 6.1ascii (which is deprecated and no more maintained, and doomed to removal sooner or later) and 7.4 binary, you mix orientation, scale and animation issues it seems, using several different apps… I just cannot follow all this.
Focusing on orientation: Orientation is correct afaict, exported a mere Suzanne in (-Z, Y up), and got it facing -Z axis in Unity…, just like it is facing -Y in (-Y, Z up) in Blender's orientation.
ORIENTATION:
Try exporting an armature and it's mesh. Just exporting a static mesh (no armature) is going to give the same useless answer every Johnny on the spot on the forums is only to happy to post.
If it looks backwards in every app I try to import it into, than perhaps, regarding the orientation, this time the problem is in the blender exporter.
I APOLOGIZE if it seemed scatter brained, but without knowing exactly what was relevant information I attempted to include as much as I could in an effort to help trace where the problem (Z backwards armatures) actually resides. I would guess it is even more irritating to fix FBX issues than it is to use FBX.
Yeah…
So, issue would be with mesh+armature. will check.
Closed as duplicate of #42110