Cleanup: Remove Unused use_ambient_occusion Property #109783

Merged
Jeroen Bakker merged 3 commits from Jeroen-Bakker/blender:cleanup-remove-use_ambient-occlusion into main 2023-07-10 11:18:30 +02:00
Member

use_ambient_occlusion is a legacy property and not
connected to anything. The clip editor still write
to it for enabling the ambient occlusion renderpass.

This change will remove the legaccy option and
won't enable ambient occlusion pass anymore due
to visual and performance impact.

`use_ambient_occlusion` is a legacy property and not connected to anything. The clip editor still write to it for enabling the ambient occlusion renderpass. This change will remove the legaccy option and won't enable ambient occlusion pass anymore due to visual and performance impact.
Jeroen Bakker added this to the 4.0 milestone 2023-07-06 15:37:00 +02:00
Jeroen Bakker added the
Interest
Motion Tracking
label 2023-07-06 15:37:00 +02:00
Jeroen Bakker self-assigned this 2023-07-06 15:37:00 +02:00
Jeroen Bakker added 1 commit 2023-07-06 15:37:07 +02:00
buildbot/vexp-code-patch-coordinator Build done. Details
fd79186541
Cleanup: Replace legacy calls
`use_ambient_occlusion` is a legacy property and not
connected to anything. The clip editor still write
to it for enabling the ambient occlusion renderpass.

This change will remove the legaccy option and
enable ambient occlusion pass for the active
view_layer.
Jeroen Bakker requested review from Sergey Sharybin 2023-07-06 15:37:17 +02:00
Jeroen Bakker added this to the Motion Tracking project 2023-07-06 15:37:25 +02:00
Author
Member

Not my area of expertise. Should we also enable it for the background viewlayer?

Not my area of expertise. Should we also enable it for the background viewlayer?
Author
Member

@blender-bot build

@blender-bot build
Sergey Sharybin requested changes 2023-07-06 15:46:29 +02:00
Sergey Sharybin left a comment
Owner

This is a very nice catch!

I wouldn't enable AO pass.

This is a very nice catch! I wouldn't enable AO pass.
@ -630,6 +629,7 @@ class CLIP_OT_setup_tracking_scene(Operator):
fg = view_layers.new("Foreground")
fg.use_sky = True
fg.use_pass_ambient_occlusion = True

This has a performance impact, and it is different from the AO on the world. The pass simply writes what the integrator "sees", and the world AO was doing some GI approximation using AO. So this line I'd leave out from the patch.

This has a performance impact, and it is different from the AO on the world. The pass simply writes what the integrator "sees", and the world AO was doing some GI approximation using AO. So this line I'd leave out from the patch.
Jeroen-Bakker marked this conversation as resolved
Jeroen Bakker added 2 commits 2023-07-10 10:53:09 +02:00
Jeroen Bakker changed title from Cleanup: Replace legacy calls to Cleanup: Remove use_ambient_occusion Property 2023-07-10 10:55:48 +02:00
Jeroen Bakker changed title from Cleanup: Remove use_ambient_occusion Property to Cleanup: Remove Not Attached use_ambient_occusion Property 2023-07-10 10:56:04 +02:00
Jeroen Bakker changed title from Cleanup: Remove Not Attached use_ambient_occusion Property to Cleanup: Remove Unused use_ambient_occusion Property 2023-07-10 10:56:23 +02:00
Sergey Sharybin approved these changes 2023-07-10 11:17:24 +02:00
Sergey Sharybin left a comment
Owner

LGTM

LGTM
Jeroen Bakker merged commit fa4def46c8 into main 2023-07-10 11:18:30 +02:00
Sergey Sharybin removed this from the Motion Tracking project 2023-07-13 15:52:42 +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 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#109783
No description provided.