Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
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: 

Arnold Denoiser dont work on AOVS

13 REPLIES 13
Reply
Message 1 of 14
info9DDWD
2296 Views, 13 Replies

Arnold Denoiser dont work on AOVS

Hello,

I use Cinema 4D R20 and the current Version of Arnold.


Now i activated in the Display Driver "Enable AOVs", "Merge AOVs" and "Output Arnold Denoiser AOVs" and Render it out as EXR.


All AOVs now in the EXR, so far OK.


But so i Use the Arnold Denoiser, it comes ever the Error:

Could not find AOV with source RGBA and filter variance_filter
Could not find variance for AOV "RGBA", skipping denoise.


Thats for all AOVS.

Only the Beauty Pass is Denoised.

In the EXR all AOVs are Noise.


In the "Light group AOVs" i push "Read available AOVs" and all AOVs are loading.


Is it a software bug or i doing something wrong?arnold.jpg

Tags (1)
Labels (1)
13 REPLIES 13
Message 2 of 14
info9DDWD
in reply to: info9DDWD

Hello again,

i testet the Demo Scene from https://docs.arnoldrenderer.com/display/A5AFCUG/Denoiser


Same Problems as soon as I load more AOVs. Only the RGBA is Denoised.

arnold2.jpg

Message 3 of 14
Stephen.Blair
in reply to: info9DDWD

Are you sure you are denoising the right file? I can denoise the output of the demo scene. Tested with the latest C4DtoA.

Can you post a detailed Arnold log for your render?

My noice log:

Denoising image: output.exr (1/1)
"C:\Program Files\MAXON\Cinema 4D R20\plugins\C4DtoA\arnold\bin\noice.exe" -f 1 -pr 3 -sr 9 -v 0.500000 -t -1 -ef 0 -l RGBA_quadrant1 -l RGBA_quadrant2 -l RGBA_quadrant3 -l RGBA_quadrant4 -i "S:\Projects\c4d\denoise_AOVs_user-guide\output.exr" -o "S:\Projects\c4d\denoise_AOVs_user-guide\output_denoised.exr"
noice 6.1.0.0 [250260fb] - the Arnold denoiser
Using 39 threads.
Loading images...
Loading file "S:\Projects\c4d\denoise_AOVs_user-guide\output.exr".
Using feature AOV 'diffuse_albedo' with filter 'gaussian_filter'
Using feature AOV 'N' with filter 'gaussian_filter'
Using feature AOV 'Z' with filter 'gaussian_filter'
Working with 1 frame at 1280x720
Will denoise AOV "RGBA", using associated variance
   Output file will be "S:\Projects\c4d\denoise_AOVs_user-guide\output_denoised.exr"
Will denoise AOV "RGBA_quadrant1", using associated variance
   Output file will be "S:\Projects\c4d\denoise_AOVs_user-guide\output_denoised.exr"
Will denoise AOV "RGBA_quadrant2", using associated variance
   Output file will be "S:\Projects\c4d\denoise_AOVs_user-guide\output_denoised.exr"
Will denoise AOV "RGBA_quadrant3", using associated variance
   Output file will be "S:\Projects\c4d\denoise_AOVs_user-guide\output_denoised.exr"
Will denoise AOV "RGBA_quadrant4", using associated variance
   Output file will be "S:\Projects\c4d\denoise_AOVs_user-guide\output_denoised.exr"
Start denoising (patch radius 3, search radius 9, variance 0.5)
Denoising RGBA
Denoising RGBA_quadrant1
Denoising RGBA_quadrant2
Denoising RGBA_quadrant3
Denoising RGBA_quadrant4
Finished denoising
Saving image S:\Projects\c4d\denoise_AOVs_user-guide\output_denoised.exr (1280 x 720 x 20)
Denoising image done in 00:02:46,156
==================
Denoising 1 image completed in 00:02:46,157




// Stephen Blair
// Arnold Renderer Support
Message 4 of 14

