Bricks : TextureMap

Constructor

bricks ...

Properties

<Bricks>.Brick_Type             Integer  default: 1

Brick_Type = 0 - Custom Bricks; 1 - Running Bond; 2 - Common Flemish Bond; 3 - English Bond; 4 - ╜ Running Bond; 5 - Stack Bond; 6 - Fine Running Bond; 7 - Fine Stack Bond

The brick_type values define a set of predefined values for the Stacking and Row and Column Editing properties. Changing brick_type only updates these properties if Material Editor is displayed and the material is in the active slot.

<Bricks>.Show_Texture_Swatches  Integer  default: 1

When on, updates to show the texture assigned by a map for Bricks or Mortar.

0- Off

1- On

<Bricks>.Brick_Color            Color    default: (color 165.75 76.5 51) -- animatable

The color of the bricks.

<Bricks>.Horizontal_Count       Float    default: 3.0    -- animatable

The number of bricks in a row.

<Bricks>.Vertical_Count         Float    default: 8.0    -- animatable

The number of bricks in a column.

<Bricks>.Color_Variance         Float    default: 0.4    -- animatable

The color variation among the bricks.

<Bricks>.Fade_Variance          Float    default: 0.2    -- animatable

The fading variation among the bricks.

<Bricks>.Mortar_Color           Color    default: (color 211.65 196.35 183.6)  -- animatable

The color of the mortar.

<Bricks>.Horizontal_Gap         Float    default: 1.0    -- animatable

The horizontal size of the mortar between the bricks.

<Bricks>.Vertical_Gap           Float    default: 1.0    -- animatable

The vertical size of the mortar between the bricks.

<Bricks>.Lock_Gap_Symmetry      Integer  default: 1

When on, the vertical_gap and horizontal_gap values are locked to one another.

0- Off

1- On

<Bricks>.Holes                  Integer  default: 0      -- animatable

The percentage of holes in the bricked surface caused by missing bricks. The mortar shows through the holes.

<Bricks>.Edge_Roughness         Float    default: 0.0    -- animatable

Controls the roughness of the edges of the mortar.

<Bricks>.Random_Seed            Integer  default: 43304  -- animatable

Randomly applies patterns of color variation to the bricks. Does not require any other setting to generate completely different patterns.

<Bricks>.Line_Shift             Float    default: 0.0    -- animatable

Shifts every second row of bricks a distance of one unit.

<Bricks>.Random_Shift           Float    default: 0.0    -- animatable

Randomly shifts all rows of bricks a distance of one unit.

<Bricks>.Use_Row_Edit           Integer  default: 0

Turn on/off row edit:

0- Off

1- On

<Bricks>.Per_Row                Integer  default: 2

The amount of bricks per row.

<Bricks>.Change_Row             Float    default: 1.0

For every row you specify in the Per_Row value, the software stores the amount of bricks that you specify in the Change_row value.

<Bricks>.Use_Column_Edit        Integer  default: 0

Turn on/off column edit:

0- Off

1- On

<Bricks>.Per_Column          Float    default: 1.0

The amount of bricks per column.

<Bricks>.Change_Column       Float    default: 1.0

For every row you specify in the Per_Column value, the software stores the amount of bricks that you specify in the Change_column value.

<Bricks>.coords              SubAnim

See UVGenClass for the StandardUVGen properties.

Notes

The Bricks and Mortar sub-maps are not accessible to MAXScript in 3ds max 4 unless they have already been assigned to the Bricks map. Once these maps have been assigned, they are available as properties of the Bricks TextureMap value. The property names, however, are dependent on the type of maps assigned. For example, if a Checker and a Cellular map were assigned as the Bricks and Mortar maps, the property names would be similar to Bricks__Map__7____Checker and Mortar__Map__6____Cellular. These maps are also stored as subAnims 15 and 16 of the Bricks TextureMap value. If the subAnim name for the subAnim is Bricks__None and Mortar__None, respectively, no map has been assigned.

There is an error in the parameter naming for Bricks. The Per_Column property is exposed with the name Change_Row, which conflicts with the existing Change_Row property name. As a result, you can not access the Per_Column property.

See also