Anim8or Community

General Category => General Anim8or Forum => Topic started by: mfox7 on January 01, 2008, 11:24:41 am

Title: Texture "transparency"
Post by: mfox7 on January 01, 2008, 11:24:41 am
Hi again.  This may seem like a dumb question, but does anyone know how to make a texture partially transparent?  For example, I have a file showing eyes and a mouth for a character, and I'd like to make it so that only the eye and mouth show (but not the solid background).  Is there a way to do this?  I'm sure there is (alpha something, or maybe the "trans" value in the texture dialog box?) but I don't know what it is.

Thanks :)
Title: Re: Texture "transparency"
Post by: Kubajzz on January 01, 2008, 02:03:14 pm
It is possible. there are two ways how to make this. The first one is simplier, but the second one allows you to make semi-transparent material.

1.
Edit your texture image in Photoshop (or any other program...) so all the places which should be invisible on the model will be transparent in the image (.gif format supports transparency)

Open material settings window in Anim8or and click "textures" button in the middle of the window. Click "..." button in "Diffuse" row and select your transparent .gif image. Then click "md" button in Diffuse row and set "Alpha mode" to "Final"


2.
First make alpha mask of your image: make 2 colours version (black-white) of your image; remember: black means transparent, white means visible; you can also use gray colors to make it semi-transparent.

Now you have two images )original and alpha); open material settings window in Anim8or and click "textures" button in the middle of the window. Click "..." button in "Diffuse" row and select the original colored texture. Then click "..." button in "Trans." row and select your alpha image. Transparency value in the main material window must be "1" and "Trans." % value in texture window should be 100...


Good luck...
Title: Re: Texture "transparency"
Post by: RudySchneider on January 01, 2008, 04:42:44 pm
Of course, there's always just the standard Transparency setting (1 is fully opaque, 0 is fully transparent, and you can set it to decimal values in between  --- 0.1 to 0.9 --- to make it semi-transparent.

(http://img89.imageshack.us/img89/9255/anim8ortransparentvt7.jpg)