Extra rotation exporting to collada #65712
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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#65712
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
Operating system: Ubuntu 18.04
Graphics card: Intel, Nvidia
Blender Version
Broken: 2.79b
Short description of error
When exporting to collada format it seems to add extra rotation to objects.
Exact steps for others to reproduce the error
I've created a single plane (file planos.bend) and exported it to file planos2.dae. Then imported and exported it 2 more times (attached results). End situation is added as planos_bug.blend.
I'm unable to export and object in the same position I have it on blender.
My target is google earth and it seems imports of .dae behave identically both in GE and in Blender
Based on the default startup or an attached .blend file (as simple as possible).
planos.blend
planos_bug.blend
planos2.dae
planos2-1.dae
planos2-2.dae
Added subscriber: @LuisW
Added subscribers: @GaiaClary, @lichtwerk
Can confirm.
@GaiaClary : mind checking?
Hi, @LuisW
Thanks for reporting this. This is an issue in the importer. However we can not fix this right now. But you can fix the data instead. here is the reasoning:
The problem is that the Object transform matrix contains a scale of 0 along Z. This causes 2 issues:
When decomposing this matrix back into scale, location and rotation, then Blender gets the rotation part wrong. I am not entirely sure why that happens, probably because the math gets odd when the scale in one dimension is 0 (note that scale and dimension are two different things here!)
After some internal discussion i am tempted to reject this as "won't be handled by the importer". As indicated above you can handle this in a much better and more clean way by keeping reasonable scales on your object, for example: scale = (20, 5, 1) would be a perfect fix for your particular case. It would even avoid the total black surface.
Although you most probably want to fix the data anyways, I am still trying to figure out if we can possibly handle this in the importer (i tested that other tools actually can read the colladafile correctly). So i keep this report open for now.
Added subscriber: @mano-wii
I can still reproduce the problem in blender 2.82
Given the time this report is open and the comment, I will mark it as a
Known Issue
.