alembic attributes doesn't respect alembic standard #88275
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#88275
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: All
Graphics card: Nvidia RTX 2080Ti (x8)
Blender Version
Broken: 2.92.0 Master
Short description of error
blender export of custom properties is not right
.userProperties
of an object, so for instance in the example/Cube.userProperties.static_int
which is an ArrayProperty.this makes data unreadable or can crash some others DCCs
ex : what maya can see
we should be able to choose if properties are at xform or shape level and default must be on shape normally
Exact steps for others to reproduce the error
add custom attributes on objects
export alembic with custom attributes on
inspect the alembic with abcls
custom-properties.blend custom-properties.abc
Added subscriber: @kaiz3r
alembic attributesto alembic attributes doesn't repect alembic standardalembic attributes doesn't repect alembic standardto alembic attributes doesn't respect alembic standardAdded subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Needs User Info'
Seems alembic export supports Custom Properties on the
Mesh
datablock (shape level) as well?#88275.abc
#88275.blend
Doesnt this work for you?
You have the choice to put it on the object (transform level), the object data / Mesh (shape level) or both. Dont think we need a "standard" here if we can put it on both?
If there is a standard for this, is this defined anywhere?
my mistake, it's the .arbGeomParam that needs to be on shape level...
thank you for the example files
I can confirm that, with your export too, the alembic can cause crash because of array being non scalar
is there a way to export as arbGeomParam in blender to compare it with maya ?
here is an abc from maya, that export by default attribute to arbGeomParam and that work in all our DCCs
custom-propertiesMAYA.abc
Changed status from 'Needs User Info' to: 'Needs Triage'
Sorry it took a bit to answer.
Trying to understand better:
Not sure why that is? Both your provided abc and the one I exported write scalars in to single-element arrays, found this comment:
So it seems to come down to
.userProperties
vs.arbGeomParams
.Or does this mean we are not allowed to write single-element arrays into
.userProperties
?Found this other related comment:
Having said that, what I find strange is that a
CompoundProperty
.arbGeomParams
is always defined by blender, but then empty?Do you have any reference or document where this standard is described?
Changed status from 'Needs Triage' to: 'Needs User Info'
Here is an abc with Custom Properties written to
arbGeomParams
T88275_arbGeomParams.abc
Does this also crash?
(this was done changing https://developer.blender.org/diffusion/B/browse/master/source/blender/io/alembic/exporter/abc_writer_abstract.h$113)
P2131: T88275_snippet
(this seems to be related to exporting UVs btw. not exporting UVs will also not define .arbGeomParams -- still find it strange...)
@kaiz3r : could you check the above please? (otherwise will be closed in a week)
Added subscriber: @PratikPB2123
@lichtwerk can you close the report?
Changed status from 'Needs User Info' to: 'Archived'
@kaiz3r : feel free to comment again if you could check/answer the above, wil archive for now though.