User Tools

Site Tools


DzDefaultMaterial

The default RenderMan Shader Language (RSL) based implementation of a material.

More...

Inherits :

Constructors

DAZ Script
DzDefaultMaterial ()

Methods

DAZ Script
ColorgetAmbientColor ()
DzColorPropertygetAmbientColorControl ()
DzTexturegetAmbientColorMap ()
NumbergetAmbientStrength ()
DzFloatPropertygetAmbientStrengthControl ()
DzTexturegetAmbientValueMap ()
DzFloatPropertygetBumpControl ()
DzTexturegetBumpMap ()
NumbergetBumpMax ()
DzFloatPropertygetBumpMaxControl ()
NumbergetBumpMin ()
DzFloatPropertygetBumpMinControl ()
NumbergetBumpStrength ()
DzColorPropertygetDiffuseColorControl ()
NumbergetDiffuseStrength ()
DzFloatPropertygetDiffuseStrengthControl ()
DzTexturegetDiffuseValueMap ()
DzFloatPropertygetDisplacementControl ()
DzTexturegetDisplacementMap ()
NumbergetDisplacementMax ()
DzFloatPropertygetDisplacementMaxControl ()
NumbergetDisplacementMin ()
DzFloatPropertygetDisplacementMinControl ()
NumbergetDisplacementStrength ()
DzFloatPropertygetGlossinessControl ()
NumbergetGlossinessStrength ()
DzTexturegetGlossinessValueMap ()
NumbergetHorizontalOffset ()
DzFloatPropertygetHorizontalOffsetControl ()
NumbergetHorizontalTiles ()
DzFloatPropertygetHorizontalTilesControl ()
NumbergetIndexOfRefraction ()
DzFloatPropertygetIndexOfRefractionControl ()
DzBoolPropertygetMultThroughOpacityControl ()
DzTexturegetNormalValueMap ()
DzImagePropertygetNormalValueMapControl ()
DzFloatPropertygetOpacityControl ()
ColorgetReflectionColor ()
DzColorPropertygetReflectionColorControl ()
DzTexturegetReflectionMap ()
NumbergetReflectionStrength ()
DzFloatPropertygetReflectionStrengthControl ()
DzTexturegetReflectionValueMap ()
ColorgetRefractionColor ()
DzColorPropertygetRefractionColorControl ()
DzTexturegetRefractionColorMap ()
NumbergetRefractionStrength ()
DzFloatPropertygetRefractionStrengthControl ()
DzTexturegetRefractionValueMap ()
ColorgetScatterColor ()
DzColorPropertygetScatterColorControl ()
DzTexturegetScatterColorMap ()
ColorgetSheenColor ()
DzColorPropertygetSheenColorControl ()
DzTexturegetSheenColorMap ()
ColorgetSpecularColor ()
DzColorPropertygetSpecularColorControl ()
DzTexturegetSpecularColorMap ()
NumbergetSpecularStrength ()
DzFloatPropertygetSpecularStrengthControl ()
DzTexturegetSpecularValueMap ()
NumbergetSurfaceType ()
DzEnumPropertygetSurfaceTypeControl ()
NumbergetThickness ()
DzFloatPropertygetThicknessControl ()
DzTexturegetThicknessValueMap ()
NumbergetVerticalOffset ()
DzFloatPropertygetVerticalOffsetControl ()
NumbergetVerticalTiles ()
DzFloatPropertygetVerticalTilesControl ()
BooleanisMultThroughOpacity ()
BooleanneedsTangentSpaceParams ()
voidsetAmbientColor ( Color color )
voidsetAmbientColorMap ( DzTexture img )
voidsetAmbientStrength ( Number val )
voidsetAmbientValueMap ( DzTexture img )
voidsetBumpMap ( DzTexture img )
voidsetBumpMax ( Number val )
voidsetBumpMin ( Number val )
voidsetBumpStrength ( Number val )
voidsetDiffuseStrength ( Number val )
voidsetDiffuseValueMap ( DzTexture img )
voidsetDisplacementMap ( DzTexture img )
voidsetDisplacementMax ( Number val )
voidsetDisplacementMin ( Number val )
voidsetDisplacementStrength ( Number val )
voidsetGlossinessStrength ( Number size )
voidsetGlossinessValueMap ( DzTexture img )
voidsetHorizontalOffset ( Number offset )
voidsetHorizontalTiles ( Number tiles )
voidsetIndexOfRefraction ( Number val )
voidsetMultThroughOpacity ( Boolean onOff )
voidsetNormalValueMap ( DzTexture img )
voidsetReflectionColor ( Color color )
voidsetReflectionMap ( DzTexture img )
voidsetReflectionStrength ( Number val )
voidsetReflectionValueMap ( DzTexture img )
voidsetRefractionColor ( Color color )
voidsetRefractionColorMap ( DzTexture img )
voidsetRefractionStrength ( Number val )
voidsetRefractionValueMap ( DzTexture img )
voidsetScatterColor ( Color color )
voidsetScatterColorMap ( DzTexture )
voidsetSheenColor ( Color color )
voidsetSheenColorMap ( DzTexture )
voidsetSpecularColor ( Color color )
voidsetSpecularColorMap ( DzTexture img )
voidsetSpecularStrength ( Number size )
voidsetSpecularValueMap ( DzTexture img )
voidsetSurfaceType ( Number val )
voidsetThickness ( Number )
voidsetThicknessValueMap ( DzTexture )
voidsetVerticalOffset ( Number offset )
voidsetVerticalTiles ( Number tiles )

