Compositor/Stereoscopy with view switch and file output generate extra files #72171

Open
opened 2019-12-04 17:01:01 +01:00 by ADI SAMSONOFF · 15 comments

Blender Version
Broken: 2.79, 2.81, ...
Worked: ?

Short description of error
when using Stereoscopy to render a scene from multiple cameras simultaneously, and using the compositor 'Switch View' node to save each camera output separately - unwanted files are saved with each output file.

Simpler version of the report

The combination of the switch view node, mix RGB node and rgb node is creating the problem, disabling even just one of those three nodes produces normal results.
The bug is reproduced only when all mix nodes are connected to the same RGB node, but connecting each node the a duplicate of the same rgb node seems to resolve the problem (see screenshots attached)

Sample file:

Compositor bug.blend

noproblem.png
problem.png

For the records the issue also happens in 2.79.

stereo279.blend

Original description of error

In the attached .blend are 9 cameras set up with sterescopy. The compositor separates and saves each camera output to a different directory.
For some reason, with every file output from a certain camera there's another file output from a different camera (lets call it parasite camera) , only this one is black with no data (see attached screenshot).
a few charasteristics:

  • The parasite camera output is added to every output of the other cameras, but not to its own
  • Rendering again changes the parasite camera to a different one (in the screenshot it was 'Cam006', in other renders it was a different one)
  • It's not clear how the parasite camera is "chosen", it isn't selected or active, and it's not the scene's camera
  • There's no file output in the compositor that suggests this output

compositor bug.png
TemplateScenePopulated_001.blend

**Blender Version** Broken: 2.79, 2.81, ... Worked: ? **Short description of error** when using Stereoscopy to render a scene from multiple cameras simultaneously, and using the compositor 'Switch View' node to save each camera output separately - unwanted files are saved with each output file. **Simpler version of the report** The combination of the switch view node, mix RGB node and rgb node is creating the problem, disabling even just one of those three nodes produces normal results. The bug is reproduced only when all mix nodes are connected to the same RGB node, but connecting each node the a duplicate of the same rgb node seems to resolve the problem (see screenshots attached) Sample file: [Compositor bug.blend](https://archive.blender.org/developer/F8281321/Compositor_bug.blend) ![noproblem.png](https://archive.blender.org/developer/F8281320/noproblem.png) ![problem.png](https://archive.blender.org/developer/F8281319/problem.png) For the records the issue also happens in 2.79. [stereo279.blend](https://archive.blender.org/developer/F8281380/stereo279.blend) **Original description of error** In the attached .blend are 9 cameras set up with sterescopy. The compositor separates and saves each camera output to a different directory. For some reason, with every file output from a certain camera there's another file output from a different camera (lets call it parasite camera) , only this one is black with no data (see attached screenshot). a few charasteristics: - The parasite camera output is added to every output of the other cameras, but not to its own - Rendering again changes the parasite camera to a different one (in the screenshot it was 'Cam006', in other renders it was a different one) - It's not clear how the parasite camera is "chosen", it isn't selected or active, and it's not the scene's camera - There's no file output in the compositor that suggests this output ![compositor bug.png](https://archive.blender.org/developer/F8189516/compositor_bug.png) [TemplateScenePopulated_001.blend](https://archive.blender.org/developer/F8189520/TemplateScenePopulated_001.blend)
Author

Added subscriber: @Adi.samso

Added subscriber: @Adi.samso

Added subscriber: @SerjMaiorov

Added subscriber: @SerjMaiorov
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

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

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

I can reproduce this issue. However, could you please provide a simpler file that has the same issue? Just two output nodes should be enough, right?

I can reproduce this issue. However, could you please provide a simpler file that has the same issue? Just two output nodes should be enough, right?

Added subscriber: @dfelinto

Added subscriber: @dfelinto

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

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

Not confirmed if we still don't have all the information to fix the issue (in this case we do need a simpler file).
Also, is this happening in 2.79 or not? The sample file can be made in 2.79 even.

Not confirmed if we still don't have all the information to fix the issue (in this case we do need a simpler file). Also, is this happening in 2.79 or not? The sample file can be made in 2.79 even.
Author

alright, so I've been trying to reproduce the bug in a simpler file and may have discovered exactly what causes it and how to avoid it!
It seems like It's the combination of the switch view node, mix RGB node and rgb node is creating the problem, disabling even just one of those three nodes produces normal results.
The surprising fact is the bug is reproduced only when all mix nodes are connected to the same RGB node, but connecting each node the a duplicate of the same rgb node seems to resolve the problem (see screenshots attached)

(attached is a simpler file that reproduces the bug)

Compositor bug.blend

noproblem.png

problem.png

alright, so I've been trying to reproduce the bug in a simpler file and may have discovered exactly what causes it and how to avoid it! It seems like It's the combination of the switch view node, mix RGB node and rgb node is creating the problem, disabling even just one of those three nodes produces normal results. The surprising fact is the bug is reproduced only when all mix nodes are connected to the same RGB node, but connecting each node the a duplicate of the same rgb node seems to resolve the problem (see screenshots attached) (attached is a simpler file that reproduces the bug) [Compositor bug.blend](https://archive.blender.org/developer/F8281321/Compositor_bug.blend) ![noproblem.png](https://archive.blender.org/developer/F8281320/noproblem.png) ![problem.png](https://archive.blender.org/developer/F8281319/problem.png)
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Thx for digging deeper @Adi.samso , can confirm.

Thx for digging deeper @Adi.samso , can confirm.
Dalai Felinto changed title from Compositor/Stereoscopy bug to Compositor/Stereoscopy with view switch and file output generate extra files 2020-01-16 12:22:14 +01:00

Thanks indeed, it helps a lot this sort of simplification. I updated the report to contain all the updated information. Also making sure the proper module (VFX & Video in this case) is tagged.

Thanks indeed, it helps a lot this sort of simplification. I updated the report to contain all the updated information. Also making sure the proper module (VFX & Video in this case) is tagged.
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

when using the file I see it creates the next files

Saved: Output/Cam1/Image0001_Cam01.png
Saved: Output/Cam2/Image0001_Cam01.png
Saved: Output/Cam3/Image0001_Cam01.png
Saved: Output/Cam2/Image0001_Cam02.png
Saved: Output/Cam3/Image0001_Cam03.png

So it seems to be faulty when rendering the first view.
The file output node saves an image when its resolution is set to something else than [0,0]. In these cases it gets the resolution of the MixRGB -> RGB node.

Issue is also that the Switch View node isn't designed to split the graph, but for joining the graph. I will set this to known issue I don't see any solutions without breaking other setups.

A solution could be to have a view-filter in the file output node and not based on the dimension. but that is a workaround.

when using the file I see it creates the next files ``` Saved: Output/Cam1/Image0001_Cam01.png Saved: Output/Cam2/Image0001_Cam01.png Saved: Output/Cam3/Image0001_Cam01.png Saved: Output/Cam2/Image0001_Cam02.png Saved: Output/Cam3/Image0001_Cam03.png ``` So it seems to be faulty when rendering the first view. The file output node saves an image when its resolution is set to something else than [0,0]. In these cases it gets the resolution of the MixRGB -> RGB node. Issue is also that the Switch View node isn't designed to split the graph, but for joining the graph. I will set this to known issue I don't see any solutions without breaking other setups. A solution could be to have a view-filter in the file output node and not based on the dimension. but that is a workaround.
Philipp Oeser removed the
Interest
VFX & Video
label 2023-02-10 09:32:04 +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
6 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#72171
No description provided.