Skip to content

Commit

Permalink
standardOptions : Improve description of camera and matte exclusions
Browse files Browse the repository at this point in the history
Some users were over-specifying `cameraExclusions` as `all - cameraInclusions`, which is redundant as anything outside of `cameraInclusions` would already be invisible to camera rays.
  • Loading branch information
murraystevenson authored and johnhaddon committed Dec 12, 2024
1 parent d8db466 commit e186938
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Improvements
- RenderPassEditor :
- Added support for entering custom values in the `Type` column. Custom types can be later configured with a downstream NameSwitch selecting based on the value of the `renderPass:type` option.
- Columns that edit options now include the option name in their header tooltip.
- Improved description of `render:cameraExclusions` and `render:matteExclusions` options.

Fixes
-----
Expand Down
8 changes: 8 additions & 0 deletions startup/GafferScene/standardOptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@
ray visibility. Camera visibility attributes authored in the scene take precedence
over this option.
Typically, this is used to exclude descendants of locations in `cameraInclusions`,
as locations not specified in `cameraInclusions` already default to being excluded
from camera ray visibility.
For shadow, reflection and reflectionAlpha pass types, this specifies objects that
cast shadows or reflections. Shadow or reflection visibility attributes authored
in the scene take precedence over this option.
Expand Down Expand Up @@ -209,5 +213,9 @@
A set expression that excludes the matched objects and their descendants from being
treated as matte (holdout) objects. Matte attributes authored in the scene take
precedence over this option.
Typically, this is used to exclude descendants of locations in `matteInclusions`,
as locations not specified in `matteInclusions` already default to not being
treated as matte objects.
"""
)

0 comments on commit e186938

Please sign in to comment.