EEVEE-Next: Add back data passes UI and missing passes #112162

Merged
Miguel Pozo merged 7 commits from pragma37/blender:pull-eeevee-next-missing-passes into main 2023-09-11 20:14:12 +02:00
Member

The VIEWLAYER_PT_eevee_next_layer_passes_data class name was re-used by mistake for Workbench Next in ba982119cd,
and the actual EEVEE Next class was then removed in 678dc456e3.

This adds back the UI as it was, and the missing passes (Vector and Position) it referenced.

Notes:

  • Position could be extrapolated from depth, at a precision loss cost.
  • Vector data format seems different than Cycles (in Cycles the .zw is inverted).
  • I don't understand why the Vector pass is disabled when motion blur is enabled.
    That prevents compositing nodes from using motion vectors in combination with motion blur.
The `VIEWLAYER_PT_eevee_next_layer_passes_data` class name was re-used by mistake for Workbench Next in ba982119cd, and the actual EEVEE Next class was then removed in 678dc456e3. This adds back the UI as it was, and the missing passes (Vector and Position) it referenced. Notes: - Position could be extrapolated from depth, at a precision loss cost. - Vector data format seems different than Cycles (in Cycles the `.zw` is inverted). - I don't understand why the Vector pass is disabled when motion blur is enabled. That prevents compositing nodes from using motion vectors in combination with motion blur.
Miguel Pozo added the
Module
EEVEE & Viewport
label 2023-09-08 21:00:52 +02:00
Miguel Pozo added 3 commits 2023-09-08 21:01:02 +02:00
d371238740 Add layer passes UI back
The class name was re-used by mistake for Workbench Next in ba982119cd,
and the actual EEVEE Next class was incorrectly removed in 678dc456e3.
Miguel Pozo added this to the EEVEE & Viewport project 2023-09-08 21:01:26 +02:00
Miguel Pozo requested review from Clément Foucault 2023-09-08 21:01:32 +02:00
Miguel Pozo added 1 commit 2023-09-08 21:28:10 +02:00
Miguel Pozo added 1 commit 2023-09-08 21:38:02 +02:00

Position could be extrapolated from depth, at a precision loss cost.

The precision loss is not acceptable here.

Vector data format seems different than Cycles (in Cycles the .zw is inverted).

It used to match. Maybe it was changed. Make sure viewport and render both works and match cycles.

Note that the final inversion for the renderpass is done in the film accumulation:

vector *= vec4(vec2(film_buf.render_extent), -vec2(film_buf.render_extent));

I don't understand why the Vector pass is disabled when motion blur is enabled.

Because if motion blur is enabled there is no right velocity for a pixel if the pixel has many object covering it. We follow the same practice as cycles, otherwise you could blur an already blurred image.

> Position could be extrapolated from depth, at a precision loss cost. The precision loss is not acceptable here. > Vector data format seems different than Cycles (in Cycles the .zw is inverted). It used to match. Maybe it was changed. Make sure viewport and render both works and match cycles. Note that the final inversion for the renderpass is done in the film accumulation: ``` vector *= vec4(vec2(film_buf.render_extent), -vec2(film_buf.render_extent)); ``` > I don't understand why the Vector pass is disabled when motion blur is enabled. Because if motion blur is enabled there is no right velocity for a pixel if the pixel has many object covering it. We follow the same practice as cycles, otherwise you could blur an already blurred image.
Clément Foucault approved these changes 2023-09-10 12:17:03 +02:00
Miguel Pozo added 2 commits 2023-09-11 20:12:29 +02:00
Miguel Pozo merged commit b3bf8a4e05 into main 2023-09-11 20:14:12 +02:00
Miguel Pozo deleted branch pull-eeevee-next-missing-passes 2023-09-11 20:14:14 +02:00
Sign in to join this conversation.
No reviewers
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 Assignees
2 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#112162
No description provided.