Detailed Description

TODO: Add detailed description.

Constructors


DzDefaultMaterial()

Default Constructor.

Methods


Color : getAmbientColor()

Return Value:

  • The ambient color for this material.

See Also:


DzColorProperty : getAmbientColorControl()

Return Value:

  • The property that controls ambient color.

DzTexture : getAmbientColorMap()

Return Value:

  • The ambient color map for this material.

See Also:


Number : getAmbientStrength()

Return Value:

  • The ambient strength for this material.

See Also:


DzFloatProperty : getAmbientStrengthControl()

Return Value:

  • The property that controls ambient strength.

DzTexture : getAmbientValueMap()

Return Value:

  • The ambient strength map for this material.

See Also:


DzFloatProperty : getBumpControl()

Return Value:

  • The property that controls bump mapping.

DzTexture : getBumpMap()

Return Value:

  • The bump map for this material.

See Also:


Number : getBumpMax()

Return Value:

  • The maximum bump for this material.

See Also:


DzFloatProperty : getBumpMaxControl()

Return Value:

  • The property that controls the bump mapping maximum.

Number : getBumpMin()

Return Value:

  • The minimum bump for this material.

See Also:


DzFloatProperty : getBumpMinControl()

Return Value:

  • The property that controls the bump mapping minimum.

Number : getBumpStrength()

Return Value:

  • The bump strength for this material.

See Also:


DzColorProperty : getDiffuseColorControl()

Return Value:

  • The property that controls diffuse color.

Number : getDiffuseStrength()

Return Value:

  • The diffuse strength for this material.

See Also:


DzFloatProperty : getDiffuseStrengthControl()

Return Value:

  • The property that controls diffuse strength.

DzTexture : getDiffuseValueMap()

Return Value:

  • The diffuse strength map for this material.

See Also:


DzFloatProperty : getDisplacementControl()

Return Value:

  • The property that controls displacement mapping.

DzTexture : getDisplacementMap()

Return Value:

  • The displacement map for this material.

See Also:


Number : getDisplacementMax()

Return Value:

  • The maximum displacement (displacement that white maps to) for this material.

See Also:


DzFloatProperty : getDisplacementMaxControl()

Return Value:

  • The property that controls the displacement mapping maximum.

Number : getDisplacementMin()

Return Value:

  • The minimum displacement for this material.

