Page History
...
V-Ray BakerTool is V-Ray's solution for texture baking in Houdini. It supports map baking, projection baking, bake to texture tiles and multiple geometries baking. All of these can also be animated.
UI path: ||obj Network|| > Geometry node > > Geometry node > Digital Assets > V-Ray BakerTool
Node
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Parameters
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Baker
...
width | 60% |
---|
Baking Mode – Specifies the baking mode.
Maps Baking – V-Ray creates texture maps based on an object's appearance in the rendered scene. The textures are then "baked" into the object.
Projection Baking – V-Ray does not bake to the specified object itself, but traces an offset ray from the object down the normal and shades whatever surface is hit underneath it.
UV attribute – Specifies the name of the uv attribute on the baked geometry. The attribute name should be the same across all objects for the baking process to work as expected.
Capture UV Range – Evaluates the Min/Max range of the UV attribute and populate the UV Min and UV Max parameters below. When baking multiple objects, the evaluated range is based on the Min/Max range for the entire set of objects.
UV Min/UV Max – Specify the UV domain to bake.
Dilation (Edge Padding) – Specifies the number of pixels to expand around geometry.
Bake to Texture Tiles – Enables texture tile baking. Make sure to add a tile token to the Output file path when baking to tiles. Such token can be one of:
...
${UDIM}, $UDIM, ${udim}, $udim - Mari style naming
${UVTILE},$UVTILE - Mudbox Style naming, starts from 1
${uvtile},$uvtile - Mudbox Style naming, starts from 0
${U},$U,${V},$V ; ${u},$u,${v},$v - for manually placing the u and v value in the file name, capital letters start from 1, lowercase start from 0
Further information on tile tokens is available here.
UDIM Mask – When Bake to Texture Tiles is enabled, you can add UDIM indexes here. You can specify a single tile or a range of tiles for baking. You can also exclude a single tile or a range of tiles with the ^ symbol, e.g. if you add 1001-1010 ^1005 1030-1050 ^1040-1045, all textures from 1001 to 1010 will be baked except for 1005, and all texture between 1030 and 1050 will be baked except for 1040 to 1045. Note that excluded tiles have a priority over included tiles. E.g. if you set 1001 as both included and excluded tile, VRayBakerTool treats it as excluded. To bake all tiles in the UV Min/UV Max range, use the * symbol. Tiles that are outside the UV Min/UV Max range are not baked, even if you explicitly write them in the UDIM Mask field.
UI Text Box | ||
---|---|---|
| ||
Tiles are separated by empty spaces in the UDIM Mask field. Do not use comas or other characters to separate them. |
Projection Settings
Mode – Specifies the direction of the traced ray.
Outside Geometry – The ray is traced along the normal vector.
Inside Geometry – The ray is traced in the opposite direction of the normal vector.
Outside first, then Inside – The ray is first traced along the normal vector. If no intersection occurs, then a second ray is traced in the opposite direction of the normal vector.
Inside first, then Outside – Same as Outside first, then Inside but in reversed order.
Closest – Two rays are traced in both directions and the intersection that occurs closest to the surface is chosen.
Normals – Specifies which normals to use when shooting rays.
Geometry – Uses normals of the geometry.
Smooth – Uses normals generated by V-Ray.
Max Depth – Specifies the maximum depth for the traced rays, in scene units.
Cage Offset – Offsets the ray's initial location. Used when the baked low poly object and the high res geometry overlap perfectly, causing an inability to intersect the rays with the low poly geometry.
Guides – When enabled, allows you to control the Show Cage and Visualize Depth parameters.
Show Cage – Generates a wireframe preview of the baked low poly geometry based on the Cage Offset parameter.
Visualize Depth – Generates a clipping plane which can be useful when debugging projection artifacts.
Axis – Specifies the clipping plane axis.
Clipper Position – Specifies an offset for the clipping plane along the specified Axis parameter.
Invert – When enabled, flips the clipping plane's orientation.
Column | ||
---|---|---|
| ||
|
Column | ||
---|---|---|
| ||
Renderer
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Output
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Common Use
Anchor commonUse commonUse
commonUse | |
commonUse |
Common Use
...
You could specify more than 1 object when using the parameter fields instead of the node inputs, in which case the evaluation is handled as follows:
Maps Baking Mode
The baking setup is evaluated for every object in the list. For example:
LowRes Meshes: /obj/First /obj/Second /obj/Third
Bake to Texture Tiles is On and uv range is 0:0 , 2:2
This produces 4 renders (one for every Texture tile) for every object in the list. A total of 12.
Project Baking Mode
In Projection Baking mode, with more than one object in either the Low or High Poly lists, one of the following happens:
- For Single Low Low Poly and Multiple High High Poly objects, each high poly object is, one by one, projected over the low poly object. To prevent overwriting of the output files, use the the ${CTO} tag in the output file path.
- For Multiple Low Low Poly and Single High High Poly objects, the high poly object is projected over each low poly object, one by one. To prevent overwriting of the output files, use the ${CPO} tag in the output file path.
- For Multiple Low Low Poly and Multiple High High Poly objects, each high poly object is projected over the corresponding low poly object in the low poly list.
*${CPO} - currently processed object
*${CTO} - current target object
Parameters
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
V-BakerTools parameters are grouped into three main tabs. Find links to each tab below.
Responsivegridmacro | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Div | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
|
Notes
...
Fancy Bullets | ||
---|---|---|
| ||
|