Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] General Discussion => Topic started by: jungsoo83 on 2014-05-19, 07:39:19

Title: Selection through glass via CMasking
Post by: jungsoo83 on 2014-05-19, 07:39:19
hi,

I was wondering if you could get a selection behind a glass object through CMasking passes?

For example, in the attachment are two images with render + material selection pass for compositing.

What settings do I need to change in order to select the teapot behind the glass object and change its color in compositing program?

Any help would be greatly appreciated.

Cheers,
Jung
Title: Re: Selection through glass via CMasking
Post by: juang3d on 2014-05-19, 09:36:33
The only way I've been able to achieve this in the past (with other renderers) is creating a pass manually, where you left the glass with it's glass material but without any reflection, just refraction, everything else in black and the desired object in white, try to eliminate any GI, bouncing or similar to avoid the teapot to emit light, enable self illumination and that's it.

I'm not sure this can be done in Corona, becuase it's unbiased nature, but it's probably possible reducing bounces and such things, I did it in the past with iRay, so it should be possible in Corona, but it's a manually created pass, nothing with render elements.

Cheers.
Title: Re: Selection through glass via CMasking
Post by: johan belmans on 2014-05-19, 13:45:59
HI,

I always render two MatID passes.
One with and one without glass enabled.

cheers

belly
Title: Re: Selection through glass via CMasking
Post by: fco3d on 2014-05-19, 23:18:13
Oh man ...  I was just about to do the same question, so there is no way to get an ID mat for any elements behind glass materials?
I already tried all Glass modes and the alpha still shows solid and Mats ID too. Nothing like V-Ray multimatts that keep the transparency values?
Title: Re: Selection through glass via CMasking
Post by: fco3d on 2014-05-20, 18:32:19
Mr developer? :)
is there any way to select materials ID though glass? if not this will be addresses in the near future?
I already  to switched from Cinema 4d to Max in some projects only to use Corona, please don't let me down :p

Thanks
Title: Re: Selection through glass via CMasking
Post by: Ondra on 2014-05-20, 18:44:12
it is planned. No timeframe yet though.
Title: Re: Selection through glass via CMasking
Post by: fco3d on 2014-05-21, 03:19:23
ok thanks you!