Corona Renderer Forum

Corona Renderer for Cinema 4D => [C4D] General Discussion => Topic started by: zbieraj on 2020-02-06, 11:44:04

Title: Fog not reflecting in the window
Post by: zbieraj on 2020-02-06, 11:44:04
Hi,

Why does the fog not appear in the reflection of the window?
Title: Re: Fog not reflecting in the window
Post by: TomG on 2020-02-06, 14:02:14
We'd need some info on the scene set up, such as what the fog is (global? applied to a cube? If a cube, where does the geometry for that cube stop in relation to the window? CoronaVolume material? Some other material?)

In general whenever asking "Why does my one image look like this", we will need some description of the scene set up, grabs that show that set up and materials, and so on.
Title: Re: Fog not reflecting in the window
Post by: zbieraj on 2020-02-06, 20:31:30
Corona Volume Material is applied to cube-ish geometry. In ends just before the windows. Global fog is turned off.
Title: Re: Fog not reflecting in the window
Post by: TomG on 2020-02-06, 20:43:38
So long as the geometry with the Volume Material on it is not intersecting the window, this should work (and does in my tests. Best thing I can suggest as a result is to send us the scene, see https://help.c4d.corona-renderer.com/support/solutions/articles/12000033461-how-to-report-issues-c4d for the private uploader etc.
Title: Re: Fog not reflecting in the window
Post by: TomG on 2020-02-06, 20:44:39
Don't forget to let us know which version of Corona, which version of Cinema, which OS and version of OS. Thanks!
Title: Re: Fog not reflecting in the window
Post by: beanzvision on 2020-02-07, 10:26:14
I've also done a quick test and it is working for me. Here's my rough setup.

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=27812.0;attach=119324;image)

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=27812.0;attach=119326;image)

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=27812.0;attach=119328;image)
Title: Re: Fog not reflecting in the window
Post by: beanzvision on 2020-02-07, 11:01:04
Another thing we noticed with your scene is that the decking reflection doesn't match the physical one. It looks compressed or distorted. Setting the phong angle to 0 should fix this.

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=27812.0;attach=119332;image)
Title: Re: Fog not reflecting in the window
Post by: zbieraj on 2020-02-07, 17:50:01
Thanks! It was actually the windows being inside of the fog volume -.-. Because I had the preview of the windows turned on, I followed if the fog is in front of the columns which are behind the windows. So I thought that the volume is in front of the windows but it was not... Oh me :/.