Z-depth doesn't always work

Forums: Z-depth doesn't always work
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Z-depth doesn't always work

Postby zboog » Sun Dec 17, 2017 1:43 am

zboog Sun Dec 17, 2017 1:43 am
Sometimes z-depth renders out as solid white and sometimes it renders out fine. I can't figure out what I'm doing in one file that's making it work/not work.

The really odd thing is that the z-depth shows up looking totally fine in the octane render view.

Here's a file where it renders out the z-depth in the render passes:
https://www.dropbox.com/s/38tummhp35c6z ... 5.c4d?dl=0

and here's the file where it mysteriously renders only white for the z-depth:
https://www.dropbox.com/s/sqwvsdgoyslk9 ... 3.c4d?dl=0
zboog
Licensed Customer
Licensed Customer
 
Posts: 59
Joined: Tue May 18, 2010 6:48 pm
Location: NYC

Re: Z-depth doesn't always work

Postby aoktar » Sun Dec 17, 2017 9:18 am

aoktar Sun Dec 17, 2017 9:18 am
It always works but you need to know tonemapped vs linear difference. See end of render passes in manual. There's a video to show usage of zdepth in AE.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15940
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Z-depth doesn't always work

Postby franchus » Mon Dec 18, 2017 8:10 am

franchus Mon Dec 18, 2017 8:10 am
It does, if you switch your render to info channels you'll see there is a Z-depth slider, if you increase it it will increase the distance of the z-depth pass. Sometimes (depending on the size of your scene) you'll need 1 but sometimes 50 or even more. Also take into account that on the render settings you must go to octane passes and set that number on the z-depth slider (it's at the bottom) to the same number you've chosen on your kernel settings.
Screen Shot 2017-12-18 at 09.04.03.png

Screen Shot 2017-12-18 at 09.04.15.png

Screen Shot 2017-12-18 at 09.04.25.png

Screen Shot 2017-12-18 at 09.04.44.png
franchus
Licensed Customer
Licensed Customer
 
Posts: 44
Joined: Fri May 13, 2016 7:57 am
Location: Barcelona

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 10 guests

Fri Mar 29, 2024 5:41 am [ UTC ]