Collada exporter bind_shape_matrix value is invalid #75125
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#75125
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Windows 10
Blender Version 2.82a
When exporting a bone animation the bind_shape_matrix values are all high values :
<bind_shape_matrix>19.45208 0 0 -0.3147154 0 19.45208 0 1.118382 0 0 19.45208 0.06304169 0 0 0 1</bind_shape_matrix>
The matrix made sense from output in the previous blender version I was using 2.79 and were basically the relative to the position of the model influencing the bones in the world.
So moving about the boned model in the scene would relate back to this value directly and could see an obvious relationship.
In the new version of blender this value doesn't seem to change even if moving everything back to around zero.
The prevous working value exported in version 2.79 of blender:
<bind_shape_matrix>0.6139576 -0.789339 0 -0.6377065 0.7893391 0.6139575 0 -0.06193837 0 0 1 2.872992 0 0 0 1</bind_shape_matrix>
On loading up the same scene with no changes into blender 2.82a and then exporting the value jumps up to the higher values (mentioned at start of bug) where I have no idea where it is getting them.
Thanks in advance for help with this.
Added subscriber: @AdrianFox123
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Needs User Info'
Thanks for the report.
Could you provide a simple file and steps to reproduce the problem?
As explained in our submission template and guidelines.
Also explained here: https://www.youtube.com/watch?v=JTD0OJq_rF4
Main_Hub_Menu(2_82a_blender).blend
Main_Hub_Menu(2_82a_blender).dae
Main_Hub_Menu(2_79_blender).dae
Main_Hub_Menu(2_79_blender).blend
Here are some files of using blender 2.79 which works fine with a boned hand at correct position in game and version loaded up in 2.82a that hand is suddenly gigantic.
The export from the 2.79 version of blender works fine but as soon as convert to 2.82a it messes up the bind_shape_matrix collada value.
It is the boned hand next to the bottom menu button on the left that I was using as a test.
Thanks in advance.
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Needs User Info'
I imported both files and they produce identical scale, and no hand is gigantic. But I can confirm the values of the bind_shape_matrix, just not sure if it is in fact an issue.
Is your issue just about the value in the exported file? Or also about how it is imported?
It's been a while since I looked into this issue.
From looking over my email history, this issue is just with the newer blender collada exporter values being incorrect.
I'm still using the older version 2.79b but this issue was found when first attempt at using 2.8x version of blender. It's possible it's already been fixed with newer version since then, but I've not had time to try any newer versions since.
Thanks
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Added subscriber: @GaiaClary
The values is just as you reported, so nothing changed in newer versions of the add-on. But I am trying to identify if the change in the value is indeed an issue or not.
@GaiaClary Can you take a look?
The value change was definitely an issue, but we have decided to not use later version of blender until the end of our current project incase any changes cause errors. It has gone from sensible matrix values to values which make no sense.
Either the value in blender internal code has changed or the exporter code has changed. It seems like it's the later, as the later as blender was working fine it was just the export values that were wrong. I can't see how I can look into any further my side without looking through blender code itself.
It's not an immediate concern to me, just something that might be an issue a year or two in the future.
Thanks
I see two issues (tested with current master):
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
After asking back in the animation chat channel, i see that not exporting the current pose is actually correct and the expected behavior.
So i will only look at the incompatibilities when exporting the bind shape in Blender 2.79 and in Blender 3