I'm posting here my findings using the denoiser with 3ds Max images. It could be nice to write a script for this in Max, similar to the provided one in Maya.
*) You need to render two images of your scene, with different DMC seeds. You can change the DMC seed using the following MaxScript command:
where N is the random seed. I used 0 and 1234 in my tests. The images can be really noisy.
*) Altus can work with just the two RGB images. However having a few extra elements help to define the results better: VRayBumpNormals, VRayMatteShadow, VRayDiffuseFilter. Technically a world position pass is also needed, but I haven't figured out what exactly this is (i.e. in world space or camera space).
*) I used the "separate render channels" option of the V-Ray VFB to save the image and the render elements.
*) I used a command line similar to the following:
In this first test, both images took about 1m 17s each with progressive sampler. The denoised image looks a bit brighter and somehow shifted with one pixel. Denoising took 40 seconds (not sure if that was CPU or OpenCL). But I guess not too bad for a total of 3 minutes.
Best regards,
Vlado
*) You need to render two images of your scene, with different DMC seeds. You can change the DMC seed using the following MaxScript command:
Code:
renderers.current.dmc_randomSeed=N
*) Altus can work with just the two RGB images. However having a few extra elements help to define the results better: VRayBumpNormals, VRayMatteShadow, VRayDiffuseFilter. Technically a world position pass is also needed, but I haven't figured out what exactly this is (i.e. in world space or camera space).
*) I used the "separate render channels" option of the V-Ray VFB to save the image and the render elements.
*) I used a command line similar to the following:
Code:
altus -r 10 -i "altus_test" -o "d:\temp" -b "d:\temp\altus_tests\sun_sky_b0.RGB_color.0139.exr" -b "d:\temp\altus_tests\sun_sky_b1.RGB_color.0139.exr" -a "d:\temp\altus_tests\sun_sky_b0.VRayDiffuseFilter.0139.exr" -a "d:\temp\altus_tests\sun_sky_b1.VRayDiffuseFilter.0139.exr" -n "d:\temp\altus_tests\sun_sky_b0.VRayBumpNormals.0139.exr" -n "d:\temp\altus_tests\sun_sky_b1.VRayBumpNormals.0139.exr" -v "d:\temp\altus_tests\sun_sky_b0.VRayMatteShadow.0139.exr" -v "d:\temp\altus_tests\sun_sky_b1.VRayMatteShadow.0139.exr"
Best regards,
Vlado
Comment