See Also:


DzFloatProperty : getDisplacementMinControl()

Return Value:

  • The property that controls the displacement mapping minimum.

Number : getDisplacementStrength()

Return Value:

  • The displacement strength for this material.

See Also:


DzFloatProperty : getGlossinessControl()

Return Value:

  • The property that controls glossiness.

Number : getGlossinessStrength()

Return Value:

  • The glossines strength for this material.

See Also:


DzTexture : getGlossinessValueMap()

Return Value:

  • The glossines strength map for this material.

See Also:


Number : getHorizontalOffset()

Return Value:

  • The horizontal offset value.

See Also:


DzFloatProperty : getHorizontalOffsetControl()

Return Value:

  • The property that controls the horizontal offset of an image.

Number : getHorizontalTiles()

Return Value:

  • The number of horizontal tiles.

See Also:


DzFloatProperty : getHorizontalTilesControl()

Return Value:

  • The property that controls the horizontal tiling of an image.

Number : getIndexOfRefraction()

Return Value:

  • The index of refraction for this material.

See Also:


DzFloatProperty : getIndexOfRefractionControl()

Return Value:

  • The property that controls the index of refraction.

DzBoolProperty : getMultThroughOpacityControl()

Return Value:

  • The property that controls whether multiplication through opacity is enabled.

DzTexture : getNormalValueMap()

Return Value:

  • Image for the nomal map.

DzImageProperty : getNormalValueMapControl()

Return Value:

  • The property that controls the normal value map.

DzFloatProperty : getOpacityControl()

Return Value:

  • The property that controls opacity.

Color : getReflectionColor()

Return Value:

  • The reflection color for this material.

See Also:


DzColorProperty : getReflectionColorControl()

Return Value:

  • The property that controls reflection color.

DzTexture : getReflectionMap()

Return Value:

  • The reflection map for this material.

See Also:


Number : getReflectionStrength()

Return Value:

  • The reflection strength for this material.

See Also:


DzFloatProperty : getReflectionStrengthControl()

Return Value:

  • The property that controls reflection strength.

DzTexture : getReflectionValueMap()

Return Value:

  • The reflection strength map for this material.

See Also:


Color : getRefractionColor()

Return Value:

  • The refraction color for this material.

See Also:


DzColorProperty : getRefractionColorControl()

Return Value:

  • The property that controls refraction color.

DzTexture : getRefractionColorMap()

Return Value:

  • The refraction map for this material.

See Also:


Number : getRefractionStrength()

Return Value:

  • The refraction strength for this material.

See Also:


DzFloatProperty : getRefractionStrengthControl()

Return Value:

  • The property that controls refraction strength.

DzTexture : getRefractionValueMap()

Return Value:

  • The refraction strength map for this material.

See Also:


Color : getScatterColor()

Return Value:

  • The scatter color for this material.

See Also:


DzColorProperty : getScatterColorControl()

Return Value:

  • The property that controls scatter color.

DzTexture : getScatterColorMap()

Return Value:

  • The scatter map for this material.

See Also:


Color : getSheenColor()

Return Value:

  • The sheen color for this material.

See Also:


DzColorProperty : getSheenColorControl()

Return Value:

  • The property that controls sheen color.

DzTexture : getSheenColorMap()

Return Value:

  • The sheen map for this material.

See Also:


Color : getSpecularColor()

Return Value:

  • The specular color for this material.

See Also:


DzColorProperty : getSpecularColorControl()

Return Value:

  • The property that controls specular color.

DzTexture : getSpecularColorMap()

Return Value:

  • The specular color map for this material.

See Also:


Number : getSpecularStrength()

Return Value:

  • The specular strength for this material.

See Also:


DzFloatProperty : getSpecularStrengthControl()

Return Value:

  • The property that controls specular strength.

DzTexture : getSpecularValueMap()

Return Value:

  • The specular strength map for this material.

See Also:


Number : getSurfaceType()

