question

Nicola Birtch avatar image
Nicola Birtch asked ·

White border around alpha channel

Hi,

I am using 3Ds Max 2019 with the Arnold renderer


I am trying to render a moving object with a transparent background to overlay on a static background. Every time I try to render, the object has a white border around it. The only thing so far that's worked is to use black as the background (no environment map). This is problematic because it changes the lighting of the object and doesn't match the scene.

This is the scene :

This is the foreground, the blue background is just there to show white border


The alpha source of all bitmaps is set to "None (Opaque)"


Any help is greatly appreciated!

arnoldmaterial3ds maxtransparencyenvironment
background.png (975.2 KiB)
1 comment
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

EXR may be a better format for compositing, otherwise, you might find something useful here.

0 Likes 0 · ·
Mads Drøschler avatar image
Mads Drøschler answered ·

Small but vital update on the issue.

It is forbidden to change the background color in the environment panel next to the environment slot.

This is a legacy trace and should be pulled out of the application in the way it works with Arnold, we have plenty of ways to do a background with Arnold directly, but this slot destoys the alpha and edges if you raise it.

I spotted on your extra images you are infact altering this black default to a mid grey and I can reproduce the alpha glitch if I do the same, stuff starts to bleed into the color/alpha leaving you a fringe.

So make sure this slot is set to 0,0,0 completely black.



qqq.png (260.4 KiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

Try something like this.

My result in photoshop, the fringes has good integrity towards alpha.


Light comes from a hdri, and I just used the environment switch map, so I could put a pink color in the view background while still having light and shadows come from the actual hdri.

( you dont have these maps in 2019, so just do like you normally do )




Save to .exr format



1.png (286.3 KiB)
ccccc.png (348.5 KiB)
cccccc.png (3.3 KiB)
7 comments Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Thanks so much for your quick reply!
I tried installing the environment switcher and HDRI environment OSL plugins, but it didn't seem to work.
I don't think I understand what you mean when you say " do like you normally do".
If I don't have those OSL maps, and just make the environment pink it doesn't really work either. :(
Also, why did you use pink?



0 Likes 0 · ·
Mads Drøschler avatar image Mads Drøschler Nicola Birtch ·

Pink was the random color I picked, it means nothing.

Just add your hdri to environment directly and save out an .exr file, the file format is what is important, how you light it is not.

0 Likes 0 · ·
Nicola Birtch avatar image Nicola Birtch Mads Drøschler ·

Oh ok.
And yes! That's what I was doing before, just connecting the bitmap to the environment and saving as .exr

But I still get the white border in photoshop

0 Likes 0 · ·
envr-map.png (154.0 KiB)
capture.png (196.8 KiB)
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.