Rendering Transparency Problems

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  10 October 2009
Rendering Transparency Problems

I have a 2D gif image logo file that is a square or plane shape - I imported it into Maya and in the scene it looks just fine - its transparent in the scene however when I go to render - it loses its transparency completely and the image turns grey/white where it is supposed to be transparent. I do not know what to do to keep this image transparent after the render.

If anyone has any thoughts.....I have attached two images - the second is is in the Maya scene (not rendered) - the first image is how it comes out rendered (all grey and white). Can I get advice on how to keep it transparent. (after rendering?) (it should look like the second image after rendering).
Attached Images
File Type: jpg CDLogo1.170.jpg (45.6 KB, 26 views)
File Type: jpg arinahotness-091023.jpg (52.1 KB, 28 views)
  10 October 2009
I've never use GIF for file textures - it may be ok but I would still suggest converting to a non-indexed format like TGA and make sure it has a correct alpha channel. Then, as long as your file texture is connected to both color and transparency on your shader then you should be ok.

Things to check:
Your fileTexture alpha channel looks correct - test by viewing in fcheck
In the fileTexture attributes make sure "alpha is luminance" is not checked.
The connections from your fileTexture to transparency should be file1.outTransparency --> blinn1.transparency (for example)
If you use TIF images, remember that mentalray will not work with LZW compression.

-- David
  10 October 2009
Heya, Are you using mental ray to render it?

You can try checking the "Alpha is luminance" option. You can find it inside the file node under the "Color Balace" tab.

I would also convert the .gif to a more standard format like .tga like djx suggested.

Also, are you sure you are using a transparency map?

  10 October 2009
Maya tends to understand the white as opaque and black to transparency in the if necesary
invert this in the file node and test with check box alpha as luminance
  11 November 2009
Hey guys - thank you for the great responses!! I keep trying to find the 'Alpha is Luminance' menu since all 3 of you said the same thing - and I cant find it to save my life. The image I am working in is simply a gif I imported from photoshop - so it isnt necessarily a texture that shows up in the hypershade where I think that Alpha is Luminance option is located....

someone please help me find this menu!!! And please tell me each step - dont assume I know where it is
  11 November 2009
"Alpha Is Luminance" is in the "Color Balance" tab of most textures attributes.

-- David
  11 November 2009
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:14 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.