View Issue Details

IDProjectCategoryView StatusLast Update
0000189Gorilla3D[All Projects] Bug Reportspublic2023-01-11 12:30
ReporteradministratorAssigned Toadministrator 
PrioritynormalSeveritymajorReproducibilitysometimes
Status assignedResolutionopen 
Product Version0.8.4.x 
Target Version0.8.4.xFixed in Version 
Summary0000189: BUGFIX: FBX sometimes produces KeyValues with absolute joint transformation but in other cases only relative
DescriptionCurrently we detect the "KeyVer" value.
For 4008 we use absolute key value transformation, but in most cases it's relative.
We need a better way to solve this!
TagsNo tags attached.
Delphi-Version 11.0.0
OpenGLVersionOpenGL 4.3

Activities

administrator

2023-01-11 12:30

administrator   ~0000235

ChatGPT says:
There is no one specific way to detect whether the "KeyValues" in an FBX file are stored in absolute or relative format, as the information is not explicitly stored in the file. However, one way to determine the format is to examine the animation data and compare it to the bind pose of the model.
If the animation data is in absolute format, each keyframe should represent the exact position and rotation of the joint in 3D space at that point in time, and this transformation matrix should be completely different from the bind pose.
If the animation data is in relative format, each keyframe represents the difference in position and rotation of the joint compared to its parent joint, so if you apply these values on top of the bind pose, you will get the same result as the absolute format.
Another way to check this is to use the SDK or API that the FBX library provides, it should give you the option to check the format of the data, or to set the format of the data when you export.
Please note that the way to check or set the format of the data is depending on the specific SDK or API you are using, and you should check the documentation of your library to see the exact method.

Issue History

Date Modified Username Field Change
2022-04-14 12:46 administrator New Issue
2022-04-14 12:46 administrator Status new => assigned
2022-04-14 12:46 administrator Assigned To => administrator
2022-05-25 09:36 administrator Summary Bug: FBX sometimes produces KeyValues with absolute joint transformation but in other cases only relative => BUGFIX: FBX sometimes produces KeyValues with absolute joint transformation but in other cases only relative
2023-01-11 12:30 administrator Note Added: 0000235