Skip to content

June 19th June 23rd

Petra Gospodnetic edited this page Jun 26, 2017 · 3 revisions

Last week results

CDF sample

CDF sample

LightTree sample

LightTree sample


  • Fixed the tree middle partitioner to produce a balanced tree

LightTree

LightTree with balanced MiddlePartitioner

LightTree

LightTree converging

  • Added the `inverse_distance_falloff again into the probability calculation

LT

probability = m_node_energy * inverse_distance_falloff * inverse_surface_area;

LT

Converging

LT

probability = m_node_energy * inverse_distance_falloff

LT

Converging


CDF

CDF at 16 samples per pixel and diffuse bounce set to 0

Comparison of different partitioners at 16 samples per pixel and diffuse bounce set to 0

Middle

MiddlePartitioner

Mean

MeanPartitioner

SAH

SAHPartitioner


  • Fixed a bug when calculating node energy (only the red component was used)
  • Compared use of luminance for node energy value to luminance approximation (spectrum average)
    • luminance produces slightly less noise in blue area (we can ignore it for now)

Luminance

Luminance

Luminance approximation

Luminance approximation

  • Fixed distance falloff bug - distance between the sampling point and the bbox was squared twice

Rendering results for the 4 colored lights test scene:

16sppx

1 sppx

Converging

Converging


CDF reference

1sppx

1sppx

Converging

Converging

Rendering results for the 3 white point lights test scene:

1sppx

1sppx

16sppx

16sppx

Converging

Converging


CDF reference

1sppx

1sppx

16sppx

16sppx

Converging

Converging


  • Created unit tests for MiddlePartitioner

    • in 2d with ASCII graphics
  • Tested for more than 2 lights

    • fireflies occur due to probability being evaluated only based on the distance of the light
    • sampling artifacts appear for samples in between two lights of the same intensity
  • Nathan produced test images with probability being evaluated only based on the distance of the light - it doesn't produce a bug

10spp 10spp

1spp 1spp

  • Visualized LightTree structure using VPython

    • found a minor bug when defining NLS volume box (AABB constructor arguments min and max were switched)
  • Determined that tree structure looks good and probability calculations seem to be calculated as expected.