Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: genesys on 2021-08-16, 13:43:53

Title: propagate masks not working as expected with CGeometry_Zdepth and reflection
Post by: genesys on 2021-08-16, 13:43:53
https://coronarenderer.freshdesk.com/support/solutions/articles/12000066916-how-to-use-masks-with-reflection-refraction states that CGeometry_Zdepth should be working with propagate masks. However, when I create a mirror and set the mirror material's propagate masks to 'through reflection', I still get the distance of the mirror surface instead of the distance of the reflection in the CGeometry_Zdepth output.

Using corona 6.
Title: Re: propagate masks not working as expected with CGeometry_Zdepth and reflection
Post by: GeorgeK on 2021-08-16, 15:03:13
https://coronarenderer.freshdesk.com/support/solutions/articles/12000066916-how-to-use-masks-with-reflection-refraction states that CGeometry_Zdepth should be working with propagate masks. However, when I create a mirror and set the mirror material's propagate masks to 'through reflection', I still get the distance of the mirror surface instead of the distance of the reflection in the CGeometry_Zdepth output.

Using corona 6.

Hi, support for CGeometry_Zdepth was implemented at a later date for a daily build of Corona Renderer version 7 https://forum.corona-renderer.com/index.php?topic=30876.msg183142#msg183142, thank you for pointing this out we will update the article to reflect this information better.

You can find the latest version here: https://corona-renderer.com/download
Title: Re: propagate masks not working as expected with CGeometry_Zdepth and reflection
Post by: maru on 2021-08-17, 16:58:58
@genesys - is this what you are reporting? (see the attached image)

What happens: the reflection of the teapot is "colored" the same as the teapot itself.
What you expect: the teapot itself would be bright as it is, but the reflection should be black (because it is far away from the camera).

Do I understand you correctly?


(Report ID=CRMAX-903)
Title: Re: propagate masks not working as expected with CGeometry_Zdepth and reflection
Post by: maru on 2022-02-08, 13:35:40
This is fixed, and the updated version of Corona will be available soon!
(the reflection will appear correctly in the Z-Depth pass - just as if actual geometry was placed in the same distance from the camera as the reflection)
Title: Re: propagate masks not working as expected with CGeometry_Zdepth and reflection
Post by: rowmanns on 2022-02-09, 16:20:49
Hi,

This is fixed and available in the latest daily build. You can find it here: https://forum.corona-renderer.com/index.php?topic=33839.msg194990#msg194990

Rowan