Alembic export animated vertex color exports only first frame vertex color #51488

Open
opened 2017-05-13 18:33:36 +02:00 by Yegor · 16 comments

System Information
Debian, Nvidia GTX 1080ti

Blender Version
Broken: 2.78-58a0c275464 and the newest ones

Short description of error
When you create an animated vertex color on a mesh with dynamic paint for example, you expect it to be written into alembic while exporting it with vertex colors checked, but instead you have only first frame vertex color baked in it.

Exact steps for others to reproduce the error

  1. Open attached blend file
  2. Bake dynamic paint
  3. Export abc with vertex colors checked
  4. Import that abc file and have no animated vertex color

I'm also attaching that abc file.
Don't know if it's a bug or a thing to do, sorry.
alembic_anim_vertex_color.blend
alembic_anim_vertex_color.abc

**System Information** Debian, Nvidia GTX 1080ti **Blender Version** Broken: 2.78-58a0c275464 and the newest ones **Short description of error** When you create an animated vertex color on a mesh with dynamic paint for example, you expect it to be written into alembic while exporting it with vertex colors checked, but instead you have only first frame vertex color baked in it. **Exact steps for others to reproduce the error** 1. Open attached blend file 2. Bake dynamic paint 3. Export abc with vertex colors checked 4. Import that abc file and have no animated vertex color I'm also attaching that abc file. Don't know if it's a bug or a thing to do, sorry. [alembic_anim_vertex_color.blend](https://archive.blender.org/developer/F597534/alembic_anim_vertex_color.blend) [alembic_anim_vertex_color.abc](https://archive.blender.org/developer/F597540/alembic_anim_vertex_color.abc)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @YegorSmirnov

Added subscriber: @YegorSmirnov

Added subscribers: @dr.sybren, @Sergey

Added subscribers: @dr.sybren, @Sergey
Sybren A. Stüvel was assigned by Sergey Sharybin 2017-05-15 11:52:53 +02:00

@dr.sybren, another one for you?

@dr.sybren, another one for you?
Author

By the way. It's not alembic export related perhaps, but the dynamic paint system itself. I could not find a way to bake animated vertex colors from dynamic paint onto object. Applying dynamic paint modifier simply leaves the first frame of vertex color baked. Deleting it leaves no vertex color at all. But i think alembic exporting should read the information about vertex color from the modifier per frame.

By the way. It's not alembic export related perhaps, but the dynamic paint system itself. I could not find a way to bake animated vertex colors from dynamic paint onto object. Applying dynamic paint modifier simply leaves the first frame of vertex color baked. Deleting it leaves no vertex color at all. But i think alembic exporting should read the information about vertex color from the modifier per frame.

@YegorSmirnov can you test with 2.78c to see if this was ever supported? Then we know if it's a regression (i.e. a bug) or a new feature.

@YegorSmirnov can you test with 2.78c to see if this was ever supported? Then we know if it's a regression (i.e. a bug) or a new feature.
Author

Sybren, i have tested it with 2.78c official and since there was another bug in that release i reported, it's unable to export whole animation of the abc file with vertex colors checked. Blender exports only two frames of animation in that case. But even then those two frames have no vertex color animation. That two frames export bug is now solved in the trunk.
Anyway, it's not a regression. It's a lack of feature, i believe.

Sybren, i have tested it with 2.78c official and since there was another bug in that release i reported, it's unable to export whole animation of the abc file with vertex colors checked. Blender exports only two frames of animation in that case. But even then those two frames have no vertex color animation. That two frames export bug is now solved in the trunk. Anyway, it's not a regression. It's a lack of feature, i believe.

Added subscriber: @BlenderSushiGuy

Added subscriber: @BlenderSushiGuy

I can confirm as for August 2017, no vertex color is exported with Alembic and kind of wish the vertex color can be baked for every frame. I tried using Sverchok, didn't work.

I can confirm as for August 2017, no vertex color is exported with Alembic and kind of wish the vertex color can be baked for every frame. I tried using Sverchok, didn't work.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

some (related?) info in #53745

some (related?) info in #53745

This would indeed be a new feature and is not a bug. Updating the task properties to reflect this.

This would indeed be a new feature and is not a bug. Updating the task properties to reflect this.

Added subscriber: @joedanimation

Added subscriber: @joedanimation

Added subscriber: @BeckersC

Added subscriber: @BeckersC
Sybren A. Stüvel removed their assignment 2021-01-14 18:03:00 +01:00

Added subscriber: @OtherRealms

Added subscriber: @OtherRealms

I was able to export animated vertex colors to other software, however not without the help of some extra python. I had to add a pre and post frame handler, store the previous frames color attribute values and set them before and after evaluation for good measure, it only worked if the original mesh had exactly the number of verts/faces as after any geometry nodes (for animation of colors). These handlers run during the alembic export process. Also it helped to have two colour attributes, one for input(animation) and another for output(copy previous frame). Of course, the result is a frame behind. Would be good to have proper vertex colour animations support for everyone. It seems the exporter is trying to write colours from the pre-evaluated mesh?

I was able to export animated vertex colors to other software, however not without the help of some extra python. I had to add a pre and post frame handler, store the previous frames color attribute values and set them before and after evaluation for good measure, it only worked if the original mesh had exactly the number of verts/faces as after any geometry nodes (for animation of colors). These handlers run during the alembic export process. Also it helped to have two colour attributes, one for input(animation) and another for output(copy previous frame). Of course, the result is a frame behind. Would be good to have proper vertex colour animations support for everyone. It seems the exporter is trying to write colours from the pre-evaluated mesh?
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
8 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#51488
No description provided.