Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Z-pass / z-depth with standard volume ?

5 REPLIES 5
Reply
Message 1 of 6
Francis_Bievre
1949 Views, 5 Replies

Z-pass / z-depth with standard volume ?

Hello,

I am rendering a cloudscape with VDB clouds, but I would like to have a z pass for my compositing to work. I've got my solid objects in the Z but not my clouds.

Is there something I need to setup ?

Thank you !

Labels (3)
5 REPLIES 5
Message 2 of 6
madsd
in reply to: Francis_Bievre

Encapsul your entire scene with a box you give a volume material and assign a very low density will automaticly produce depth pass, you may need to exclude shadows or lightning. This method is production proven in 3dsmax atleast.

Message 3 of 6

As far as I know there is no way to include a volume in a z-buffer. You can generate depth of a volume using deep compositing.

Message 4 of 6
madsd
in reply to: Francis_Bievre

Let's pretend we have 2 clouds both are volumes.
The active cloud moves away and thus colors are dimmed down due to the volume they both exsist in, this also works for transparency naturally and anything else, you just need to rig it up.

1375-werwer.gif

Message 5 of 6
Anonymous
in reply to: Francis_Bievre

Hi,

Could you detail your workflow to produce the z depth using volume? DOes it work with glass as well? I remember to have seen something like that in another thread talking about aovs and z depth with glass material. The guy said he would do a tutorial about it, but I could not find nothing.

Message 6 of 6
madsd
in reply to: Francis_Bievre

Yes, this method works perfect through glass.

I'll attempt to push a video about it one of the next days.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums