Nathan Vegdahl nathanvegdahl
  • Amsterdam, Netherlands
  • https://cessen.com
  • Animator, rigger, and software developer. Currently working at the Blender Institute as a developer on Blender's animation system.

    Been using Blender since 1998, and worked on Big Buck Bunny and Sintel (two of Blender's open movie projects).

  • Joined on 2003-03-21
Nathan Vegdahl commented on pull request blender/blender#126399 2024-08-16 14:27:03 +02:00
Fix #126140: Cycle aware keying not working

The comment here suggests that this line was here to affect the behavior of insert_vert_fcurve(), which it's now been moved into. Can you confirm whether this line has any effect anymore? Because at least at a glance, I can't see anywhere that this flag is used after this point. If we can just kill this line altogether that would be great.

Nathan Vegdahl pushed to layered_action_fcurve_groups at nathanvegdahl/blender 2024-08-16 13:06:48 +02:00
2f67db7814 Better naming + documentation
Nathan Vegdahl commented on pull request blender/blender#125774 2024-08-16 12:43:10 +02:00
Anim: add channel groups to layered actions

So it turns out it would be a bit annoying to completely remove it, since then I'd have to duplicate the calls needed to just to basic removal of an element from an array. But I did simplify it…

Nathan Vegdahl commented on pull request blender/blender#126373 2024-08-16 12:24:12 +02:00
Fix #126128: Possible to select invisible keys in the Graph Editor

Just to be extra clear: yes, please just land as-is.

I'm probably giving mixed messages by continuing to discuss things, but I'm really just continuing the discussion for how we might want to…

Nathan Vegdahl commented on pull request blender/blender#126373 2024-08-16 12:16:14 +02:00
Fix #126128: Possible to select invisible keys in the Graph Editor

Yeah, go ahead and land it as-is. I don't think it makes sense to block PRs on relatively minor and subjective things like this.

but having a separate function allows me to go by function…

Nathan Vegdahl pushed to layered_action_fcurve_groups at nathanvegdahl/blender 2024-08-16 12:01:02 +02:00
83c99df45a Simplify channel_group_remove_raw() and make it private
Nathan Vegdahl commented on pull request blender/blender#126373 2024-08-16 10:55:18 +02:00
Fix #126128: Possible to select invisible keys in the Graph Editor

That's totally fair! Not to block landing this in any way (just for the sake of discussion), I do, however, want to make a case for more liberal use of lambdas in c++ code:

I think one of the…

Nathan Vegdahl reopened issue blender/blender#126348 2024-08-16 10:20:12 +02:00
Visual keying doesn't preserve rotations in the expected way
Nathan Vegdahl commented on issue blender/blender#126348 2024-08-16 10:20:08 +02:00
Visual keying doesn't preserve rotations in the expected way

I think we can keep this open as a known issue.

There's no way to completely solve it in a robust mathematical sense, but I suspect we could do something like find the multiple-of-360 offset…

Nathan Vegdahl commented on issue blender/blender#126348 2024-08-15 18:12:32 +02:00
Visual keying doesn't preserve rotations in the expected way

since quaternions seem to "ease in ease out" even when set to linear.

Yeah, that happens when there are large angles between the keys. If you key every 90 degrees instead, that effect is…

Nathan Vegdahl pushed to main at nathanvegdahl/.profile 2024-08-15 18:04:33 +02:00
4f1cd8bba3 Update reports/2024.md
Nathan Vegdahl approved blender/blender#126373 2024-08-15 18:03:25 +02:00
Fix #126128: Possible to select invisible keys in the Graph Editor

Aside from the one comment, which you can decide how to address while landing, looks good to me! Thanks for tracking this down!

Nathan Vegdahl commented on pull request blender/blender#126373 2024-08-15 18:03:24 +02:00
Fix #126128: Possible to select invisible keys in the Graph Editor

Not super thrilled about losing the constness here. Especially in the spaghetti that is the animation filtering code, knowing that something can't be changed is really helpful in following the code.

Nathan Vegdahl commented on issue blender/blender#126348 2024-08-15 17:45:13 +02:00
Visual keying doesn't preserve rotations in the expected way

I would also like to ask @ChengduLittleA by setting the quaternion three times and three key points, 360 degrees can be completed, but it still cannot be achieved. I don't know why

The WXYZ…

Nathan Vegdahl pushed to layered_action_fcurve_groups at nathanvegdahl/blender 2024-08-15 17:38:18 +02:00
9bcc417fee Rather than failing on empty name, use default of "Group"
Nathan Vegdahl commented on pull request blender/blender#125774 2024-08-15 17:06:30 +02:00
Anim: add channel groups to layered actions

Good call. I also renamed the new fields in bActionGroup, because one of them was also named fcurve_index.

Nathan Vegdahl pushed to layered_action_fcurve_groups at nathanvegdahl/blender 2024-08-15 17:04:49 +02:00
22ce0342b6 Rename some variables and parameters for clarity
Nathan Vegdahl commented on pull request blender/blender#125774 2024-08-15 16:40:29 +02:00
Anim: add channel groups to layered actions

The old animation system is so funny:

Indeed, you can't directly create groups with an empty string name. It will instead name it "Group", "Group.001", etc. as needed. But nothing stops you…

Nathan Vegdahl commented on pull request blender/blender#125774 2024-08-15 16:16:48 +02:00
Anim: add channel groups to layered actions

It's so that if the fcurve needs to be created, it gets put in the right group. Similar to how prop_subtype lets us know what color mode to create the fcurve with. Neither are needed for…