Skip to content

Commit

Permalink
Extend denoising documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
StuckiSimon committed Aug 24, 2024
1 parent 4d1dfa2 commit dc9fff1
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import TracerExperiment from "@site/src/components/TracerExperiment";

# Denoising

Denoising can be used as a final step to reduce undesired artifacts in the rendering.
Expand Down Expand Up @@ -29,6 +31,25 @@ runPathTracer(target, model, {
});
```

- `sigma` is the standard deviation of the Gaussian kernel.
- `kSigma` is the kernel size multiplier.
- `threshold` is the edge sharpening threshold for the denoising.

<TracerExperiment
propertiesForConfiguration={[]}
defaultMaterialProperties={{
oBaseColor: [0.7, 0.7, 0.7],
oBaseMetalness: 1.0,
}}
optionOverrides={{
targetSamples: 0,
}}
/>

:::note
The example does few samples to emphasize the denoising effect.
:::

### OIDN

[Open Image Denoise](https://github.com/RenderKit/oidn) is a denoise library which uses machine learning techniques to reduce noise. To configure it, you must provide a URL to a weight file. One option is: [oidn-weights on GitHub.com](https://github.com/RenderKit/oidn-weights/blob/master/rt_hdr_alb_nrm.tza).
Expand Down

0 comments on commit dc9fff1

Please sign in to comment.