There's a bit of an inconsistency in the plugin. Denoising an AOV requires a variance layer to be present in the EXR. The denoiser is originally designed to denoise the beauty (RGBA) AOV, so when you render to an EXR file, only the beauty has the variance layer, but no other AOVs. You can denoise beauty light group AOVs, that's what the Light Group AOV field is for.

So either the 'Read available AOVs' button should prepopulate the field only with the beauty light group AOVs, or we should allow writing variance layer of other AOVs.

Currently you can not denoise non-beauty AOVs if they are exported to EXR from the plugin iirc.

Message 5 of 14

I'm trying to fix this in an upcoming release. Allow to setup the export properly, so non-beauty AOVs can be denoised, and also list only available AOVs which are actually valid for denoising (have the variance filter).

Message 6 of 14
info9DDWD
in reply to: info9DDWD

Hello,


yes it is the File.


Here is the Original Log and the Log with more AOVs. The Original File Works, but with more AOVs it comes the Error "Could not find variance" for all AOVs. This Problem exists with every file project, not only the Demo File.

Here both Logs:

Denoising image: Output.exr (1/1)

"C:\Program Files\MAXON\Cinema 4D R20\plugins\C4DtoA\arnold\bin\noice.exe" -f 1 -pr 3 -sr 9 -v 0.500000 -t -1 -ef 0 -l RGBA_quadrant1 -l RGBA_quadrant2 -l RGBA_quadrant3 -l RGBA_quadrant4 -i "E:\Test\Arnold AOV Test Denoiser\Support\Output.exr" -o "E:\Test\Arnold AOV Test Denoiser\Support\Output_denoised.exr"

noice 6.1.0.0 [250260fb] - the Arnold denoiser
Using 31 threads.
Loading images...
Loading file "E:\Test\Arnold AOV Test Denoiser\Support\Output.exr".
Using feature AOV 'diffuse_albedo' with filter 'gaussian_filter'
Using feature AOV 'N' with filter 'gaussian_filter'
Using feature AOV 'Z' with filter 'gaussian_filter'
Working with 1 frame at 1280x720
Will denoise AOV "RGBA", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output_denoised.exr"
Will denoise AOV "RGBA_quadrant1", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output_denoised.exr"
Will denoise AOV "RGBA_quadrant2", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output_denoised.exr"
Will denoise AOV "RGBA_quadrant3", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output_denoised.exr"
Will denoise AOV "RGBA_quadrant4", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output_denoised.exr"
Start denoising (patch radius 3, search radius 9, variance 0.5)
Denoising RGBA
Denoising RGBA_quadrant1
Denoising RGBA_quadrant2
Denoising RGBA_quadrant3
Denoising RGBA_quadrant4
Finished denoising
Saving image E:\Test\Arnold AOV Test Denoiser\Support\Output_denoised.exr (1280 x 720 x 20)
Denoising image done in 00:00:31,498

==================
Denoising 1 image completed in 00:00:31,498



And here the Other Log with the Error from the same file with other AOVs


Denoising image: Output2.exr (1/1)

"C:\Program Files\MAXON\Cinema 4D R20\plugins\C4DtoA\arnold\bin\noice.exe" -f 1 -pr 3 -sr 9 -v 0.500000 -t -1 -ef 0 -l specular_indirect_quadrant4 -l specular_indirect_quadrant3 -l specular_indirect_quadrant2 -l specular_indirect_quadrant1 -l specular_indirect -l specular_direct_quadrant4 -l specular_direct_quadrant3 -l specular_direct_quadrant2 -l specular_direct_quadrant1 -l specular_direct -l diffuse_indirect_quadrant4 -l diffuse_indirect_quadrant3 -l diffuse_indirect_quadrant2 -l diffuse_indirect_quadrant1 -l diffuse_indirect -l diffuse_direct_quadrant4 -l diffuse_direct_quadrant3 -l diffuse_direct_quadrant2 -l diffuse_direct_quadrant1 -l diffuse_direct -l RGBA_quadrant4 -l RGBA_quadrant3 -l RGBA_quadrant2 -l RGBA_quadrant1 -i "E:\Test\Arnold AOV Test Denoiser\Support\Output2.exr" -o "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"

