Render image after camera position is animated does not use current camera position #62092

Closed
opened 2019-03-01 17:53:56 +01:00 by Ian Finnimore · 19 comments

System Information
Operating system: Win64
Graphics card:

Blender Version
Broken: 2.80 build 2019-02-27 01:36 Hash: 168d3fd528 Branch Blender2.7
Worked: (optional): 2.79b

After animating camera position, "render image" action does not respect current camera position. Uses the current animation keyframe position, not current camera location. Behavior change vs 2.79.

Step to reproduce:
Based on the default startup

On Frame 1, Insert LocRot keyframe for camera, cube is centered in view

re-position camera. Do not update key frame.

Render image via F12 or Menu. Image is for camera keyframe location, not for the location the camera is currently at. Returning from the render and the camera is still at altered location.

Workaround: After Muting Transformations Render Image does then use current camera position. Obscure workaround for most users and labor intensive.

Prior behavior:
Render Image rendered wherever the camera was currently
Render Animation always used keyframe interpolated position.

Prior behavior purpose:
A) scouting future camera positions, changing settings and trying to save images with adjusted settings before keyframing the value change.
B) Stills around an animation.

Additional note:

 It seems this is a global keyframe value condition.  I see the exact same effect on a World, Surface, Strength value that I had also keyframed.
**System Information** Operating system: Win64 Graphics card: **Blender Version** Broken: 2.80 build 2019-02-27 01:36 Hash: 168d3fd528c4 Branch Blender2.7 Worked: (optional): 2.79b After animating camera position, "render image" action does not respect current camera position. Uses the current animation keyframe position, not current camera location. Behavior change vs 2.79. Step to reproduce: Based on the default startup On Frame 1, Insert LocRot keyframe for camera, cube is centered in view re-position camera. Do not update key frame. Render image via F12 or Menu. Image is for camera keyframe location, not for the location the camera is currently at. Returning from the render and the camera is still at altered location. Workaround: After Muting Transformations Render Image does then use current camera position. Obscure workaround for most users and labor intensive. Prior behavior: Render Image rendered wherever the camera was currently Render Animation always used keyframe interpolated position. Prior behavior purpose: A) scouting future camera positions, changing settings and trying to save images with adjusted settings before keyframing the value change. B) Stills around an animation. Additional note: ``` It seems this is a global keyframe value condition. I see the exact same effect on a World, Surface, Strength value that I had also keyframed. ```
Author

Added subscriber: @IanFinn

Added subscriber: @IanFinn

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

Please try with a newer build from March 1 or 2 - afaik this should be fixed.

Please try with a newer build from March 1 or 2 - afaik this should be fixed.
Author

Checked on build 2019-03-01 10:14, and behavior is the same. It only takes seconds to reproduce from default scene. Screen shots of splash screen, viewport view through camera and render attached.

Screenshot (76).png

Screenshot (74).png

Screenshot (75).png

Checked on build 2019-03-01 10:14, and behavior is the same. It only takes seconds to reproduce from default scene. Screen shots of splash screen, viewport view through camera and render attached. ![Screenshot (76).png](https://archive.blender.org/developer/F6738703/Screenshot__76_.png) ![Screenshot (74).png](https://archive.blender.org/developer/F6738705/Screenshot__74_.png) ![Screenshot (75).png](https://archive.blender.org/developer/F6738760/Screenshot__75_.png)
Author

Retested on V2.80 18e5540a48 Build 06-Mar-19 00:18, Issue still exists

Retested on V2.80 18e5540a48b6 Build 06-Mar-19 00:18, Issue still exists

Added subscribers: @brecht, @ZedDB

Added subscribers: @brecht, @ZedDB

@brecht who to assign this to?

@brecht who to assign this to?
Sergey Sharybin was assigned by Brecht Van Lommel 2019-03-07 12:40:23 +01:00

The render dependency graph is separate from the viewport one now. I guess it would make sense for it to also ignore animation for edited properties but not sure how easily this can fit in the design.

The render dependency graph is separate from the viewport one now. I guess it would make sense for it to also ignore animation for edited properties but not sure how easily this can fit in the design.

Added subscriber: @capnm

Added subscriber: @capnm

@brecht, technically, reverting 872ff50 would solve this specific issue, but will re-introduce the spring bug.
Didn't went all the way to the root of that issue, but my guess is that it's something to do with the fact that animation and character are coming from different libraries.
Something like following might work: skip animation tag if both Object ID and it's Action are both local. Not sure how reliable is that or how crazy that sounds.

@brecht, technically, reverting 872ff50 would solve this specific issue, but will re-introduce the spring bug. Didn't went all the way to the root of that issue, but my guess is that it's something to do with the fact that animation and character are coming from different libraries. Something like following _might_ work: skip animation tag if both Object ID and it's Action are both local. Not sure how reliable is that or how crazy that sounds.
Sergey Sharybin removed their assignment 2019-06-06 16:31:23 +02:00
Brecht Van Lommel was assigned by Sergey Sharybin 2019-06-06 16:31:23 +02:00

Added subscriber: @Sergey

Added subscriber: @Sergey

@brecht, i can not fix it from dependency graph. It is render pipeline which explicitly asks to update for a new frame, which implies updating animation.

@brecht, i can not fix it from dependency graph. It is render pipeline which explicitly asks to update for a new frame, which implies updating animation.

@Sergey, you can use BLI_CB_EVT_FRAME_CHANGE_PRE instead of BLI_CB_EVT_DEPSGRAPH_UPDATE_PRE in scene_graph_update_tagged, only for this case.

@Sergey, you can use `BLI_CB_EVT_FRAME_CHANGE_PRE` instead of `BLI_CB_EVT_DEPSGRAPH_UPDATE_PRE` in `scene_graph_update_tagged`, only for this case.

@brecht, to me it seems weird and to make non-frame-changing update function advertise self as a frame-changing.
If you're fine with that and you're fine with scripts possibly making wrong assumptions about animation system being updated please go ahead.

@brecht, to me it seems weird and to make non-frame-changing update function advertise self as a frame-changing. If you're fine with that and you're fine with scripts possibly making wrong assumptions about animation system being updated please go ahead.
Brecht Van Lommel was unassigned by Dalai Felinto 2019-12-23 16:35:00 +01:00

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

I have re-triaged this report and can not reproduce it.
Can you please check if this is still an issue in latest build?
https://builder.blender.org/download/

I have re-triaged this report and can not reproduce it. Can you please check if this is still an issue in latest build? https://builder.blender.org/download/

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Sebastian Parborg self-assigned this 2020-02-05 14:16:47 +01:00

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to archive the report until the requested information is given.

Since last asking for information it has been 7 or more days, due to the policy of our bug tracker we will have to archive the report until the requested information is given.
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
7 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#62092
No description provided.