Alembic doesn't import vertex colors for meshes made of only vertices #109749
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#109749
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?
System Information
Operating system: Linux-5.15.0-76-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 525.125.06
Blender Version
Broken: Version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash:
c7fc78b81ecb
Worked: Never.
Short description of error
When importing Alembic caches, vertex colors are only imported correctly when the imported geometry is made of faces.
When the geometry is only vertices, no vertex colors are imported. (ex. point clouds)
I suspect this has to do with vertex colors encoded as a point attribute instead of a face corner attribute.
I've checked both provided alembic files in other software to make sure they're not the issue and they work fine everywhere else.
Exact steps for others to reproduce the error
points.abc
.Alembic doesn't import vertex type attribute vertex colorsto Alembic doesn't import vertex colors for meshes made of only verticesCan confirm. Not sure if this a limitation of Blender or it's just a situation that alembic importer fails to handle.
@ideasman42 or @dr.sybren may want to take a look
It seems alembic don't export attributes other than face-corner domain: #99293
Closing
Not sure why this was closed.
The referenced report is about export (and still open) and the closed report is about import?
Will check on this.
It is more of a TODO tbh, but will put on my desk
Got it working, now needs a bit of cleanup and discussion in regards to
CD_PROP_BYTE_COLOR
vs.CD_PROP_COLOR
(atm. this is alwaysCD_PROP_BYTE_COLOR
and the data in the file looks like that as well, not sure if alembic can do differently as well?)kVaryingScope
-- notkVertexScope
-- atm. I only check the data size, if it is the same length as we have vertices, the attribute is created on the vertex domain...)Thanks for looking in to this so quickly.
For reference, both alembics were exported from Houdini with default settings. I can have a look at the export options there if there's anything you'd like to know.
OK, so apparently we have a much more generic solution in the works (at least for USD), see #109518, will try to coordinate this to have the alembic counterpart (not yet sure if alembic supports all of what USD does) coming along with the same features.
Sorry, will step down to not block others on this matter (as I feel the way to go forward would be something more generic like #109518)