Maniphest T101960

Unable to add automatic keyframes to an object...
Closed, Archived

Assigned To
None
Authored By
Peter (lizardpeter)
Oct 21 2022, 3:14 AM
Tags
  • BF Blender
Subscribers
Peter (lizardpeter)
Pratik Borhade (PratikPB2123)
Sybren A. Stüvel (sybren)

Description

System Information
Operating system: Windows 11
Graphics card: GTX 1080

Blender Version
Broken: 3.3
Worked: None

Short description of error
When using Blender with an OSC input and automatic keyframes, no keyframes are generated.

Exact steps for others to reproduce the error
Use an OSC plugin like AddRoutes. Stream data from an OSC device like an iPhone to control rotation of an object. This all works completely normally and flawlessly. The issue comes into play when I try to use the Blender automatic keyframe feature to record the frame-by-frame changes in object rotation that are being streamed to Blender from my phone. I can see the updated rotation in the viewport, but no new keyframes are created.

Event Timeline

Peter (lizardpeter) created this task.Oct 21 2022, 3:14 AM
Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Needs Information from Developers.Oct 21 2022, 6:27 AM
Pratik Borhade (PratikPB2123) added subscribers: Sybren A. Stüvel (sybren), Pratik Borhade (PratikPB2123).

@Sybren A. Stüvel (sybren) hi, is there something to be added in blender code to support the auto-keyframe with OSC input or is it an add-on specific issue? Any idea?
I've not tested this myself. Will try today itself.

Peter (lizardpeter) added a comment.Oct 21 2022, 7:11 AM

So I have found a way within the add-on to automatically record keyframes and it is working for me, but I am still wondering why it wasn’t possible before with the function built into Blender. The rotation values were constantly changing, but the automatic keyframes were not being generated at all.

Sybren A. Stüvel (sybren) changed the task status from Needs Information from Developers to Needs Information from User.Oct 21 2022, 11:58 AM

I'm assuming OSC stands for Open Sound Control -- might be nice to put that in the task description if that's indeed what's meant. I also don't see any OSC add-on bundled with Blender; if this is about a third-party add-on, that info would also be much appreciated.

The auto-keying system in Blender is not that automatic. An add-on that modifies object/bone transforms doesn't get auto-keying for free, unfortunately. Auto-keying needs to be explicitly added to any code that manipulates data.

In T101960#1435331, @Peter (lizardpeter) wrote:

So I have found a way within the add-on to automatically record keyframes and it is working for me,

Good.

but I am still wondering why it wasn’t possible before with the function built into Blender.

You need to be a bit more specific than "the function", because Blender has loads of them.

Pratik Borhade (PratikPB2123) added a comment.Oct 21 2022, 12:37 PM

@Sybren A. Stüvel (sybren) , yes, OSC stands for Open Sound Control.
And yes, third party add-on is involved here: AddRoutes.
Perhaps I was too quick to tag you here because I wasn't sure whether its an add-on or a core animation code is preventing the keyframe creation.

The auto-keying system in Blender is not that automatic. An add-on that modifies object/bone transforms doesn't get auto-keying for free, unfortunately. Auto-keying needs to
be explicitly added to any code that manipulates data.

Your response clarified my doubt :)
Guess we can close this report

Sybren A. Stüvel (sybren) closed this task as Archived.Oct 21 2022, 12:42 PM

Yup, this should be discussed with the add-on author, then. It's not a bug in Blender.