Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: ringas on 2015-06-24, 22:42:37
-
Hi all,
I have been trying Corona and I have a little problem/question regarding the values in the zdepth Render Element:
Being used to the way Vray handles zdepth, I expected a zdepth in which values correspond to the distance in front of the camera (Nuke uses that and it's very intuitive and useful to know where an object is just by sampling the red channel of zdepth with a colour picker). To do that in Vray, I just put 1 in the max value and Vray enters a special mode outputting the distance value.
Now, in Corona, the values don't correspond to the distance, no matter if the clamp option is either ON or OFF, or I use the camera option. I was wondering if it's at all possible to force Corona to output distance values instead of float numbers. I could use some more involved ways to achieve that in Nuke but it would be much better to avoid that.
As a side note, would it also be possible to have a separate CoronaBackground Render Element, showing only the background with the rest being black?
Hope this makes sense,
Tassos Ringas
-
Hi,
this behavior is unfortunately not currently supported, but i dont think it should be hard to implement, so i will ask Ondra about if it's possible.
-
Thank you very much!!!
In case anyone is interested, to do the same thing in Nuke, one has to invert the zdepth so that white is far, then use a multiply(math) node to make the white correspond to the value in front of the camera and finally copy zdepth.red channel to depth.z for use use with a zdefocus. Not as accurate as with Vray but if it looks right...
Tassos Ringas