In this chapter, we will discuss the process of texture baking with V-Ray.
Rendering to texture, or "texture baking,” allows you to create texture maps based on an object's appearance in the rendered scene. The textures are then “baked” into the object that is, they become part of the object via mapping, and can be used to display the textured object rapidly on Direct3D devices such as graphics display cards or game engines.
In our case, we will show you how a simple scene can be baked and how this method can also be used for making a Fly-Through Animation. First off, you render the scene. Then you instanciate the BakeView plugin and specify the bake_node
and the target_nodes
. Specify any other parameters as needed. Then you start the render process again. In the image example above we can choose to bake the ground and the plane objects, in which case we receive the following baked textures:
After this you can load the baked textures on the ground and plane object. Here are some additional views of the scene from different positions:
The plugin which controls the parameters related to baking is called BakeView. Its parameters are:
|
The following example texture is baked using this scene.
Diffuse Render element:
Extra texture - dirt: