The ground created by Setup Tracking Scene is no longer marked as a Shadow Catcher #94751

Closed
opened 2022-01-08 19:42:28 +01:00 by George Hawkins · 7 comments

System Information
Operating system: Ubuntu 20.04.3 LTS
Graphics card: GeForce RTX 2060

Blender Version
Broken: 3.0.0, f1cca30557, master, 2021-12-02
Worked: 2.93.7, a5b7f9dc90, master, 2021-12-14

Short description of error

In Blender 2.93, when you pressed Setup Tracking Scene, you got a scene with a cube and a plane and the plane was marked as a shadow catcher.

If you do this in 3.0.0, the plane is no longer automatically marked as a shadow catcher and is visible in renders of your scene.

Exact steps for others to reproduce the error

Open a video clip and solve for the camera motion. Set the renderer to Cycles (as Eevee doesn't support shadow catcher). Press Setup Tracking Scene, select the ground, go to its Object properties, expand the Visibility section and you'll see that Shadow Catcher is not ticked.

In 2.93, it was ticked. If this is a deliberate change then it seems odd - the shadow catcher was what grounded your scene in the video clip - the shadows are what make the scene and the clip feel connected rather than one just floating on the other.

Obviously, one usually creates a far more complex scene than this cube and ground plane but it's a nice start - and while it's easy enough to tick the Shadow Catcher for the ground, it feels like it should be on by default as it was in the past.

It just feels like an unexpected change, and hence a bug, rather than a sensible change in defaults.

Here's a sample .blend file where things are just ready for you to press Setup Tracking Scene.
blender-daily-3.0-frames.blend
You also need the Footage.mp4 file found here.

**System Information** Operating system: Ubuntu 20.04.3 LTS Graphics card: GeForce RTX 2060 **Blender Version** Broken: 3.0.0, f1cca3055776, master, 2021-12-02 Worked: 2.93.7, a5b7f9dc9011, master, 2021-12-14 **Short description of error** In Blender 2.93, when you pressed *Setup Tracking Scene*, you got a scene with a cube and a plane and the plane was marked as a shadow catcher. If you do this in 3.0.0, the plane is no longer automatically marked as a shadow catcher and is visible in renders of your scene. **Exact steps for others to reproduce the error** Open a video clip and solve for the camera motion. Set the renderer to Cycles (as Eevee doesn't support shadow catcher). Press *Setup Tracking Scene*, select the ground, go to its *Object* properties, expand the *Visibility* section and you'll see that *Shadow Catcher* is not ticked. In 2.93, it was ticked. If this is a deliberate change then it seems odd - the shadow catcher was what grounded your scene in the video clip - the shadows are what make the scene and the clip feel connected rather than one just floating on the other. Obviously, one usually creates a far more complex scene than this cube and ground plane but it's a nice start - and while it's easy enough to tick the *Shadow Catcher* for the ground, it feels like it should be on by default as it was in the past. It just feels like an unexpected change, and hence a bug, rather than a sensible change in defaults. Here's a sample `.blend` file where things are just ready for you to press *Setup Tracking Scene*. [blender-daily-3.0-frames.blend](https://archive.blender.org/developer/F12796209/blender-daily-3.0-frames.blend) You also need the `Footage.mp4` file found [here](https://drive.google.com/drive/folders/1WHNNXcz74CZb4kF51ZqYNloraMeQHtJd).
Author

Added subscriber: @GeorgeHawkins

Added subscriber: @GeorgeHawkins

Added subscribers: @brecht, @mano-wii

Added subscribers: @brecht, @mano-wii

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

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

I can confirm the problem.
Looks like it was something missing from ca64bd0aac

This change seems to solve the problem:

diff --git a/release/scripts/startup/bl_operators/clip.py b/release/scripts/startup/bl_operators/clip.py
index 45d1ea98a8a..f0e099244f4 100644
--- a/release/scripts/startup/bl_operators/clip.py
+++ b/release/scripts/startup/bl_operators/clip.py
@@ -949,7 +949,7 @@ class CLIP_OT_setup_tracking_scene(Operator):
             """Make all the newly created and the old objects of a collection """ \
                 """to be properly setup for shadow catch"""
             for ob in collection.objects:
-                ob.cycles.is_shadow_catcher = True
+                ob.is_shadow_catcher = True
                 for child in collection.children:
                     setup_shadow_catcher_objects(child)
 

CC. @brecht

I can confirm the problem. Looks like it was something missing from ca64bd0aac This change seems to solve the problem: ``` diff --git a/release/scripts/startup/bl_operators/clip.py b/release/scripts/startup/bl_operators/clip.py index 45d1ea98a8a..f0e099244f4 100644 --- a/release/scripts/startup/bl_operators/clip.py +++ b/release/scripts/startup/bl_operators/clip.py @@ -949,7 +949,7 @@ class CLIP_OT_setup_tracking_scene(Operator): """Make all the newly created and the old objects of a collection """ \ """to be properly setup for shadow catch""" for ob in collection.objects: - ob.cycles.is_shadow_catcher = True + ob.is_shadow_catcher = True for child in collection.children: setup_shadow_catcher_objects(child) ``` CC. @brecht

@mano-wii, looks good to me, feel free to commit.

@mano-wii, looks good to me, feel free to commit.

This issue was referenced by ab125f466c

This issue was referenced by ab125f466c975f80cc179f7e7a53e09feb868bfd

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Germano Cavalcante self-assigned this 2022-01-11 23:03:02 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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
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#94751
No description provided.