Auto Render doesnt work with scene animations #77349

Open
opened 2020-06-04 09:01:42 +02:00 by Keen Foong · 10 comments

{F8575831}System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.92

Blender Version
Broken: version: 2.83.0 Beta, branch: master, commit date: 2020-05-30 15:33, hash: ec26260132

Short description of error
It should render when the scene animation updates. In general auto render also seems a bit unreliable. eg. Sometimes I turn it off and it keeps rendering, and it doesn't render even if some changes are made to the scene. Anyway in this case it doesn't update when there're scene animations.

Exact steps for others to reproduce the error
From startup:

  1. Set "Use nodes" in compositor
  2. Turn on "Auto render"
  3. Animate default cube (I used rotate here)
  4. Scrub timeline
    It doesn't auto render with new changes.

With attached blend:

  • Scrub timeline

autorender_animation.blend

{[F8575831](https://archive.blender.org/developer/F8575831/autorender.gif)}**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.92 **Blender Version** Broken: version: 2.83.0 Beta, branch: master, commit date: 2020-05-30 15:33, hash: `ec26260132` **Short description of error** It should render when the scene animation updates. In general auto render also seems a bit unreliable. eg. Sometimes I turn it off and it keeps rendering, and it doesn't render even if some changes are made to the scene. Anyway in this case it doesn't update when there're scene animations. **Exact steps for others to reproduce the error** From startup: 1. Set "Use nodes" in compositor 2. Turn on "Auto render" 3. Animate default cube (I used rotate here) 4. Scrub timeline It doesn't auto render with new changes. With attached blend: - Scrub timeline [autorender_animation.blend](https://archive.blender.org/developer/F8575878/autorender_animation.blend)
Author

Added subscriber: @kfoong

Added subscriber: @kfoong

#90886 was marked as duplicate of this issue

#90886 was marked as duplicate of this issue
Member

Added subscriber: @Alaska

Added subscriber: @Alaska
Member

It should render when the scene animation updates.

I'm able to reproduce the issue you're describing in both Blender 2.83 and 2.82a. However, I don't believe this is a issue. From my understanding auto render doesn't work when you scrub the time line as it's a means of keeping the scrubbing process or animation playback smooth for the end user.

In general auto render also seems a bit unreliable

I'm personally unable to reproduce this on my system, however, I've only been playing around with it in Blender 2.83 for about 5 minutes.

Note (not that important to triaging the bug): Blender 2.83.0 is official released. Make sure you download it from here https://www.blender.org/download/

> It should render when the scene animation updates. I'm able to reproduce the issue you're describing in both Blender 2.83 and 2.82a. However, I don't believe this is a issue. From my understanding auto render doesn't work when you scrub the time line as it's a means of keeping the scrubbing process or animation playback smooth for the end user. > In general auto render also seems a bit unreliable I'm personally unable to reproduce this on my system, however, I've only been playing around with it in Blender 2.83 for about 5 minutes. Note (not that important to triaging the bug): Blender 2.83.0 is official released. Make sure you download it from here https://www.blender.org/download/
Author

From my understanding auto render doesn't work when you scrub the time line as it's a means of keeping the scrubbing process or animation playback smooth for the end user.

However it does do an auto render every time it scrubs currently. It only updates if there's animation in the compositor. Having the scene animation render would be incredible for motion graphics, as text objects are animated quickly in Eevee. So you would be able to tweak the composition on the fly, like after effects. Would be great for title screen animations and the such. autorender_compositor.gif

In general auto render also seems a bit unreliable

I think I managed to break this one down a little further. Not sure whether to put this in a new bug report or not, let me know if I do. I'll put it here as well.

Pressing Render stops auto render from working with scene edits
renderbreaks_autorender.gif

  1. Set "Use nodes" in compositor
  2. Turn on "Auto render"
  3. Move cube (You'll see that auto render works here)
  4. Press "Render"
  5. Move the cube again. You'll see the cube doesn't update any more.
> From my understanding auto render doesn't work when you scrub the time line as it's a means of keeping the scrubbing process or animation playback smooth for the end user. However it does do an auto render every time it scrubs currently. It only updates if there's animation in the compositor. Having the scene animation render would be incredible for motion graphics, as text objects are animated quickly in Eevee. So you would be able to tweak the composition on the fly, like after effects. Would be great for title screen animations and the such. ![autorender_compositor.gif](https://archive.blender.org/developer/F8575975/autorender_compositor.gif) > In general auto render also seems a bit unreliable I think I managed to break this one down a little further. Not sure whether to put this in a new bug report or not, let me know if I do. I'll put it here as well. **Pressing Render stops auto render from working with scene edits** ![renderbreaks_autorender.gif](https://archive.blender.org/developer/F8575990/renderbreaks_autorender.gif) 1. Set "Use nodes" in compositor 2. Turn on "Auto render" 3. Move cube (You'll see that auto render works here) 4. Press "Render" 4. Move the cube again. You'll see the cube doesn't update any more.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I don't know if this is a limitation, but it makes sense the auto render in this situation.
So I'm confirming it as a bug.

I don't know if this is a limitation, but it makes sense the auto render in this situation. So I'm confirming it as a bug.
Member

Added subscribers: @MateuszWilinski, @lichtwerk

Added subscribers: @MateuszWilinski, @lichtwerk
Member

I think I managed to break this one down a little further. Not sure whether to put this in a new bug report or not, let me know if I do. I'll put it here as well.

Think this ^^ is a crystal-clear bug (and I think this should be reported separately), because:

The way compo auto-re-render works at the moment is via the notifier system.
The Node Editor listens to ND_TRANSFORM_DONE and re-renders.
Animation system is completely ignored here. So I dont really think this is really a bug.
I know nowadays with Eevee, rendering can be fast and of course we could listen to more things (including framechange), so NC_SCENE | ND_FRAME could be considered, also most of NC_ANIMATION notifiers could be considered.
Like this for example:
P2339: T77349_snippet



diff --git a/source/blender/editors/space_node/space_node.c b/source/blender/editors/space_node/space_node.c
index 956fb3aa867..adea965c580 100644
--- a/source/blender/editors/space_node/space_node.c
+++ b/source/blender/editors/space_node/space_node.c
@@ -366,6 +366,11 @@ static void node_area_listener(const wmSpaceTypeListenerParams *params)
           break;
         }
         case ND_FRAME:
+          if (ED_node_is_compositor(snode)) {
+            if (snode->flag & SNODE_AUTO_RENDER) {
+              snode->runtime->recalc = true;
+            }
+          }
           ED_area_tag_refresh(area);
           break;
         case ND_COMPO_RESULT:

But this could possibly also be handled on the depsgraph side?

> I think I managed to break this one down a little further. Not sure whether to put this in a new bug report or not, let me know if I do. I'll put it here as well. Think this ^^ is a crystal-clear bug (and I think this should be reported separately), because: The way compo auto-re-render works at the moment is via the notifier system. The Node Editor listens to `ND_TRANSFORM_DONE` and re-renders. Animation system is completely ignored here. So I dont really think this is really a bug. I know nowadays with Eevee, rendering can be fast and of course we could listen to more things (including framechange), so `NC_SCENE | ND_FRAME` could be considered, also most of `NC_ANIMATION` notifiers could be considered. Like this for example: [P2339: T77349_snippet](https://archive.blender.org/developer/P2339.txt) ``` diff --git a/source/blender/editors/space_node/space_node.c b/source/blender/editors/space_node/space_node.c index 956fb3aa867..adea965c580 100644 --- a/source/blender/editors/space_node/space_node.c +++ b/source/blender/editors/space_node/space_node.c @@ -366,6 +366,11 @@ static void node_area_listener(const wmSpaceTypeListenerParams *params) break; } case ND_FRAME: + if (ED_node_is_compositor(snode)) { + if (snode->flag & SNODE_AUTO_RENDER) { + snode->runtime->recalc = true; + } + } ED_area_tag_refresh(area); break; case ND_COMPO_RESULT: ``` But this could possibly also be handled on the depsgraph side?
Philipp Oeser removed the
Interest
VFX & Video
label 2023-02-10 09:32:02 +01:00
Philipp Oeser added the
Interest
Core
label 2023-02-10 11:09:30 +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
5 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#77349
No description provided.