Skip to content

Commit

Permalink
More comparisons on simple scenes with envmaps and dielectrics
Browse files Browse the repository at this point in the history
  • Loading branch information
tizian committed Aug 14, 2022
1 parent a327fdf commit 38e18e4
Show file tree
Hide file tree
Showing 10 changed files with 1,504 additions and 25 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ __pycache__

# Results
results/.ipynb_checkpoints
results/estimator_comparison_simple
results/estimator_comparison_vmf_conductor
results/estimator_comparison_vmf_dielectric
results/estimator_comparison_envmap_conductor
results/estimator_comparison_envmap_dielectric
results/estimator_comparison_optimization
results/estimator_comparison_attached_reparam
results/estimator_comparison_veach
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ The `results` directory contains a set of Jupyter notebooks that reproduce some
- Parameter-dependent discontinuities from moving geometry.
- Parameter-dependent discontinuities from static geometry in presence of attached sampling strategies.

3. **Estimator comparison (simple)**
3. **Estimator comparison (vMF conductor)**

Forward and reverse mode differentiation of a simple microfacet material's roughness parameter. Compares a long list of differential estimators:
Forward and reverse mode differentiation of a rough conductor roughness
parameter in a simple test scene with a vMF emitter.
Compares a long list of differential estimators:
- Detached emitter sampling
- Detached BSDF sampling
- Attached BSDF sampling
Expand All @@ -40,22 +42,34 @@ The `results` directory contains a set of Jupyter notebooks that reproduce some
- Detached BSDF sampling using the differential microfacet sampling strategy
- Detached MIS weights, detached differential microfacet BSDF sampling, detached emitter sampling

4. **Estimator comparison (roughness optimization)**
4. **Estimator comparison (vMF dielectric)**

Same as (3) but with a rough dielectric material instead.

5. **Estimator comparison (envmap conductor)**

Same as (3) but with an environment emitter instead of the vMF.

6. **Estimator comparison (envmap dielectric)**

Same as (5) but with a rough dielectric material instead.

7. **Estimator comparison (roughness optimization)**

A simple gradient based optimization recovering a roughness texture from a given reference rendering. Compares three different BSDF sampling techniques under two different illumination conditions. (Similar to Figure 12 from the paper):

- Detached BSDF sampling
- Attached BSDF sampling
- Detached BSDF sampling using the differential microfacet sampling strategy

5. **Estimator comparison (Veach)**
8. **Estimator comparison (Veach)**

Reproduces the (forward mode) gradient images of the classical Veach test scene from Figure 11 in the paper. Compared to the simpler test scenes above, this scene contains (static) visibility discontinuities that causes naïve attached estimators to be biased. In addition to the previously listed estimators, two additional ones involving reparameterized attached sampling are used:

- Reparameterized attached BSDF sampling
- Attached MIS weights, reparameterized attached BSDF sampling, detached emitter sampling

6. **Estimator comparison (attached reparameterized)**
9. **Estimator comparison (attached reparameterized)**

Again illustrates the bias of attached BSDF sampling in presence of static visibility discontinuities, this time visualizing parameter gradient textures produced by reverse mode differentiation. Based on Figure 10 of the paper.

Expand Down
Loading

0 comments on commit 38e18e4

Please sign in to comment.