EEVEE-Next: Per probe viewport display #114176

Merged
Miguel Pozo merged 8 commits from pragma37/blender:pull-eevee-probes-display into main 2023-11-02 17:08:22 +01:00
Member
  • Add viewport display support for Sphere and Plane probes.
  • Make all probe display options per object instead of per scene.
    (Uses the already existing LIGHTPROBE_FLAG_SHOW_DATA and adds a new show_data_size property to the LightProbe dna)
* Add viewport display support for Sphere and Plane probes. * Make all probe display options per object instead of per scene. (Uses the already existing `LIGHTPROBE_FLAG_SHOW_DATA` and adds a new `show_data_size` property to the `LightProbe` dna)
Miguel Pozo added the
Interest
EEVEE
Module
EEVEE & Viewport
labels 2023-10-26 18:04:26 +02:00
Miguel Pozo added 3 commits 2023-10-26 18:04:39 +02:00
Miguel Pozo added 1 commit 2023-10-27 20:02:53 +02:00
Miguel Pozo changed title from EEVEE-Next: Per Volume Probe viewport display options to EEVEE-Next: Per probe viewport display 2023-10-27 20:03:35 +02:00
Miguel Pozo requested review from Clément Foucault 2023-10-27 20:09:18 +02:00
Clément Foucault requested changes 2023-10-31 17:14:52 +01:00
Clément Foucault left a comment
Member

I think it's missing the plane light probe display.

Otherwise the implementation looks good.

I think it's missing the plane light probe display. Otherwise the implementation looks good.
@ -322,0 +322,4 @@
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, nullptr);
prop = RNA_def_property(srna, "show_data_size", PROP_FLOAT, PROP_DISTANCE);

The naming is confusing. Could be interpreted that it shows the size.

I'm tempted to rename the show_data to use_data_display. Then this property would become data_display_size which would avoid this confusion.

The naming is confusing. Could be interpreted that it shows the size. I'm tempted to rename the `show_data` to `use_data_display`. Then this property would become `data_display_size` which would avoid this confusion.
Author
Member

I would go with show_data_display_size, to avoid breaking the Python API.

I would go with `show_data_display_size`, to avoid breaking the Python API.

Like I said in another task, we can keep the old name in the RNA for compatibility reason and add a deprecation warning in the property description. The new property would just be an alias.

Like I said in another task, we can keep the old name in the RNA for compatibility reason and add a deprecation warning in the property description. The new property would just be an alias.
Author
Member

I think it's missing the plane light probe display.

Yes, I didn't know that one had to be implemented too!

> I think it's missing the plane light probe display. Yes, I didn't know that one had to be implemented too!
Miguel Pozo added 2 commits 2023-10-31 19:55:08 +01:00
Miguel Pozo added 2 commits 2023-11-02 15:50:48 +01:00
Clément Foucault approved these changes 2023-11-02 16:03:22 +01:00
Miguel Pozo merged commit b679ea939a into main 2023-11-02 17:08:22 +01:00
Miguel Pozo deleted branch pull-eevee-probes-display 2023-11-02 17:08:24 +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 project
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#114176
No description provided.