MAT Transparencies

(Part I: Creating MAT Files, Part II: Inside a MAT file.)

After lots of experimentation, I found the magic formula to make an entire piece of an object transparent. As I discussed in the Poser Transparency tutorial, you can block out a portion of an outfit. To save time, you can make a MAT file to do this as well.

Example: it's spring time and my characters don't want to wear the cloak with their Adventurer's outfits. I could either go in and change all the settings for the cloak and the cloak lining, or I could do the following:

 

Start theMAT file by opening up the .cr2 file.

Delete everything but the first few lines (shown at the right) and the materials section.

{
version
{
Number 4.01
}
figure
{

Delete all the materials except the cloak and the cloak lining.

material Cloak
{

...

}

material CloakLining
{

...

}

Replace the information in side the { }'s with the following:

KdColor 0 0 0 1
KaColor 0 0 0 1
KsColor 0 0 0 1
TextureColor 0 0 0 0
NsExponent 100
tMin 1
tMax 1
tExpo 0
bumpStrength 0
ksIgnoreTexture 1
reflectThruLights 0
reflectThruKd 0
textureMap NO_MAP
bumpMap NO_MAP
reflectionMap NO_MAP
transparencyMap NO_MAP
ReflectionColor 0 0 0 1
reflectionStrength 0

material Cloak
{

KdColor 1 1 1 1
KaColor 0 0 0 1
KsColor 0 0 0 1
TextureColor 0 0 0 0
NsExponent 100
tMin 1
tMax 1
tExpo 0
bumpStrength 0
ksIgnoreTexture 1
reflectThruLights 0
reflectThruKd 0
textureMap NO_MAP
bumpMap NO_MAP
reflectionMap NO_MAP
transparencyMap NO_MAP
ReflectionColor 0 0 0 1
reflectionStrength 0

}

material CloakLining
{

KdColor 1 1 1 1
KaColor 0 0 0 1
KsColor 0 0 0 1
TextureColor 0 0 0 0
NsExponent 100
tMin 1
tMax 1
tExpo 0
bumpStrength 0
ksIgnoreTexture 1
reflectThruLights 0
reflectThruKd 0
textureMap NO_MAP
bumpMap NO_MAP
reflectionMap NO_MAP
transparencyMap NO_MAP
ReflectionColor 0 0 0 1
reflectionStrength 0

}

Put a finishing } at the end.  
Your no-cloak MAT file would look like this:

{
version
{
Number 4.01
}
figure
{

material Cloak
{

KdColor 1 1 1 1
KaColor 0 0 0 1
KsColor 0 0 0 1
TextureColor 0 0 0 0
NsExponent 100
tMin 1
tMax 1
tExpo 0
bumpStrength 0
ksIgnoreTexture 1
reflectThruLights 0
reflectThruKd 0
textureMap NO_MAP
bumpMap NO_MAP
reflectionMap NO_MAP
transparencyMap NO_MAP
ReflectionColor 0 0 0 1
reflectionStrength 0

}

material CloakLining
{

KdColor 1 1 1 1
KaColor 0 0 0 1
KsColor 0 0 0 1
TextureColor 0 0 0 0
NsExponent 100
tMin 1
tMax 1
tExpo 0
bumpStrength 0
ksIgnoreTexture 1
reflectThruLights 0
reflectThruKd 0
textureMap NO_MAP
bumpMap NO_MAP
reflectionMap NO_MAP
transparencyMap NO_MAP
ReflectionColor 0 0 0 1
reflectionStrength 0

}

}

Feel free to use these "magic" blank out settings as you want to. These settings may be included in free and commercial MAT files. If you feel like putting in credit to me, I won't stop you. ;-)

Creating MAT Files
Inside a MAT file

More on MAT Pose Files  

Back to MAT tutorial Index

 Foundation
 Eyebrow Color
 Lip Color
 Contact Lens

A)bort, R)etry, I)nfluence with large hammer.

Back to Top