Page 1 of 1

weird issues when using glow tools, any thoughts on this?

PostPosted: Mon Feb 12, 2018 6:24 pm
by Jim Stanis
Hi,

I've been trying to use a method of masking that I've used for years and all of a sudden I am getting weird issues with the glow tool.

Glow_tool_working_.jpg
This image shows the glow tool working correctly
Glow_tool_working_.jpg (177.14 KiB) Viewed 274 times


I have an animated scene of neurons with impulses flashing across them. I have a mask pass where all of my 3D objects are rendered black, with the nerve impulse areas rendering as white (See the right side of the attached image.) I take this mask pass and use the image luminescence to generate an alpha to use as the Glow mask. This generally works fine but it fails on random frames. On this frame the whole image gets a weird yellowish tint. (see Glow_not_working image)

Glow_tool_not_working_.jpg
Here the glow mask is not working correctly and the frame has a strange yellow tint
Glow_tool_not_working_.jpg (204.48 KiB) Viewed 274 times


Any idea why this is happening? The mask pass seems to be fine on the frames that are failing and the alpha values seem OK. I have tried using both the LumaKeyer tool and the luminance setting on the Bitmap mask tool but I get the same problem with both. I have also tried different filter types on the Glow tool and different import setting on the mask loader, but this didn't help either.

Re: weird issues when using glow tools, any thoughts on this

PostPosted: Mon Feb 12, 2018 8:32 pm
by Jim Stanis
loader_settings_.jpg
loader_settings_.jpg (138.58 KiB) Viewed 269 times


Update: I found that if I change the loader's depth settings on my color pass the issue goes away. For my color pass I have saved the sequence as 32 bit exrs with embedded channels. If I manually change the depth to int16 the issue with the glow masking gets fixed.

Does anyone have an explanation for this?

Re: weird issues when using glow tools, any thoughts on this

PostPosted: Mon Feb 12, 2018 9:49 pm
by michael vorberg
do you have any negative numbers in the mask render?

Re: weird issues when using glow tools, any thoughts on this

PostPosted: Mon Feb 12, 2018 10:45 pm
by Jim Stanis
Hi Micheal,

Thanks for asking and sorry I forgot to mention that. When I view the mask pass with the color inspector I don't get any weird values. All alpha and RGB values are between 0 and 1.