noice 6.1.0.0 [250260fb] - the Arnold denoiser
Using 31 threads.
Loading images...
Loading file "E:\Test\Arnold AOV Test Denoiser\Support\Output2.exr".
Using feature AOV 'diffuse_albedo' with filter 'gaussian_filter'
Using feature AOV 'N' with filter 'gaussian_filter'
Using feature AOV 'Z' with filter 'gaussian_filter'
Working with 1 frame at 1280x720
Will denoise AOV "RGBA", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will denoise AOV "RGBA_quadrant1", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will denoise AOV "RGBA_quadrant2", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will denoise AOV "RGBA_quadrant3", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will denoise AOV "RGBA_quadrant4", using associated variance
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_direct", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_direct_quadrant1", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_direct_quadrant2", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_direct_quadrant3", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_direct_quadrant4", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_indirect", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_indirect_quadrant1", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_indirect_quadrant2", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_indirect_quadrant3", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "diffuse_indirect_quadrant4", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_direct", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_direct_quadrant1", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_direct_quadrant2", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_direct_quadrant3", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_direct_quadrant4", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_indirect", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_indirect_quadrant1", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_indirect_quadrant2", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_indirect_quadrant3", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Will just copy AOV "specular_indirect_quadrant4", variance not found
Output file will be "E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr"
Start denoising (patch radius 3, search radius 9, variance 0.5)
Denoising RGBA
Denoising RGBA_quadrant1
Denoising RGBA_quadrant2
Denoising RGBA_quadrant3
Denoising RGBA_quadrant4
Denoising diffuse_direct
Could not find AOV with source diffuse_direct and filter variance_filter
Could not find variance for AOV "diffuse_direct", skipping denoise.
Denoising diffuse_direct_quadrant1
Could not find AOV with source diffuse_direct_quadrant1 and filter variance_filter
Could not find variance for AOV "diffuse_direct_quadrant1", skipping denoise.
Denoising diffuse_direct_quadrant2
Could not find AOV with source diffuse_direct_quadrant2 and filter variance_filter
Could not find variance for AOV "diffuse_direct_quadrant2", skipping denoise.
Denoising diffuse_direct_quadrant3
Could not find AOV with source diffuse_direct_quadrant3 and filter variance_filter
Could not find variance for AOV "diffuse_direct_quadrant3", skipping denoise.
Denoising diffuse_direct_quadrant4
Could not find AOV with source diffuse_direct_quadrant4 and filter variance_filter
Could not find variance for AOV "diffuse_direct_quadrant4", skipping denoise.
Denoising diffuse_indirect
Could not find AOV with source diffuse_indirect and filter variance_filter
Could not find variance for AOV "diffuse_indirect", skipping denoise.
Denoising diffuse_indirect_quadrant1
Could not find AOV with source diffuse_indirect_quadrant1 and filter variance_filter
Could not find variance for AOV "diffuse_indirect_quadrant1", skipping denoise.
Denoising diffuse_indirect_quadrant2
Could not find AOV with source diffuse_indirect_quadrant2 and filter variance_filter
Could not find variance for AOV "diffuse_indirect_quadrant2", skipping denoise.
Denoising diffuse_indirect_quadrant3
Could not find AOV with source diffuse_indirect_quadrant3 and filter variance_filter
Could not find variance for AOV "diffuse_indirect_quadrant3", skipping denoise.
Denoising diffuse_indirect_quadrant4
Could not find AOV with source diffuse_indirect_quadrant4 and filter variance_filter
Could not find variance for AOV "diffuse_indirect_quadrant4", skipping denoise.
Denoising specular_direct
Could not find AOV with source specular_direct and filter variance_filter
Could not find variance for AOV "specular_direct", skipping denoise.
Denoising specular_direct_quadrant1
Could not find AOV with source specular_direct_quadrant1 and filter variance_filter
Could not find variance for AOV "specular_direct_quadrant1", skipping denoise.
Denoising specular_direct_quadrant2
Could not find AOV with source specular_direct_quadrant2 and filter variance_filter
Could not find variance for AOV "specular_direct_quadrant2", skipping denoise.
Denoising specular_direct_quadrant3
Could not find AOV with source specular_direct_quadrant3 and filter variance_filter
Could not find variance for AOV "specular_direct_quadrant3", skipping denoise.
Denoising specular_direct_quadrant4
Could not find AOV with source specular_direct_quadrant4 and filter variance_filter
Could not find variance for AOV "specular_direct_quadrant4", skipping denoise.
Denoising specular_indirect
Could not find AOV with source specular_indirect and filter variance_filter
Could not find variance for AOV "specular_indirect", skipping denoise.
Denoising specular_indirect_quadrant1
Could not find AOV with source specular_indirect_quadrant1 and filter variance_filter
Could not find variance for AOV "specular_indirect_quadrant1", skipping denoise.
Denoising specular_indirect_quadrant2
Could not find AOV with source specular_indirect_quadrant2 and filter variance_filter
Could not find variance for AOV "specular_indirect_quadrant2", skipping denoise.
Denoising specular_indirect_quadrant3
Could not find AOV with source specular_indirect_quadrant3 and filter variance_filter
Could not find variance for AOV "specular_indirect_quadrant3", skipping denoise.
Denoising specular_indirect_quadrant4
Could not find AOV with source specular_indirect_quadrant4 and filter variance_filter
Could not find variance for AOV "specular_indirect_quadrant4", skipping denoise.
Finished denoising
Saving image E:\Test\Arnold AOV Test Denoiser\Support\Output2_denoised.exr (1280 x 720 x 80)
Denoising image done in 00:00:32,123

