Still no alpha channel for transparent material
11157 19 5- Chukerman
- Member
- 8 posts
- Joined: 3月 2012
- Offline
- jsmack
- Member
- 8044 posts
- Joined: 9月 2011
- Offline
- tamte
- Member
- 8833 posts
- Joined: 7月 2007
- Offline
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
- 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
Edited by tamte - 2021年11月1日 13:12:45
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- Chukerman
- Member
- 8 posts
- Joined: 3月 2012
- Offline
- tamte
- Member
- 8833 posts
- Joined: 7月 2007
- Offline
ChukermanI'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
Try to render glass cube via redshift, and will see right alpha channel, I mean
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
Edited by tamte - 2021年11月1日 14:30:51
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- jsmack
- Member
- 8044 posts
- Joined: 9月 2011
- Offline
- tamte
- Member
- 8833 posts
- Joined: 7月 2007
- Offline
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
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- jsmack
- Member
- 8044 posts
- Joined: 9月 2011
- Offline
tamtejsmack
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
- スタッフ
- 531 posts
- Joined: 5月 2019
- Offline
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
- Member
- 8044 posts
- Joined: 9月 2011
- Offline
briansjsmack
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
- スタッフ
- 531 posts
- Joined: 5月 2019
- Offline
- Jonathan de Blok
- Member
- 274 posts
- Joined: 7月 2013
- Offline
- nickfr
- Member
- 26 posts
- Joined: 3月 2021
- Offline
- KayPSL
- Member
- 7 posts
- Joined: 11月 2014
- Offline
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
- スタッフ
- 444 posts
- Joined: 9月 2016
- Offline
- coccarolla
- Member
- 78 posts
- Joined: 8月 2013
- Offline
dleeCan you post a visual example of this?
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'.
- KayPSL
- Member
- 7 posts
- Joined: 11月 2014
- Offline
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
- スタッフ
- 444 posts
- Joined: 9月 2016
- Offline
- KayPSL
- Member
- 7 posts
- Joined: 11月 2014
- Offline
dleecoccosoids
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
- Member
- 7 posts
- Joined: 11月 2014
- Offline
dleecoccosoids
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
-
- Quick Links