OSL baking camera
The OSL Baking Camera is a scriptable camera. You can create custom camera types for any purpose (such as VR warping) with OSL (Open Shader Language) scripts. It is a very flexible camera used to match the rendering to the existing footage. To learn about the generic OSL standard, read the OSL Readme and PDF documentation.
The OSL cameras work in conjunction with other OSL features like the OSL texture node. While the OSL camera's parameters are identical to the Standard camera, the OSL Baking camera contains a unique set of camera parameters used for controlling the baking process. These parameters are covered in more detail in the Texture Baking topic under the Rendering section of this manual. To learn more about scripting within OctaneRender® using OSL, see the The Octane OSL Guide.
Figure 1: OSL baking camera Node
Parameters
- Internal - Use the Text Editor icon to select a script written in Blender Text Editor (Figure 2).
- External - Use the File Browser to load an OSL external text file (Figure 3).
- Compile OSL Node - Execute the script.
- Compatibility version - The Octane version that the behavior of this node should match.
- 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.
- 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.
- Continue if Transparent - If disabled, a transparent surface will terminate the path. If enabled, the ray will continue through the transparent surface.