Return Value:

  • The surface type for this material.

See Also:


DzEnumProperty : getSurfaceTypeControl()

Return Value:

  • The property that controls surface type.

Number : getThickness()

Return Value:

  • The thickness for this material.

See Also:


DzFloatProperty : getThicknessControl()

Return Value:

  • The property that controls thickness.

DzTexture : getThicknessValueMap()

Return Value:

  • The thickness map for this material.

See Also:


Number : getVerticalOffset()

Return Value:

  • The vertical offset value.

See Also:


DzFloatProperty : getVerticalOffsetControl()

Return Value:

  • The property that controls the vertical offset of an image.

Number : getVerticalTiles()

Return Value:

  • The number of vertical tiles.

See Also:


DzFloatProperty : getVerticalTilesControl()

Return Value:

  • The property that controls the vertical tiling of an image.

Boolean : isMultThroughOpacity()

Return Value:

  • The value of the multiply through opacity parameter.

See Also:


Boolean : needsTangentSpaceParams()

Return Value:

  • Whether the renderman geometry needs the additional dPds adm dPdsM parameters,used for some shaders. This is true if the material has a normal map and it is in tangent space

void : setAmbientColor( Color color )

Set the ambient color for this material.

Parameter(s):

  • color - The new ambient color for the material.

See Also:


void : setAmbientColorMap( DzTexture img )

Set the ambient color map for this material.

Parameter(s):

  • img - The new ambient color map for the material.

See Also:


void : setAmbientStrength( Number val )

Set the ambient strength for this material.

Parameter(s):

  • val - The new ambient strength for the material.

See Also:


void : setAmbientValueMap( DzTexture img )

Set the ambient strength map for this material.

Parameter(s):

  • img - The new ambient strength map for this material.

See Also:


void : setBumpMap( DzTexture img )

Set the map for the bump strength channel.

Parameter(s):

  • img - The new bump map for this material.

See Also:


void : setBumpMax( Number val )

Set the maximum bump for this material.

Parameter(s):

  • val - The new bump maximum

See Also:


void : setBumpMin( Number val )

Set the minimum bump for this material.

Parameter(s):

  • val - The new bump minimum.

See Also:


void : setBumpStrength( Number val )

Set the bump strength for this material.

Parameter(s):

  • val - The new bump strength for this material.

See Also:


void : setDiffuseStrength( Number val )

Set the diffuse strength for this material.

Parameter(s):

  • val - The new diffuse strength for the material.

See Also:


void : setDiffuseValueMap( DzTexture img )

Set the diffuse strength map for this material.

Parameter(s):

  • img - The new diffuse strength map for the material.

See Also:


void : setDisplacementMap( DzTexture img )

Set the displacement map for this material.

Parameter(s):

  • img - The new displacement map for the material.

See Also:


void : setDisplacementMax( Number val )

Set the maximum displacement for this material.

Parameter(s):

  • val - The new maximum displacement for this material.

See Also:


void : setDisplacementMin( Number val )

Set the minimum displacement for this material.

Parameter(s):

  • val - The new minimum displacement for this material.

See Also:


void : setDisplacementStrength( Number val )

Set the displacement strength for this material.

Parameter(s):

  • val - The new displacement strength for this material

See Also:


void : setGlossinessStrength( Number size )

Set glossiness for this material.

Parameter(s):

  • size - The new highlight size (glossiness) for the material.

See Also:


void : setGlossinessValueMap( DzTexture img )

Set glossiness value map for this material.

Parameter(s):

  • img - A pointer to the new glossiness value map for the material. NULL to clear the map.

See Also:


void : setHorizontalOffset( Number offset )

Set the horizontal offset for the material

Parameter(s):

  • offset - The value of the horizontal offset in each tile for the material

See Also:


void : setHorizontalTiles( Number tiles )

Set the horizontal tiling for the material

Parameter(s):

  • tiles - The number of horizontal tiles for the material

See Also:


