mib_geo_instance
 
 
 

Category: mental ray > Geometry

Shader Family: Geometry

Output: Custom

Given one of the geometry shaders (mib_geo_cone, mib_geo_cube, mib_geo_cylinder, mib_geo_sphere, mib_geo_square, or mib_geo_torus), this shader constructs an instance that translates, scales, and rotates the geometry, and returns a group with the instance of the source geometry as its only member. If the result was non-zero because the base shader is part of a list, the shader does not create a new group, but instead adds the instance to the result group (this is normal geometry shader behavior).

Name

The name of the shader node displayed in the render tree. Enter any name you like, or leave the default.

object

The object to be instanced.

matrix

The transformation matrix of the new instance. If it is a null matrix, use the identity matrix.

material

An inheritance material to store in the instance. It may be null.