Import Collada: instance_node incorrectly handled #26012

Closed
opened 2011-02-10 16:36:30 +01:00 by David ROY · 8 comments

%%%Try to import attached collada file.
The meshes are incorrectly placed, except the first one.
The collada scene contains instance_nodes referencing a classic node instantiating some geometry.

  • the classic node is correctly placed

  • it seems that the instance_node matrix isn't combined with the instantiated node matrix to get the final matrix for other nodes

See attached picture of correct result in Maya 2008 + OpenCOLLADA%%%

%%%Try to import attached collada file. The meshes are incorrectly placed, except the first one. The collada scene contains instance_nodes referencing a classic node instantiating some geometry. - > the classic node is correctly placed - > it seems that the instance_node matrix isn't combined with the instantiated node matrix to get the final matrix for other nodes See attached picture of correct result in Maya 2008 + OpenCOLLADA%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%Same -problem, 2.4 ok 2.5 beta no joy. Fails at initial import see attached error report and dae file. This file is from Goole Sketchup SU 7.1 free and was extracted form a Google earth KMZ%%%

%%%Same -problem, 2.4 ok 2.5 beta no joy. Fails at initial import see attached error report and dae file. This file is from Goole Sketchup SU 7.1 free and was extracted form a Google earth KMZ%%%
Member

%%%Fixed and committed in r35429. Thanks for reporting!%%%

%%%Fixed and committed in r35429. Thanks for reporting!%%%
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

%%%Thanks, this is much better now and this fixes the attached model.
However I'm afraid the fix is incomplete.
I slightly modified the instance_nodes model to add an offset to the scene root node, so that everything is translated by (100.0, 100.0) (model offset_instance_nodes.zip)
There's still an error in Blender 2.56.6 r36007, see picture comparison "offset_instance_nodes.png" between Maya and Blender%%%

%%%Thanks, this is much better now and this fixes the attached model. However I'm afraid the fix is incomplete. I slightly modified the instance_nodes model to add an offset to the scene root node, so that everything is translated by (100.0, 100.0) (model offset_instance_nodes.zip) There's still an error in Blender 2.56.6 r36007, see picture comparison "offset_instance_nodes.png" between Maya and Blender%%%
Author

%%%I can't seem to be able to re-open it and attach new files...%%%

%%%I can't seem to be able to re-open it and attach new files...%%%

Added subscriber: @superpingu

Added subscriber: @superpingu

It seems that this problem is still present in 2.78c. Most of dae files exported from sketchup I have don't import correctly in blender. I tried to build a small file exposing the problem : test.dae. This file is imported correctly in Unity. The <instance_node url="#ID4" /> in the visual_scene description seems to be ignored.

Hope this helps

It seems that this problem is still present in 2.78c. Most of dae files exported from sketchup I have don't import correctly in blender. I tried to build a small file exposing the problem : [test.dae](https://archive.blender.org/developer/F683886/test.dae). This file is imported correctly in Unity. The <instance_node url="#ID4" /> in the visual_scene description seems to be ignored. Hope this helps
Sign in to join this conversation.
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
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#26012
No description provided.