void : setIndexOfRefraction( Number val )

Set the index of refraction for this material.

Parameter(s):

  • val - The new index of refraction for the material.

See Also:


void : setMultThroughOpacity( Boolean onOff )

Set the multiply through opacity parameter. If true, Specular highlights are multiplied through the opacity of the material (i.e. a transparent material will not show specular highlights). If false, specular highlights can contribute to the local opacity of the material (i.e. transparent objects show highlights)

Parameter(s):

  • onOff - Whether or not specularity is multiplied through opacity.

See Also:


void : setNormalValueMap( DzTexture img )

Set the normal map for this material.

Parameter(s):

  • img - A pointer to the new map map for the material. NULL to clear the map.

See Also:


void : setReflectionColor( Color color )

Set the reflection color for this material.

Parameter(s):

  • color - The new reflection color for the material.

See Also:


void : setReflectionMap( DzTexture img )

Set the reflection map for this material.

Parameter(s):

  • img - The new reflection map for the material.

See Also:


void : setReflectionStrength( Number val )

Set the reflection strength for this material.

Parameter(s):

  • val - The new reflection strength for the material.

See Also:


void : setReflectionValueMap( DzTexture img )

Set reflection strength map for this material.

Parameter(s):

  • img - The new reflection strength map for the material.

See Also:


void : setRefractionColor( Color color )

Set the refraction color for this material.

Parameter(s):

  • color - The new refraction color for the material.

See Also:


void : setRefractionColorMap( DzTexture img )

Set the refraction color map for this material.

Parameter(s):

  • img - The new refraction color map for the material.

See Also:


void : setRefractionStrength( Number val )

Set the refraction strength for this material.

Parameter(s):

  • val - The new refraction strength for the material.

See Also:


void : setRefractionValueMap( DzTexture img )

Set the refraction strength map for this material.

Parameter(s):

  • img - A pointer to the new refraction strength map for the material. NULL to clear the map.

See Also:


void : setScatterColor( Color color )

Set the scatter color for this material.

Parameter(s):

  • color - The new scatter color for the material.

See Also:


void : setScatterColorMap( DzTexture )

Set the scatter color map for this material.

Parameter(s):

  • img - The new scatter color map for the material.

See Also:


void : setSheenColor( Color color )

Set the sheen color for this material.

Parameter(s):

  • color - The new sheen color for the material.

See Also:


void : setSheenColorMap( DzTexture )

Set the sheen color map for this material.

Parameter(s):

  • img - The new sheen color map for the material.

See Also:


void : setSpecularColor( Color color )

Set base specular color for this material.

Parameter(s):

  • color - The new specular color for the material

See Also:


void : setSpecularColorMap( DzTexture img )

Set the specular color map for this material.

Parameter(s):

  • img - A pointer to the new specular color map for the material. NULL to clear the map.

See Also:


void : setSpecularStrength( Number size )

Set base specular strength for this material.

Parameter(s):

  • size - The new specular strength for the material.

See Also:


void : setSpecularValueMap( DzTexture img )

Set specular strength map for this material.

Parameter(s):

  • img - A pointer to the new specular strength map for the material. NULL to clear the map.

See Also:


void : setSurfaceType( Number val )

Set the surface type for this material.

Parameter(s):

  • val - The index of the surface type for the material.

See Also:


void : setThickness( Number )

Set the refraction strength for this material.

Parameter(s):

  • val - The new refraction strength for the material.

See Also:


void : setThicknessValueMap( DzTexture )

Set the thickness map for this material.

Parameter(s):

  • img - A pointer to the new thickness map for the material. NULL to clear the map.

See Also:


void : setVerticalOffset( Number offset )

Set the vertical offset for the material

Parameter(s):

  • offset - The value of the vertical offset in each tile for the material

See Also:


void : setVerticalTiles( Number tiles )

Set the vertical tiling for the material

Parameter(s):

  • tiles - The number of vertical tiles for the material.

See Also: