Viewport Render (and Render Animation) color looks completely off from the Viewport #73956

Open
opened 3 years ago by GabrielMoro · 20 comments

System Information
Operating system: Darwin-19.0.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 560X OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.2.24

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-02-11 14:45, hash: c939b4df18

Short description of error
Rendering the viewport animation gives a very different result from the actual viewport.
(Also: Viewport Anti-Aliasing isn't taken into consideration on the Viewport Render).

Screen Shot 2020-02-17 at 21.53.08.jpg untitled.jpg

The problem is more noticeable when the Viewport Shading is set to "Flat", even though it also shows in "Studio". It delivers very dull colors with less contrast and a blue-ish tone.
Changing between Cycles and Eevee doesn't affect the Viewport Render (from my tests).

Screen Shot 2020-02-18 at 13.50.15.jpg Screen Shot 2020-02-18 at 13.50.17.jpg
flat:
Screen Shot 2020-02-18 at 13.50.38.jpg Screen Shot 2020-02-18 at 13.50.41.jpg
-- --

Exact steps for others to reproduce the error

**System Information** Operating system: Darwin-19.0.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 560X OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.2.24 **Blender Version** Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-02-11 14:45, hash: `c939b4df18` **Short description of error** Rendering the viewport animation gives a very different result from the actual viewport. (Also: Viewport Anti-Aliasing isn't taken into consideration on the Viewport Render). |![Screen Shot 2020-02-17 at 21.53.08.jpg](https://archive.blender.org/developer/F8346280/Screen_Shot_2020-02-17_at_21.53.08.jpg)|![untitled.jpg](https://archive.blender.org/developer/F8346309/untitled.jpg) | -- | -- | The problem is more noticeable when the Viewport Shading is set to "Flat", even though it also shows in "Studio". It delivers very dull colors with less contrast and a blue-ish tone. Changing between Cycles and Eevee doesn't affect the Viewport Render (from my tests). |![Screen Shot 2020-02-18 at 13.50.15.jpg](https://archive.blender.org/developer/F8348141/Screen_Shot_2020-02-18_at_13.50.15.jpg)|![Screen Shot 2020-02-18 at 13.50.17.jpg](https://archive.blender.org/developer/F8348145/Screen_Shot_2020-02-18_at_13.50.17.jpg) | -- | -- | flat: |![Screen Shot 2020-02-18 at 13.50.38.jpg](https://archive.blender.org/developer/F8348144/Screen_Shot_2020-02-18_at_13.50.38.jpg)|![Screen Shot 2020-02-18 at 13.50.41.jpg](https://archive.blender.org/developer/F8348142/Screen_Shot_2020-02-18_at_13.50.41.jpg) | -- | -- | **Exact steps for others to reproduce the error** - Open attached file. - Go to View -> Viewport Render Image [Viewport Colors.blend](https://archive.blender.org/developer/F8348132/Viewport_Colors.blend)
Poster

Added subscriber: @GabrielMoro

Added subscriber: @GabrielMoro
Collaborator

#77291 was marked as duplicate of this issue

#77291 was marked as duplicate of this issue
Collaborator

#75544 was marked as duplicate of this issue

#75544 was marked as duplicate of this issue
ankitm commented 3 years ago
Collaborator

Added subscriber: @ankitm

Added subscriber: @ankitm
ankitm commented 3 years ago
Collaborator

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

Changed status from 'Needs Triage' to: 'Needs User Info'
ankitm commented 3 years ago
Collaborator

if you're rendering by Eevee, it would be different from what cycles would render. I am not aware of what viewport uses, but try changing render engine. Also, is possible add a blender file to help debug the issue.

if you're rendering by Eevee, it would be different from what cycles would render. I am not aware of what viewport uses, but try changing render engine. Also, is possible add a blender file to help debug the issue.
Poster

I see now that the problem is more noticeable when the Viewport Shading is set to "Flat", even though it also shows in "Studio". It delivers very dull colors with less contrast and a blue-ish tone.
Changing between Cycles and Eevee doesn't affect the Viewport Render (from my tests).

Screen Shot 2020-02-18 at 13.50.17.jpg

Screen Shot 2020-02-18 at 13.50.38.jpg

Screen Shot 2020-02-18 at 13.50.41.jpg

Screen Shot 2020-02-18 at 13.50.15.jpg

Viewport Colors.blend

I see now that the problem is more noticeable when the Viewport Shading is set to "Flat", even though it also shows in "Studio". It delivers very dull colors with less contrast and a blue-ish tone. Changing between Cycles and Eevee doesn't affect the Viewport Render (from my tests). ![Screen Shot 2020-02-18 at 13.50.17.jpg](https://archive.blender.org/developer/F8348145/Screen_Shot_2020-02-18_at_13.50.17.jpg) ![Screen Shot 2020-02-18 at 13.50.38.jpg](https://archive.blender.org/developer/F8348144/Screen_Shot_2020-02-18_at_13.50.38.jpg) ![Screen Shot 2020-02-18 at 13.50.41.jpg](https://archive.blender.org/developer/F8348142/Screen_Shot_2020-02-18_at_13.50.41.jpg) ![Screen Shot 2020-02-18 at 13.50.15.jpg](https://archive.blender.org/developer/F8348141/Screen_Shot_2020-02-18_at_13.50.15.jpg) [Viewport Colors.blend](https://archive.blender.org/developer/F8348132/Viewport_Colors.blend)

Added subscriber: @SpectreFirst

Added subscriber: @SpectreFirst

It looks like Viewport Render Image uses the same Color Management as Eevee and Cycles while viewport itself in Workbench mode seems to always work in Standard View Transform. Try setting Color Management – View Transform to Standard instead of Filmic in Render Properties, it should even work after you hit Viewport Render Image.

It looks like Viewport Render Image uses the same Color Management as Eevee and Cycles while viewport itself in Workbench mode seems to always work in Standard View Transform. Try setting Color Management – View Transform to Standard instead of Filmic in Render Properties, it should even work after you hit Viewport Render Image.
ankitm commented 3 years ago
Collaborator

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

Changed status from 'Needs User Info' to: 'Needs Triage'
Poster

Changing it to View Transform Standard fixes the color problem! Perhaps a small tweak to set it automatically when rendering the Viewport would fix it for everyone else?
Could the fact that the viewport anti-aliasing is ignored when rendering this way also be fixed? In this case, for example, I'm rendering my walk cycle by using the viewport, but the hair looks bad because anti-aliasing isn't been taken into consideration.

Thanks again for the info on the color!

Changing it to View Transform Standard fixes the color problem! Perhaps a small tweak to set it automatically when rendering the Viewport would fix it for everyone else? Could the fact that the viewport anti-aliasing is ignored when rendering this way also be fixed? In this case, for example, I'm rendering my walk cycle by using the viewport, but the hair looks bad because anti-aliasing isn't been taken into consideration. Thanks again for the info on the color!
Collaborator

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

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

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Collaborator

In solid mode we don't use the view transform as that is setup for rendering. When rendering an image from the viewport the image editor uses the view transform. This works as designed.
The work around described in this ticket is not correct as it changes the scene setting, and that is not what you want when you are rendering.

Best option would be that the render result known if it needs to display the view transform or not. Currently it does not have this ability. I will file it as a known issue.

In solid mode we don't use the view transform as that is setup for rendering. When rendering an image from the viewport the image editor uses the view transform. This works as designed. The work around described in this ticket is not correct as it changes the scene setting, and that is not what you want when you are rendering. Best option would be that the render result known if it needs to display the view transform or not. Currently it does not have this ability. I will file it as a known issue.
ankitm commented 3 years ago
Collaborator

Added subscriber: @ThamQiLun

Added subscriber: @ThamQiLun
iss commented 3 years ago
Collaborator

Added subscriber: @istoltoto

Added subscriber: @istoltoto

workaround solution

Hey, thank you for adding me here.

One of our team member did a script to workaround this problem.

Instead of using Viewport Render Animation, the script will use Viewport Render Image and move to render the next frame automaticly.
The script have no stop button and is not working with Esc either, so you either leave it to finish till the end of timeline, or you shoutdown the Blender.

Credit to: Jefferson Rausseo

new_viewport_render.jpg

render_viewport_alternative.py

**workaround solution** Hey, thank you for adding me here. One of our team member did a script to workaround this problem. Instead of using Viewport Render Animation, the script will use Viewport Render Image and move to render the next frame automaticly. The script have no stop button and is not working with Esc either, so you either leave it to finish till the end of timeline, or you shoutdown the Blender. Credit to: Jefferson Rausseo ![new_viewport_render.jpg](https://archive.blender.org/developer/F8576262/new_viewport_render.jpg) [render_viewport_alternative.py](https://archive.blender.org/developer/F8576264/render_viewport_alternative.py)
xdanic commented 3 years ago

Added subscriber: @xdanic

Added subscriber: @xdanic

Added subscriber: @JustRed

Added subscriber: @JustRed

oh, almost reported same issue.
This is rather painful as people do be using filmic

oh, almost reported same issue. This is rather painful as people do be using filmic
lichtwerk removed the
legacy module/Eevee & Viewport
label 19 hours ago
lichtwerk removed the
Interest/Eevee & Viewport
label 19 hours ago
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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
Interest/Eevee & Viewport
Interest/Freestyle
Interest/Geometry Nodes
Interest/Grease Pencil
Interest/Images & Movies
Interest/Import/Export
Interest/Line Art
Interest/Masking
Interest/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Overrides
Interest/Performance
Interest/Pipeline, Assets & I/O
Interest/Translations
Interest/Undo
Interest/USD
Interest/Video Sequencer
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/Nodes & Physics
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Performance
legacy project/Physics
legacy project/Platforms, Builds, Tests & Devices
legacy project/Pose Library Basics
legacy project/Python API
legacy project/Render & Cycles
legacy project/Render Pipeline
legacy project/Retrospective
legacy project/Sculpt, Paint & Texture
legacy project/Text Editor
legacy project/Tracker Curfew
legacy project/Triaging
legacy project/User Interface
legacy project/UV Editing
legacy project/VFX & Video
legacy project/Virtual Reality
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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
10 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#73956
Loading…
There is no content yet.