Baking Camera


The Baking Camera is used to bake the textures that are assigned to the objects in your scene, and reuse them for other processes (e.g., game engines, compositing etc.). Doing so will improve render times and texture quality. Texture creation is an indispensable technique for game engines. The Baking Camera will retain specular, reflection and other properties.

Baking Camera-烘焙相机 - 图1

BAKE A TEXTURE WITH CAMERA BAKING

Prepare your lighting and textures. The Baking Camera requires correctly structured UV maps, with islands that do not overlap, as illustrated below.

Baking Camera-烘焙相机 - 图2

There are two baking options for the baking camera: bake the whole of the scene (not recommended) or bake object by object. In the image below, we wish to bake the texture of both the Dog object and the Plane object. To do this, first create an “Octane Object Tag” for both objects and go to the “Object Layer” tab in the Tag window. Set “Bake ID” 2 for the Dog object here. Set “Bake ID” 3 for the Ground Object. Now create one Octane Camera and click on Camera Tag. Change the Camera Type to Baking.

Baking Camera-烘焙相机 - 图3

Run Live Viewer. With the “Bake Group IDs” set as described above in the Octane Camera Tag / Baking options, you’ll get the result you see in the image below. You can save these baked textures and reuse them in Unity or Unreal Engine, for example.

Baking Camera-烘焙相机 - 图4

CAMERA BAKING SETTINGS

BAKING GROUP ID

Specifies which group ID should be baked. By default all objects belong to the default baking group number 1. If you do not define the Bake ID from the Octane Object tag / Object layer menu to your objects in the scene, the bake ID of the whole scene will default to 1 and will bake the entire scene.

UV SET

This determines the UV coordinates to use for baking. If you have more than one UV map in your object, you can change it here and use the corresponding UV map.

REVERT BAKING

If checked, the camera directions are flipped.

PADDING SIZE

This is 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, being 0 the minimum and 16 the maximum size.

Baking Camera-烘焙相机 - 图5

EDGE NOISE TOLERANCE

Optionally, an edge noise tolerance can be specified, which assists in removing hot pixels appearing near the UV edges. Values close to 1 do not remove any hot pixels while values near 0 will attempt to remove them all.

UV REGION: MINIMUM & SIZE

This is the size in UV space of the bounding region for baking.

BAKING POSITION

When enabled, the position for baking “position-dependent” artifacts is used. Position is the camera position for “position-dependent” artifacts such as reflections, etc. Back-face culling determines whether to bake back-facing geometry.