==================
Denoising 1 image completed in 00:00:32,123


All Over


-variance not found

-Could not find AOV with source ...... and filter variance_filter

Message 7 of 14

It's a limitation right now in the plugin as I described below, only the beauty can be denoised at the moment. I'm planning to address this in a next release.

Message 8 of 14

beauty and light group AOVs ?



// Stephen Blair
// Arnold Renderer Support
Message 9 of 14

Yes, correct, beauty and light groups.

Message 10 of 14
Anonymous
in reply to: info9DDWD

Encountered thesame problem, the error here is with the filter option in the AOV, I found out that if I want to denoise the other AOVs I will have to set the filter option for all of them to 'variance'.

It worked after that.

just very annoyingly expensive to find out after 40hours of rendering.

Message 11 of 14
peter.horvath6V6K3
in reply to: Anonymous

Not in C4DtoA, right?

Since C4DtoA 3.2.1 the variance filter is automatically exported to all non-beauty AOVs assigned to the denoiser EXR driver.

Also we have released a new Arnold denoiser (noice) imager in Arnold 6.2 / C4DtoA 3.3.0, which should work fine on non-beauty AOVs in single frame renders.

Message 12 of 14
danthompson616
in reply to: info9DDWD

In Maya 2022 (in GPU mode) the variance filter AOV output drivers don't appear to write out to the exr. You can verify this by adding a view meta data node in nuke on the exr. If you compare the meta data to another exr that was rendered from arnold with CPU instead of GPU you will see the differences. I'm hoping Autodesk will fix this soon 😞

Message 13 of 14

The original issue was related to C4DtoA and was fixed. Could you please open a new question of this new issue under the MtoA section, so it's not gonna be overlooked? Thanks.
Message 14 of 14

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

Post to forums  

Autodesk Design & Make Report