The Kettle Bake lens shader was designed to bake data lighting information on an object to a texture. It integrates well with Softimage's rendering workflow, but does have some very specific requirements, so be sure to follow the usage instructions closely.
|Input Object||The object you want to bake. The ‘Pick’ button launches a pick session. Make sure it has a set of nice non-overlapping UVs for best results.|
|Normal Offset||The distance from the surface from which the lighting is sampled. If you find yourself with gaps in your baked image, adjusting this may fix some intersection-based issues.|
|Grid Size||How many chunks squared the uv space is divided up into when looking up triangles to rasterize. Default value is pretty good, but larger numbers may speed it up.|
Baking a texture using the Kettle Bake lens shaders works largely like rendering any other image in Arnold from the render manager. Your image file type, output directory and render quality settings all apply as usual. We assume you know how to render an image with Arnold - the following is a walkthrough on the specific requirements when using Kettle Bake only.
- Ensure the object has unique, non-overlapping UV’s.
- Freeze the object’s transforms.
- Smooth your object (at least one level of subdivision is required).
- Create a camera. Delete the root and interest, you don’t need them.
- Freeze the camera’s transforms.
- In the camera properties, set the picture ratio and pixel ratio to 1.
- In the render tree, right click on the camera node while hovering over ‘Lens Shaders’ and click ‘Add Item’ to expose a port. Plug in a Kettle Bake camera shader node.
- In the Kettle Bake node, pick the object you want to bake, and adjust further parameters as necessary. refer to the table in the Options section above for parameter descriptions.
- In your render pass, set the camera you just created as the pass camera.
- Set the aspect ratio and pixel ratio to 1 to create a square image.
- Set your output height/width according to the size of the texture you want to bake. The aspect ratio must be square.
Arnold Render Options
- In the User Options, input “preserve_scene_data 1”, without the quotes.
- In the Diagnostic tab, ensure that “Ignore User Options” is not checked on.
You can now render your pass as you would normally, and even preview render in viewport when looking through the bake camera.