Alembic: locations issue #50403
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#50403
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
Blender Version
2.78
Short description of error
I have exported alembic from houdini. But in blender it's imported with strange locations.
test.abc
Exact steps for others to reproduce the error
Import Alembic
Changed status to: 'Open'
Added subscriber: @PaulGeraskin
Added subscriber: @dfelinto
Assigning to our alembic guru ;)
Added subscriber: @dr.sybren
@PaulGeraskin: Since I don't have Houdini to compare with, can you tell me which locations you expected to see in Blender, and which you are actually seeing? I understand that the clock should actually be on the tower, but having some concrete numbers will make things easier to reproduce & fix.
Added subscriber: @zeauro
We just have to clear location of empty object named geo1 to obtain a coherent scene in blender.
Does this object have a different scale than the others in Houdini ?
I cannot see transforms in Houdini. Sorry.
But in Fusion I imported the file. Possibly it will help you somehow.
See Offset values.
And as was said by Ronan. If you clear position of this empty object - it will be ok.
In Houdini Geo1 is a house.
The issue most likely comes from the confusing logic that is used to convert data between Blender and Alembic, especially Alembic Y-up matrices to Blender Z-up ones. In the process, to create the Blender matrices, we multiply the matrices of the Alembic object with the one from its parent recursively, so maybe in this case the object matrix is somehow multiplied twice. The relevant function is in abc_util.cc .
I worked on, a few months ago, refactoring the Alembic importer to make use of a hierarchical tree like data-structure to more easily convert data between Blender and Alembic. It made the code easier to follow, and got rid of some special funky cases, but the matrices ended up being "corrupted" in some imported files which I didn't have the time to fully investigate, though chances are it was due to accumulating the same matrix over and over again.
Does it mean that problem occurs for every object with a negative Z location in Houdini ?
This should be fixed as of commit
c684fab8a6
Please test with a build from https://builder.blender.org/download/ (unless you're on MacOS, then wait until the Alembic library on the MacOS build bot have been upgraded).
Added subscriber: @kevindietrich
Changed status from 'Open' to: 'Resolved'
Marking as resolved. Feel free to leave a comment when there are still issues (but please open up another ticket if it's a different issue).