Playblast: only render on keyed frames #72229

Closed
opened 2019-12-06 12:15:36 +01:00 by Sybren A. Stüvel · 7 comments

When animating a character on twos (so every other frame has a key, and using constant interpolation) but the camera motion on ones, it can be hard to follow the character and properly inspect the motion.

This design task proposes a way to do a play-blast by only rendering those frames that have a keyframe, a feature requested by @PabloFournier on behalf of the Blender Studio animators.

The behaviour should be:

  • Animator selects one or more objects.
  • Animator clicks on View → 'Viewport Render Animated Frames Only' button (of course label subject to change)
  • Blender renders the appropriate range (same as View → Viewport Render Animation), but only those frames for which one or more of the selected objects have a keyframe.
  • The duration of a frame in the final video file should be such that the timing is still correct. In other words, rendered frames should not be stuck together at a fixed frame rate, but rather be displayed until the next animated frame. Rendering frames 1, 5, and 10 should show frame 1 also on frames 2-4, and frame 5 on frames 6-9.

When outputting images, duplicate the rendered frames on non-rendered frames. This will produce more files than strictly necessary, but it will make it much easier to later convert the images to a video. It will also make it possible to incrementally update the keyframe density while maintaining the same set of output files.

When outputting a video, this duplication may not be necessary, but is trivial to implement. Each frame could receive its own timecode, but that's harder to implement, and left as a nice-to-have for the future.

When animating a character on twos (so every other frame has a key, and using constant interpolation) but the camera motion on ones, it can be hard to follow the character and properly inspect the motion. This design task proposes a way to do a play-blast by only rendering those frames that have a keyframe, a feature requested by @PabloFournier on behalf of the Blender Studio animators. The behaviour should be: - Animator selects one or more objects. - Animator clicks on View → 'Viewport Render Animated Frames Only' button (of course label subject to change) - Blender renders the appropriate range (same as View → Viewport Render Animation), but only those frames for which one or more of the selected objects have a keyframe. - The duration of a frame in the final video file should be such that the timing is still correct. In other words, rendered frames should not be stuck together at a fixed frame rate, but rather be displayed until the next animated frame. Rendering frames 1, 5, and 10 should show frame 1 also on frames 2-4, and frame 5 on frames 6-9. When outputting images, duplicate the rendered frames on non-rendered frames. This will produce more files than strictly necessary, but it will make it much easier to later convert the images to a video. It will also make it possible to incrementally update the keyframe density while maintaining the same set of output files. When outputting a video, this duplication may not be necessary, but is trivial to implement. Each frame could receive its own timecode, but that's harder to implement, and left as a nice-to-have for the future.
Sybren A. Stüvel self-assigned this 2019-12-06 12:15:36 +01:00
Author
Member
Added subscribers: @dr.sybren, @JasonSchleifer, @Hjalti, @PabloFournier, @NachoConesa
Contributor

Added subscriber: @p2or

Added subscriber: @p2or
Contributor

Hey @dr.sybren,

If you are interested, I've already written something like that, might be one approach for reference https://github.com/p2or/blender-loom The addon also allows rendering via CLI as well as automatic encoding via ffmpeg.

Cheers,
Christian

Hey @dr.sybren, If you are interested, I've already written something like that, might be one approach for reference https://github.com/p2or/blender-loom The addon also allows rendering via CLI as well as automatic encoding via ffmpeg. Cheers, Christian
Author
Member

Hi @p2or, thanks for the pointer.

Hi @p2or, thanks for the pointer.

Added subscriber: @ChristopherAnderssarian

Added subscriber: @ChristopherAnderssarian

Added subscriber: @alisealy

Added subscriber: @alisealy
Author
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Thomas Dinges added this to the 2.82 milestone 2023-02-08 16:41:38 +01:00
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
4 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#72229
No description provided.