The OSL Baking Camera is a scriptable camera. The OSL cameras work in conjunction with other OSL features like the OSL Texture node. The OSL Baking Camera behaves much like the standard Baking Camera, but the UV coordinate to sample and the resulting ray direction are generated by an OSL script instead of pre-defined UV coordinates. To learn more about scripting within OctaneRender® using OSL, see the The Octane OSL Guide.



OSL Baking Camera Parameters



Figure 1: The OSL Baking camera parameters.

 

OSL Baking Camera Parameters

Baking Group ID - Specifies the group ID to bake. By default, all objects belong to the default baking group number 1.

UV Set - This determines the UV coordinates to use for baking.

Padding

Size - The number of pixels added to the UV map edges. The padding size is specified in pixels. The default padding size is set to 4 pixels, with 0 being the minimum and 16 being the maximum size.

Edge Noise Tolerance - Helps remove hot pixels appearing near the UV edges. Values close to 1 do not remove any hot pixels, while values near 0 attempts to remove them all.

Position

Continue if Transparent - If disabled, a transparent surface will terminate the path. If enabled, the ray will continue through the transparent surface.