p2or / blender-loom

image sequence rendering, encoding and playback
175 stars 10 forks source link

Render Selected Keyframes limited to selected object/rig/action, not dopesheet keyframes #34

Closed Hammers69 closed 1 year ago

Hammers69 commented 2 years ago

I guess this might fall into the 'feature request' pile, but sharing in any case...

I think a lot of my problems getting the correct frames from 'Render Selected Keyframes' have stemmed from this issue.

It would be great if the selected keyframes in the Dope Sheet could be extracted via 'Render Selected Keyframes' without the objects themselves being necessarily selected. For example in a scene involving lots of props, character, cameras etc. It would be awesome to just select the keyframes via the Dope Sheet summary, to be sure and catch all keys in the shot, even if an object or rig isn't explicitly selected.

I hope this is a possible thing!

Many thanks again,

Stephen.

p2or commented 1 year ago

Hi @Hammers69,

many thanks for bringing that up. I am not quite sure what exactly happened here and I guess this rather falls into the 'bug' pile since selecting any object in the scene shouldn't be necessary to get the keyframes selected and this wasn't intended. I changed the behavior for a reason at some point but obviously did not test the changes sufficiently, I guess.

Anyway, it should now work as intended. By default, you don't have to select an object, and you can optionally limit the keyframes in the selection by enabling the 'Limit to Selection' toggle to the left. You also have the option to hold down Ctrl when clicking 'Render selected Keyframes' button without any object selected, this will add all keyframes in the scene to the list no matter what's selected. If you hold down Alt and Ctrl when clicking 'Render selected Keyframes' button without any object selected, all keyframes in the scene range will be added.

If you have the time, please download Loom from here: https://github.com/p2or/blender-loom/tree/scene_frames and report back, thanks. I also updated the documentation over there, obviously I'm not a native so any improvements are welcome: https://github.com/p2or/blender-loom/tree/scene_frames#render-specific-keyframes Hope that helps.

Cheers, Christian

p2or commented 1 year ago

Hi @Hammers69,

due to this embarrassing bug, I couldn't wait any longer to merge the new branch with the master. I would still appreciate any kind of feedback if you have time. Thanks again for bringing this up.

Cheers, Christian

Hammers69 commented 1 year ago

Ah I just saw this Christian! Thanks so much and I look forward to trying out the update as soon as I can