vcanim.gif (8357 bytes)Material Attributes
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


Attributes Specific to Materials

AttributeName Get Set Fcrvs AttributeType Description
Ambient Y Y mtambr

mtambg

mtambb

float

float

float

RGB color value for surface areas shaded with ambient light on Lambert-, Blinn-, or Phong-shaded models.

SW returns this as a list: (R G B)

AutoDiscontAngle Y N N float Unused attribute.
Diffuse Y Y mtdifr

mtdifg

mtdifb

float

float

float

RGB color value for surface areas that are diffusely illuminated.

SW returns this as a list: (R G B)

Reflection Y Y mtrefl float A value from 0 to 1: a value of 1 represents complete reflectivity.
RefractiveIndex Y Y mtrind float Controls the bending of light rays through a transparent material.
ShadingModel Y Y N SAA_ShadingModelType SAA_SHM_CONSTANT

SAA_SHM_LAMBERT

SAA_SHM_PHONG

SAA_SHM_BLINN

SAA_SHM_SHADOW

Specular Y Y mtspcr

mtspcg

mtspcb

float

float

float

RGB color value for the specular highlight on a Phong- or Blinn-shaded model.

SW returns this as a list: (R G B)

SpecularDecay Y Y mtspcd float Controls the spread of the specular decay over the model surface (for Phong and Blinn-shaded models). Values range from 0 to 300.
StaticBlur Y Y N SAA_Boolean Enables and disables static blur..
Transparency Y Y mttrsp float A value from 0 to 1: a value of 1 represents complete transparency.  
the following attributes are effective only if the Static Blur attribute is set (TRUE)
 
BlurDecay Y Y mtblrd float Controls the rate at which a model becomes transparent.
BlurWidth Y Y mtblrw float Controls the width of a model.

See Also

SW_set


 

Behaviors Overview ] Behavior Evaluate ] Behavior Edit ] Debugger ] Console ] Find ] SAA Library ] SW library ] SWC library ] SWN library index ] SWU library ] Attributes Index ] Scripting Examples ]

copyright Video-Collage Inc.