Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

working with multipart? #137

Open
houourin opened this issue Jan 11, 2021 · 11 comments
Open

working with multipart? #137

houourin opened this issue Jan 11, 2021 · 11 comments
Labels

Comments

@houourin
Copy link

I've been following some threads here and in WSL forums about it.
I have 2 vray exr files
1 is multipart exr2.0 I think.
2 is multilayered exr1.0

1 doesn't work with cryptomatte, 2 works pefectly just is heavy to load when used on heavy comps.
For ease of use I would like to use Multipart but so far not getting it to work with the cryptomatte.
I've checked the (1) multipart file layers and there is info in the "VrayCriptomatte" and "VrayCriptomatte00" layer but still no luck into using cryptomatte.

Any advice on where should I touch to fix this?

@cedricduriau
Copy link
Collaborator

Hi @houourin

Glad to see you reported this officially on here. If I remember correctly you talked to Kristof about this and I checked the Fusion EXRIO use and I hard code a partnum 1 to read information from. I have very limited knowledge over the multipart + exr version differences.

Any chance you could share the images you tested on?

Cheers
Cedric

@houourin
Copy link
Author

houourin commented Feb 4, 2021

Hello @cedricduriau

Thank you for your reply! Yes I was commenting that in the forum.
I don't have that images, but I just made a new ones.

Each file contains 2 Cryptomattes, one for name object and another for material.
both of them where created using VRay. ( I also attached the Max Scene )

Like in the forum the one named Multilayered no problem at all. Is just gets slow very very slow when rendering files that are 200MB each.
In the other hand Multipart has a quite decent speed but can't use with Cryptomatte :(

The file was too big to upload here so I'm sharing the wetransfer link.

https://wetransfer.com/downloads/ccbff0d333cef84eacb1cf90dcfd701d20210204032955/3b72aa1d250548e4b9dd102445439de220210204033005/34fd23

Let me know if you have any trouble downloading it.
and again, Thank you a lot to looking into this!

@cedricduriau
Copy link
Collaborator

Hi @houourin

So I decently checked this out and discussed with Kristof and @jonahfriedman.

It seems like neither Nuke nor Fusion supports this so far. I congratulate you, you're the first one to request this if I'm not mistaken! We can look into supporting this on the Fusion side in the future, but I can already tell you it's not on the roadmap atm.

For Fusion we have some major changes/improvements/fixes incoming, so I'll focus on the next releases. If I ever start prototyping this I will keep you posted. In the meantime I might add a dedicated error to avoid confusion regarding this subject.

And finally, sorry about this, you'll have to stick to multi layer for now. I hope you understand and can work your way around this.

Cheers
Cedric

@houourin
Copy link
Author

houourin commented Mar 16, 2021 via email

@nebukadhezer
Copy link

Hm this sounds strange we use multipart (exr 2.0) with Cryptomatte, you need to make sure that the Cryptolayers remain in 32 bit float... I remember when we still converted exrs after rendering to multiparts that it was not working once we set the rule to 32 bit for all CryptoLayers it worked. Can you check your settings there ?
Nowadays we render straight from vray to mutlipart with 32 bit 16 bit mixed...
I cannot download the data above, dont know why...

@houourin
Copy link
Author

houourin commented Apr 10, 2021 via email

@nebukadhezer
Copy link

I just saw that this is labeled fusion only... might be that the problem is there

@houourin
Copy link
Author

houourin commented Apr 10, 2021 via email

@cedricduriau
Copy link
Collaborator

Just to confirm again, multipart EXR image sequences are not supported right now in Cryptomatte for Fusion. They might work, but even then there is no support for you to select parts. Only multi layered EXR image sequences are supported this far.

@cgranjon
Copy link

Hm this sounds strange we use multipart (exr 2.0) with Cryptomatte, you need to make sure that the Cryptolayers remain in 32 bit float... I remember when we still converted exrs after rendering to multiparts that it was not working once we set the rule to 32 bit for all CryptoLayers it worked. Can you check your settings there ?
Nowadays we render straight from vray to mutlipart with 32 bit 16 bit mixed...
I cannot download the data above, dont know why...

I’d be curious to know if you are doing anything specific to have it work. Does it work straight out of the box or do you any in house tools ?

@qumpa
Copy link

qumpa commented Aug 17, 2022

Hi,
Thank you so much for implementing cryptomatte in fusion, you are absolute heroes.
I installed it and tested it with supplied sample images and it all works as it should. Loading multilayered exr (rendered with vray from houdini) in the other hand gives me an error. I set Part dropdown menu to CryptoObject. (I am very fresh to Fusion, trying to switch from Nuke)

Edit:
Figured out how to get to console and this is what it is saying:
[Cryptomatte][Cryptomatte1_1][ERROR] no cryptomatte metadata found
...cryptomatte/fusion/Modules/Lua/cryptomatte_utilities.lua:615: ERROR
stack traceback:
[C]: in function 'error'
...cryptomatte/fusion/Modules/Lua/cryptomatte_utilities.lua:615: in function 'log_error'
...cryptomatte/fusion/Modules/Lua/cryptomatte_utilities.lua:695: in function 'get_cryptomatte_metadata'
/home/k/.cryptomatte/fusion/Fuses/Matte/cryptomatte.fuse:275: in function </home/k/.cryptomatte/fusion/Fuses/Matte/cryptomatte.fuse:251>
Cryptomatte1_1 failed at time 95

Here is exr file if anyone is interested:
[[](https://www.dropbox.com/s/zdwcgrs4e36135b/test.exr?dl=0)](https://www.dropbox.com/s/zdwcgrs4e36135b/test.exr?dl=0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants