Chaos Corona Forum
Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: Konichowaa on 2021-03-08, 11:39:01
-
Hi, I would like to render a zdepth images for a 360 tour on 'TheViewer' platform.
It will allow a more visual warping instead of just switching/fading from point to point.
Here is a tutorial/explanation for corona on 3Dsmax, but the parameters are a bit different for C4D and the option 'use camera environment range' is unavailable in C4d.
https://help.theviewer.co/article/64-6dof-in-360-vr-images-depth-map-quick-guide (https://help.theviewer.co/article/64-6dof-in-360-vr-images-depth-map-quick-guide)
I have not got much knowledge about multipass but when I simply activate zdept, the layer is plain black
is there a way to do this in C4D?
any help is much appreciated!
-
Haven't watched the video... are you looking for this?
(https://forum.corona-renderer.com/index.php?action=dlattach;topic=32607.0;attach=143830;image)
-
The thing about the zdepth pass is to set the correct max and min distances. This is entirely dependent on the scene in question, so there is no "reasonable default that will usually work", as each scene will need a different value. If everything is black, it means everything in the scene is further away than the Max Z distance, and so is rendering as the Max Z color (black). You will need to do some measuring in your scene to decide the distances needed in Max and Min for a suitable fade.
(The option shown above for "whole scene" can give a good starting point, maybe even a good finish point - if it needs editing, you can note the value shown in the parameter, and then swap back to entering it manually to make needed adjustments)