EEVEE: Lookdev HDRI Spheres #115465

Merged
Jeroen Bakker merged 27 commits from Jeroen-Bakker/blender:eevee-next/lookdev-spheres into main 2023-12-07 08:19:46 +01:00
Member

This PR implements the Lookdev (HDRI) Spheres overlay for EEVEE-Next. There are
also improvements for lookdev:

  • Scene lighting (direct and indirect are) applied to the spheres.
  • Shadow is applied to the spheres.

This is done by virtually placing the balls at the near clip plane of the camera/viewport.

image

This PR implements the Lookdev (HDRI) Spheres overlay for EEVEE-Next. There are also improvements for lookdev: * Scene lighting (direct and indirect are) applied to the spheres. * Shadow is applied to the spheres. This is done by virtually placing the balls at the near clip plane of the camera/viewport. ![image](/attachments/735d0f49-a2cd-479e-b293-8e3f4b7f06a1)
527 KiB
Jeroen Bakker added this to the 4.1 milestone 2023-11-27 11:57:03 +01:00
Jeroen Bakker added the
Interest
EEVEE
Module
EEVEE & Viewport
labels 2023-11-27 11:57:03 +01:00
Jeroen Bakker self-assigned this 2023-11-27 11:57:03 +01:00
Jeroen Bakker added 1 commit 2023-11-27 11:57:18 +01:00
Jeroen Bakker added 1 commit 2023-11-27 12:20:53 +01:00
Jeroen Bakker added 1 commit 2023-11-27 15:26:16 +01:00
Jeroen Bakker added this to the EEVEE & Viewport project 2023-11-27 17:09:10 +01:00
Jeroen Bakker added 1 commit 2023-11-28 14:29:35 +01:00
Jeroen Bakker reviewed 2023-11-28 14:59:37 +01:00
@ -299,3 +299,3 @@
public:
::Material *diffuse_mat;
::Material *glossy_mat;
::Material *metallic_mat;
Author
Member

This rename can be done in a separate commit.

This rename can be done in a separate commit.
Jeroen Bakker added 3 commits 2023-11-30 10:45:10 +01:00
Jeroen Bakker added 1 commit 2023-11-30 11:23:32 +01:00
Jeroen Bakker added 1 commit 2023-11-30 12:14:23 +01:00
Jeroen Bakker added 3 commits 2023-11-30 15:12:32 +01:00
Jeroen Bakker requested review from Clément Foucault 2023-11-30 15:13:28 +01:00
Jeroen Bakker added 1 commit 2023-11-30 15:40:05 +01:00
Jeroen Bakker changed title from WIP: EEVEE: Port Lookdev HDRI Spheres to EEVEE: Port Lookdev HDRI Spheres 2023-11-30 15:43:54 +01:00
Jeroen Bakker added 1 commit 2023-11-30 16:07:33 +01:00
Jeroen Bakker added 1 commit 2023-11-30 16:18:24 +01:00
Clément Foucault requested changes 2023-12-01 10:36:57 +01:00
Clément Foucault left a comment
Member

I think it would be better to wrap each ball into it's own container LookdevSphere that have a framebuffer and a texture. This makes it easier to reuse and follow the code flow.

I think it would be better to wrap each ball into it's own container `LookdevSphere` that have a framebuffer and a texture. This makes it easier to reuse and follow the code flow.
Jeroen Bakker added 3 commits 2023-12-01 11:26:26 +01:00
Jeroen Bakker added 1 commit 2023-12-01 11:32:58 +01:00
Jeroen Bakker changed title from EEVEE: Port Lookdev HDRI Spheres to EEVEE: Lookdev HDRI Spheres 2023-12-01 11:45:08 +01:00
First-time contributor

Could you set the diffuse ball albedo to 0.18 ?

That’s the reference mid grey value.

Could you set the diffuse ball albedo to 0.18 ? That’s the reference mid grey value.
Jeroen Bakker added 3 commits 2023-12-04 09:18:07 +01:00
Jeroen Bakker added 1 commit 2023-12-04 09:52:32 +01:00
Jeroen Bakker added 1 commit 2023-12-04 10:07:51 +01:00
Jeroen Bakker requested review from Clément Foucault 2023-12-04 10:09:31 +01:00
Author
Member

Could you set the diffuse ball albedo to 0.18 ?

I don't have a strong opinion on changing the balls. Would like to have more feedback from users as I don't want this to become a user specific setting. Can you prepare a right click select topic. I can provide builds with the change as it is a one liner.

See #115745

> Could you set the diffuse ball albedo to 0.18 ? I don't have a strong opinion on changing the balls. Would like to have more feedback from users as I don't want this to become a user specific setting. Can you prepare a right click select topic. I can provide builds with the change as it is a one liner. See #115745

@Jeroen-Bakker @emkkla maybe its better to mention in the eevee-next feedback thread on devtalk.blender.org

@Jeroen-Bakker @emkkla maybe its better to mention in the eevee-next feedback thread on devtalk.blender.org
Jeroen Bakker added 1 commit 2023-12-04 16:38:32 +01:00
Jeroen Bakker reviewed 2023-12-06 08:45:44 +01:00
@ -331,0 +337,4 @@
if (!inst_.lookdev.enabled_) {
return;
}
GPU_debug_capture_begin();
Author
Member

Debug code will be removed before landing

Debug code will be removed before landing
Jeroen-Bakker marked this conversation as resolved
Jeroen Bakker added 1 commit 2023-12-06 08:48:46 +01:00
Jeroen Bakker added 1 commit 2023-12-06 09:41:55 +01:00
buildbot/vexp-code-patch-coordinator Build done. Details
3c11fc0356
Merge branch 'main' into eevee-next/lookdev-spheres
Author
Member

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR115465) when ready.
Clément Foucault approved these changes 2023-12-06 15:23:18 +01:00
Jeroen Bakker merged commit 5475d8c5cf into main 2023-12-07 08:19:46 +01: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
4 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#115465
No description provided.