CGTalk > Software > Autodesk 3ds max
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 07-22-2011, 02:15 PM   #1
ossosso
Lord of the posts
portfolio
Daniele Casarola
Osimo, Italy
 
Join Date: Dec 2005
Posts: 683
Send a message via MSN to ossosso
Opacity Channel - Alpha image: white border

hi!

I've two .tif images of a leaf: one for the diffuse and the other for the alpha.

I notice that once applied the alpha image a little white border appear around the silouette of the diffuse image, I can see both in the material preview and also in the final render.
It seems the alpha image doesn't cut correctly around the diffuse image, but it is some pixel bigger and so I see also the white area of the diffuse image.

It is a common problem that I can solve in the bitmap parameter?

Thanks a lot!
 
Old 07-22-2011, 02:49 PM   #2
darthviper107
Expert
 
darthviper107's Avatar
portfolio
Zachary Brackin
3D Artist
Precocity LLC
Dallas, USA
 
Join Date: Feb 2004
Posts: 4,018
You just have some edge bleeding--Best thing to do is go back into photoshop and change the background to something green to match the leaf so that it doesn't have that white there. You could even try extending the edges of the leaf to use the same color.
__________________
The Z-Axis
 
Old 07-22-2011, 04:07 PM   #3
PiXeL_MoNKeY
Expert
 
PiXeL_MoNKeY's Avatar
Eric Craft
Dallas, USA
 
Join Date: Mar 2002
Posts: 5,668
How are you using the maps in 3ds Max? Sorry too many possible variations to know the proper resolution.

For best results it is usually better to combine the diffuse and alpha in an image editor and save them out combined. Then make sure that the bitmap map is properly to premultipled or not for the alpha.

-Eric
__________________
"The Evil Monkey hiding in your closet."
 
Old 07-22-2011, 05:20 PM   #4
Diffus3d
Mad Scientist
 
Diffus3d's Avatar
portfolio
Alfred (AJ) DeFlaminis
3dsmaxTSS
USA
 
Join Date: Apr 2006
Posts: 1,300
Don't forget to turn off filtering for your map (in the bitmap parameter as you said). It's the most common cause of the white border you describe.
 
Old 12-24-2011, 12:20 PM   #5
ojhokke
New Member
portfolio
Oli4 Hokke
Rotterdam, Netherlands
 
Join Date: Dec 2010
Posts: 7
Did you find a solution? I have a similar problem. PNG image: alpha edges bleed out 1 pixel so it seems.

Last edited by ojhokke : 12-29-2011 at 11:14 AM.
 
Old 12-29-2011, 10:57 AM   #6
ossosso
Lord of the posts
portfolio
Daniele Casarola
Osimo, Italy
 
Join Date: Dec 2005
Posts: 683
Send a message via MSN to ossosso
Hi!

Well, I don't remember very well... it seems to me I haven't solved... but if I remember I've changed the diffuse color of the diffuse channel and made it similar to the color of the leaf accordly with the bitmap, it seems that the diffuse color of the material (under the bitmap) is taken in consideration in some way, so the white border around the leaf is "dirted" by the diffuse color of the material.

Good luck!
 
Old 12-29-2011, 11:16 AM   #7
ojhokke
New Member
portfolio
Oli4 Hokke
Rotterdam, Netherlands
 
Join Date: Dec 2010
Posts: 7
thanks for you reply!

I also did not find a solution, but I have a workaround for my case. All objects have only 1 color anyway, so I decided to give each material its color for the diffuse (simply diffuse color property instead of a bitmap) and an opacity map made in photoshop. No white edges
 
Old 12-12-2012, 07:20 PM   #8
Haoko
New Member
 
Haoko's Avatar
portfolio
Joel Svalsten
Sweden
 
Join Date: Oct 2006
Posts: 20
Solution

If you or someone else locking around here still haven not find a good solution.

Do this:

1: Make a copy of your beloved "alpha mask"
2: Paint the Background as you prefer instead of white, Then "Flatten Image".
3: Load you "alpha mask"
4: Select Background Layer & press CTRL + J
5: Delete Background Layer Save your masterpiece.

Use the image, be happy and try not to forget the little trick again, i do to often...


You may also:
Download and use "AlphaUtility.atn.zip" Before you go to step 2.
Its a Photoshop action, read about it here: ===> <===
__________________
My latest game art:
The Old Lady & Recycle Bin
 
Old 12-16-2012, 12:27 PM   #9
wallasaurus
ChunkyMonkey
 
wallasaurus's Avatar
portfolio
Chris Waller
Artist
The Creative Assembly
Horsham, United Kingdom
 
Join Date: May 2005
Posts: 72
Send a message via MSN to wallasaurus
If you have a diffuse map assigned, please try setting the swatch for ambient and diffuse to black.

For some reason, even if a diffuse map is assigned, the swatches have an effect on semi transparent pixels.
 
Old 03-22-2013, 03:16 PM   #10
ender360
New Member
portfolio
Darryl
cebu city, Philippines
 
Join Date: Apr 2012
Posts: 1
Quote:
Originally Posted by wallasaurus
If you have a diffuse map assigned, please try setting the swatch for ambient and diffuse to black.

For some reason, even if a diffuse map is assigned, the swatches have an effect on semi transparent pixels.


this works in 3ds max 2012
 
Old 03-22-2013, 03:16 PM   #11
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 06:35 PM.


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