reinsteam / Unity-PhaseSampling

Unity-based example. Demonstrates placement of samples according to phase function PDFs using Spherical Fibonacci and random point sets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importance Sampling according to Rayleigh phase function PDF

Screenshots

  • Figures on images in the left column has two times fewer samples than the ones in the right column
  • Figures in bottom rows of all images are generated using Spherical Fibonacci point set.
  • Figures in upper rows are generated using completely random number (Random.Range).

Side by side comparison of samples location

  • Figures in right columns are generated according to Rayleigh PDF. Bluish colour of samples means that sample deviates more from the corresponding sample (green one) generated using uniform distribution.

Overlayed comparison of samples location

  • Illustrates connections between samples generated using Uniform distributing and samples generated according to Rayleigh phase function PDF.

About

Unity-based example. Demonstrates placement of samples according to phase function PDFs using Spherical Fibonacci and random point sets


Languages

Language:C# 100.0%