Cryptomatte affected by Aperture Shape and Optical Vignette

Forums: Cryptomatte affected by Aperture Shape and Optical Vignette
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Cryptomatte affected by Aperture Shape and Optical Vignette

Postby Maxter » Thu Dec 28, 2023 2:58 pm

Maxter Thu Dec 28, 2023 2:58 pm
Hi,

my problem is when I select a cryptomatte ID in After Effects and set the cryptomatte output to "matte only" the selected ID gets grey but not white.
cryptomatte_aftereffects.JPG

When I change the output to "matted RGBA" my selected ID gets half transparent.
cryptomatte_aftereffects_matted_rgba.JPG
matted RGBA


I'd never had this issue before.

My working space is Aces
After Effects version 23.2.0 with native Aces support
I'm using Octane 2023.1.1 and exported the renderings as EXR(Octane), 16 Bit, Multilayer, Piz Compression

I couldn't find a solution online for my issue. I switched to 32-bit, changed distributed rays to non-distributed without pixel filtering, increased the cryptomatte bins to the maximum, and changed the saving to single-layer files. However, the transparency in my cryptomattes is still persisting. I even loaded an old project that I rendered in a 2022 Octane version, and those cryptomattes are working correctly.

I'll upload a render image of my current project:
https://we.tl/t-4Wzk1eEJJB

UPDATE:

I identified the issue. It seems to be related to the custom aperture shape I selected for my camera.
Iris_Clean.png
custom aperture
Iris_Clean.png (11.46 KiB) Viewed 665 times

When applied, it affects the brightness of the cryptomatte and embeds it, resulting in transparent mattes:

cryptomatte_custom_aperture.JPG


That's how it looks with a regular aperture shape from octane:

cryptomatte_circular_aperture.JPG


When adjusting the optical vignetting distance, I've observed that the vignetting effect is also affecting the cryptomatte:

cryptomatte_circular_aperture_with_optical_vignette.JPG


I guess it is the excact same problem. Is this a bug or limitation of Octane :?:
Octane for Cinema 4D
5950X | 64 GB 3600MHz DDR4 | 2x 3080 RTX 10 GB | 1200W PSU
Maxter
Licensed Customer
Licensed Customer
 
Posts: 21
Joined: Mon Sep 09, 2019 7:10 pm
Location: Germany

Re: Cryptomatte affected by Aperture Shape and Optical Vignette

Postby bepeg4d » Fri Dec 29, 2023 10:21 am

bepeg4d Fri Dec 29, 2023 10:21 am
Hi,
to remove DOF, you need to go to Render AOV gropu tab and change the "Info sampling mode" to "Non-distributed without pixel filtering", but it works only for Octane Info AOVs, here is with Mat ID, but as you can see the Universal Optical Vignetting is not removed:
IMG_0709.jpeg


And it doesn't work with Cryptomatte AOVs:
IMG_0710.jpeg


So, to obtain correct Cryptomatte AOVs, you need to re render the scene by switching the camera from Universal to ThinLens, set the Aperture to zero, and the Max Sampling to 1 in Kernel panel.

ciao,
Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9959
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Cryptomatte affected by Aperture Shape and Optical Vignette

Postby Maxter » Fri Dec 29, 2023 12:45 pm

Maxter Fri Dec 29, 2023 12:45 pm
bepeg4d wrote:
So, to obtain correct Cryptomatte AOVs, you need to re render the scene by switching the camera from Universal to ThinLens, set the Aperture to zero, and the Max Sampling to 1 in Kernel panel.

ciao,
Beppe


I already thought about that workaround. I guess I'll do it this way.

Thank you Beppe
Octane for Cinema 4D
5950X | 64 GB 3600MHz DDR4 | 2x 3080 RTX 10 GB | 1200W PSU
Maxter
Licensed Customer
Licensed Customer
 
Posts: 21
Joined: Mon Sep 09, 2019 7:10 pm
Location: Germany

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 25 guests

Sun Apr 28, 2024 2:23 am [ UTC ]