Description
Plugin ID
Parameters
Supported Interfaces

Description

Plugin ID

20120426000 (decimal)

Parameters

objects - plugin unlimited list

A list of SceneNodes that will be baked

texture_name - string = "(null)"

The base name for the Ptex files

res_u - integer = 8

The resolution in the U direction in texture space is 2 ^ res_u.

res_v - integer = 8

The resolution in the V direction in texture space is 2 ^ res_v.

force_quads - integer = 1

If true the textures will be quadrangular even if the mesh is purely triangular.

data_format - integer = 3

Type of texel data: 0 - 8 bit int, 1 - 16 bit int, 2 - 16 bit float, 3 - 32 bit float

write_faces_degrees - integer = 0

If true then meta data containing the degree of each mesh polygon will be included in the Ptex files.

write_faces_vertices - integer = 0

If true then meta data containing the vertices of each mesh polygon will be included in the Ptex files.

write_vertex_positions - integer = 0

If true then meta data containing the positions of all vertices will be included in the Ptex files.

generate_mipmaps - integer = 1

True to generate mipmaps and false otherwise.

border_mode_u - integer = 0

Type of border mode in U direction: 0 - clamp, 1 - black, 2 - periodic

border_mode_v - integer = 0

Type of border mode in V direction: 0 - clamp, 1 - black, 2 - periodic

samplers_per_texel - integer = 1

The number of samples shaded for each texel will be the square of this number.

multichannel_file - integer = 1

If this is true then all render elements will be baked into one Ptex file.

surface_offset - float = 0.001

An offset along the geometric surface normal at which to perform shading in order to avoid surface acne.

world_space_res - integer = 1

If true then the resolution for each texture will be calculated adaptively, based on the size of the corresponding geometry.

length_u - float = 10

length_v - float = 10

resolution_multiplier - float = 1

projection_baking - integer = 0

0 - normal baking, 1 - projection baking

mode - integer = 0

0 - outside, 1 - inside, 2 - outside first, the inside, 3 - inside first, the outside, 4 - closest

normal - integer = 0

0 - Smooth normal, 1 - Geometry normal

ray_offset - float = 0

max_depth - float = 0

Geometry that is intersected further than this value along the ray will be ignored. If the value is zero then no geometry will be ignored.

Supported Interfaces