Denoising with Cycles API


I am using below settings to perform denoising but it looks like it is not working. Do I need to do anything else? Like added any passes to BufferParams or something?

Thanks in advance.

  session_params->run_denoising = true;
  session_params->denoising_start_sample = 10;
  session_params->full_denoising = true;
  session_params->optix_denoising = false;


Someone answer this please.

Hi @brecht,

Please help me.
Thanks in advance.

I think, the below two things should also be set to true

film->denoising_data_pass = true;
tile_manager->schedule_denoising = true;

I could finally do it. Thank you