sj_blocker

sj_blocker is an Arnold light filter, that alters a light's color by a blocker.
A blocker is a simple implicit object (either a grid, a sphere, a cube or a cylinder) that can be srt transformed.

Download

Get the shaders pack from here

Installation

The spdl and the dll/so files should be copied under the SItoA addon directory, or any other workgroup.
If using another workgroup, you will have to set the shaders search path to point to the dll/so directory in the rendering options. The spdl files must be copied under SItoA/Application/spdl (or under the Application/spdl directory of your workgroup).

Parameters

Mute: if on, the filter is muted.

Positive: if on, the shader blocks the color if the point is inside the blocker. Else, it blocks it if outside.

Filter: the filtering color.

Extra Scale, Decay: if Extra Scale > 1, a the blocker shape falls off instead of being a sharp one. The decay extent depends on the Extra Scale, and the decay speed on Decay (0==none, 1==linear, 2==quadratic and so on).

Type: the blocker shape. Can be Grid, Sphere, Cube, Cylinder.

Scale, Rotation, Translation: the srt to be applied to the basic blocker. You can either set them by hand, or use the two buttons provided to have the srt linked by expression to an implicit (not renderable) object.

Pick From Implicit Object: after clicking, pick an existing object (grid, sphere, etc.). Scale, Rotation, Translation are constrained by expression to the picked object.

Create Object: an implicit object of the current Type is created, and Scale, Rotation, Translation constrained by expression to the new object.


Example

Filtering a white distant light by a sphere blocker