Assignment 2 Lazy KD-Tree

Paul Tarjan

Date submitted: 25 Apr 2006

Code emailed: 25 Apr 2006

Description of implementation approach and comments

Final Images Rendered with my implementation of lz-kdtree.cpp

killeroos-view1.pbrt (Killeroos visible)

KD Tree

Lazy KD Tree

Ratio

build time (secs)

36.3

%

total time (secs)

36.4

%

Num of nodes made

2.752M

%

Triangle ray intersections

673.2k

%

"killeroos-view2.pbrt (Killeroos invisible)"

KD Tree

Lazy KD Tree

Ratio

build time (secs)

36.6

%

total time (secs)

30.9

%

Num of nodes made

2.752M

%

Triangle ray intersections

758.4k

%

"killeroos-view3.pbrt (close-up)"

KD Tree

Lazy KD Tree

Ratio

build time (secs)

36.7

%

total time (secs)

40.0

%

Num of nodes made

2.752M

%

Triangle ray intersections

644.1k

%

"plants-view1.pbrt"

KD Tree

Lazy KD Tree

Ratio

build time (secs)

%

total time (secs)

%

Num of nodes made

%

Triangle ray intersections

%

"plants-view2.pbrt"

KD Tree

Lazy KD Tree

Ratio

build time (secs)

%

total time (secs)

%

Num of nodes made

%

Triangle ray intersections

%