question

Francis Bievre avatar image
Francis Bievre asked ·

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 !

c4dtoavolumetricsz-depth
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

Yes, this method works perfect through glass.

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

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Olivier Desrois avatar image
Olivier Desrois answered ·

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.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

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.


werwer.gif (1.6 MiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Shawn Kearney avatar image
Shawn Kearney answered ·

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.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mads Drøschler avatar image
Mads Drøschler answered ·

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.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.