Page MenuHome

Grease Pencil. Can't animate Factor value of Build modifier.
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-04-06 21:02, hash: rBe0a1a2f49dab

Short description of error
I can't add keyframes to animate the Factor value of Build modifier.

Exact steps for others to reproduce the error

  • Create new 2D animation file
  • Draw a stroke
  • Add The Build modifier to the current Grease Pencil object.
  • Enable the 'Use Factor' checkbox of the Modifier.
  • Click the 'Animate property' dot to the right of the Factor slider.
  • Move the playhead to a later frame.
  • Drag the Factor slider to 100.
  • Click the empty diamond to the right of the Factor slider to add a new keyframe.
  • 'Restrict Visible Points' keyframes have been created, but 'Factor' Keyframes haven't, the build effect doesn't animate.

Event Timeline

Yes, I guess the animation decorator should act on the Factor value slider instead of the Use Factor checkbox.
Will check on this.

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Apr 7 2021, 11:33 AM

I need to look at the code, but IIRC some values cannot be animated because the build modifier need to calculate several values "before" do anything, so some values cannot change in the midle of the animation. If this is the reason, the solution is remove the animation flag in this values.

Edit: I have looked and this value can be animated. The problem is the decorator key icon is not working as expected, but if the animation is done using I over value works.

With the new change, if i have 'Use Factor' turned on, i expected 'start delay' and 'frames' values to be ignored. but currently the animation (driven by the Factor value) only happens within the part of the timeline specified by the 'Frames' and 'Delay' values.

With the new change, if i have 'Use Factor' turned on, i expected 'start delay' and 'frames' values to be ignored. but currently the animation (driven by the Factor value) only happens within the part of the timeline specified by the 'Frames' and 'Delay' values.

That is not touched by this commit (that is just unfortunate design of this modifier and has been present before).
Please report this separately so this can be looked at.