Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: danielsian on 2018-03-22, 23:07:50

Title: Multi-Pass organization (structure, names, etc)
Post by: danielsian on 2018-03-22, 23:07:50
Hello guys

I'm struggling to figure out how to use the Multi-Pass in order to save a PSB with all the passes organized, separated in proper folders, like Masks, Composition, etc.

Have a look on the image attached to see how I am trying to organize my multi-pass, so you can have an idea about my intention.

Once the PSB file is saved, that structure is not respected inside the multipass file.
How to have the same structure from Multi-Pass window inside the PSB?

Thanks in advance.
Title: Re: Multi-Pass organization (structure, names, etc)
Post by: Eddoron on 2018-03-23, 01:15:30
For later dev stages, I see no way around Cryptomatte
Title: Re: Multi-Pass organization (structure, names, etc)
Post by: danielsian on 2018-03-23, 06:17:37
For later dev stages, I see no way around Cryptomatte
I don't understand what you are talking about :-/
Title: Re: Multi-Pass organization (structure, names, etc)
Post by: Eddoron on 2018-03-23, 07:46:41
Quote
Cryptomatte is a tool created at Psyop by Jonah Friedman and Andy Jones. It creates ID mattes automatically with support for motion blur, transparency, and depth of field, using organizational information already available at render time. This organizational information is usually names, object namespaces, and material names.

Demo video:
Poster: https://github.com/Psyop/Cryptomatte/raw/master/specification/IDmattes_poster.pdf
The goal of releasing Cryptomatte is to turn it into an ecosystem around an open standard. Any developers who wish to make plugins are welcome and encouraged to create tools that inter-operate with the components we are providing. We hope to see a diverse ecosystem of renderers that can create Cryptomatte images and plugins for compositing applications to decode them.


https://github.com/Psyop/Cryptomatte

Quote
INTRODUCTION
In this brief tutorial we'll see how to set up and use the new Cryptomatte AOVs in alSurface, alHair and alLayer. Cryptomatte, developed at Psyop, is a system that allows you to generate perfect mattes of an arbitrary number of named objects from a single OpenEXR AOV with just a few channels. The generated mattes exactly match the beauty image and can properly handle motion blur and depth of field. As we'll see, generating and using these mattes is incredibly simple.
http://www.anderslanglands.com/alshaders/tut_cryptomatte.html
Title: Re: Multi-Pass organization (structure, names, etc)
Post by: danielsian on 2018-03-23, 08:08:46
I still don't understand why you are talking about Cryptomatte and what's the relationship with my question.
Title: Re: Multi-Pass organization (structure, names, etc)
Post by: Beanzvision on 2018-03-23, 08:35:17
So when you save it's just coming out like this? Or you're getting one output yet the layer list is reversed in PS?
Title: Re: Multi-Pass organization (structure, names, etc)
Post by: danielsian on 2018-03-23, 09:14:34
I set to save automatically, as you can see in my first post, a multi-layer PSB file. So all the passes come inside 1 PSB.

And as in my first post, I organised the passes using folders in Corona Multi-Passes window.
In my mind, the PSB should have the same organization when saved. If not, why it's possible to insert a folder and build that structure like I did?

This is my question. I hope I could be clear.

Thanks
Title: Re: Multi-Pass organization (structure, names, etc)
Post by: Eddoron on 2018-03-23, 09:23:53
I was just trying to say that, if we already had cryptomatte support, we wouldn't have that kind of problem. You get one organized exr file with all the passes, objects and materials names and masks.
Title: Re: Multi-Pass organization (structure, names, etc)
Post by: danielsian on 2018-03-23, 10:06:36
I was just trying to say that, if we already had cryptomatte support, we wouldn't have that kind of problem. You get one organized exr file with all the passes, objects and materials names and masks.

Interesting!
I think this would be implemented when the basic is working fine.
For now, if Corona can save a simple PSB file with the same structure as the Multi-Passes settings, this is all I need.