Search - User list
Full Version: Still no alpha channel for transparent material
Root » Houdini Lounge » Still no alpha channel for transparent material
Chukerman
I had some hopes about karma, but… Houdini rendering engine not usable for motion design jobs
jsmack
Transparent objects have full presence, what alpha should there be other than solid white?
tamte
term "transparent" can mean a few things

- traditionally it's a material with nonzero Opacity and those should be giving you appropriate Alpha channel when rendering against empty background

- but also nowadays "transparent" can relate to refractive rays, which is a bit tricky subject
if you are referring to those and that some renderers allow you to "propagate alpha" when such rays exit into an empty background or potentially reach limit then I don't think Karma supports anything like that yet
Chukerman
Try to render glass cube via redshift, and will see right alpha channel, I mean
tamte
Chukerman
Try to render glass cube via redshift, and will see right alpha channel, I mean
I'm not that familiar with RS, but I thought you have to turn on Refraction Affects Alpha Channel setting on for it to behave that way, which is the propagated alpha I mentioned, to fake the transparency for refractive surfaces

it will hardly be "right" or correct unless the IOR is 1
but yes, that's a pretty common hack to help with compositing if correctness is less important

in VFX workflows you would most probably want to create a pass for refracted stmap to be able to replace with anything in comp and still get distortion caused by IOR

but I agree that a robust system to propagate Alpha as well as AOVs through light paths would be very handy but also more preferable than hardcoded checkboxes for individual features so it may be worth the wait
jsmack
I'd rather Houdini's native renderer not normalize such a non-physical hack that's incorrect by design.
tamte
jsmack
I'd rather Houdini's native renderer not normalize such a non-physical hack that's incorrect by design.

If implemented elegantly I'd welcome it, since it has its uses especially for thin wall objects where the non-physicality can be marginal enough to be acceptable

but more general AOV propagation through lightpaths at least refractions is very necessary
the Alpha propagation or at least mask could probably be done using LPE's if houdini LPEs supported background token B like some other renderers do
jsmack
tamte
jsmack
I'd rather Houdini's native renderer not normalize such a non-physical hack that's incorrect by design.

If implemented elegantly I'd welcome it, since it has its uses especially for thin wall objects where the non-physicality can be marginal enough to be acceptable

but more general AOV propagation through lightpaths at least refractions is very necessary
the Alpha propagation or at least mask could probably be done using LPE's if houdini LPEs supported background token B like some other renderers do

As a general purpose arbitrary light propagation system, I'd also welcome it. However, I don't want to see a simple 'transparency alpha' option, as the messaging is misleading as it legitimizes using it as such.
brians
jsmack
However, I don't want to see a simple 'transparency alpha' option, as the messaging is misleading as it legitimizes using it as such.

how about...
- a geometry property "refraction as alpha"?
- defaults to off
- when on, for paths that travel only through refractive bounces and then exit the scene, we track the final contribution, and then output that to alpha.

or does that still irk you John?
jsmack
brians
jsmack
However, I don't want to see a simple 'transparency alpha' option, as the messaging is misleading as it legitimizes using it as such.

how about...
- a geometry property "refraction as alpha"?
- defaults to off
- when on, for paths that travel only through refractive bounces and then exit the scene, we track the final contribution, and then output that to alpha.

or does that still irk you John?

It doesn't bother me, but I feel like getting something that could be useful for a simple composite is more complex than tracking final contribution. It would also only be useful for parallel transparent planes where ray bending is mostly nil. I would aim for a single setting that would make the beauty pass 'compable' without artifacts such as doubled up transmission or ghosted internal reflections. How would fresnel be taken into account, or total internal reflection?
brians
It's a feature that exists in Redshift that people have requested a few times now.
I'm no expert on its behavior or use, but my guess is they'll be using a dome light that somewhat matches the backing plate.
Jonathan de Blok
Haven't tried but chances are you can get it using a cryptomatte output. Should be good enough for comping when refraction is not that relevant.
nickfr
Jonathan de Blok
Haven't tried but chances are you can get it using a cryptomatte output. Should be good enough for comping when refraction is not that relevant.
How would you approach this?
KayPSL
brians
It's a feature that exists in Redshift that people have requested a few times now.
I'm no expert on its behavior or use, but my guess is they'll be using a dome light that somewhat matches the backing plate.

Hi. Yes, I have the same problem that it looks like I can't get non-fixed alpha in refractive materials. In Redshift, I use this on every project and it's super handy when compositing a figure with glasses on a background. At the moment I'm stuck at this point and have no idea how to solve such a situation with extra effort, like an STMAP, in Houdini/Karma.

It would be awesome to see that possible in Houdini/Karma aswell.

dlee
Hi. As of Houdini 20.0 karma supports 'B' (background) event in LPE so you can describe any light path to uses as custom alpha (which then you would invert in comp).
For example, if you want to consider any background hits with 0 or more transmissions, use 'CT*B'.
coccosoids
dlee
Hi. As of Houdini 20.0 karma supports 'B' (background) event in LPE so you can describe any light path to uses as custom alpha (which then you would invert in comp).
For example, if you want to consider any background hits with 0 or more transmissions, use 'CT*B'.
Can you post a visual example of this?
KayPSL
dlee
Hi. As of Houdini 20.0 karma supports 'B' (background) event in LPE so you can describe any light path to uses as custom alpha (which then you would invert in comp).
For example, if you want to consider any background hits with 0 or more transmissions, use 'CT*B'.

Or I'm new to Rendering in Houdini. But I will figure out what exactly you mean. At the moment I'm more frustrated that it looks like a lot of stuff is still buggy in Houdini 20, at least in the version I'm using at the moment, because in Houdini 19 the things I'm testing worked well.

We will install the latest version of H20 next Week. Maybe problems are solved more. And stable enough that I could enjoy it a bit more with Karma and Solaris in H20.

Cheers and have a nice weekend.
Kay
dlee
coccosoids
Can you post a visual example of this?

Of course, here's a screencap of the parameter window showing the LPE set up and its output. Note that karma does not support 'negate' operation in LPE, so you'd negate it in comp should you need it.

KayPSL
dlee
coccosoids
Can you post a visual example of this?

Of course, here's a screencap of the parameter window showing the LPE set up and its output. Note that karma does not support 'negate' operation in LPE, so you'd negate it in comp should you need it.

Image Not Found

Thanks! That will helps a lot.

cheers,
Kay
KayPSL
dlee
coccosoids
Can you post a visual example of this?

Of course, here's a screencap of the parameter window showing the LPE set up and its output. Note that karma does not support 'negate' operation in LPE, so you'd negate it in comp should you need it.

Image Not Found

Thanks again for the informations about the LPE Expression Stuff. I'm now a bit more less stupid. It works like it should, but I now have the issue, that the renderpass with that mask of my Character with fur is not solid black. Ofcourse because the Karma Fur Shader or these kind of shaders in general behave like refracting materials.

Sorry, I can't share a picture. But maybe you or someone else have an idea how to solve this kind of problem.

THX,
Kay
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB