Assignment 2 Lazy KD-Tree

Kurt Berglund

Date submitted: 26 Apr 2006

Code emailed: 26 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)

16.9

%

total time (secs)

26.6

%

Num of nodes made

2.754M

%

Triangle ray intersections

673.2k

%

"killeroos-view2.pbrt (Killeroos invisible)"

KD Tree

Lazy KD Tree

Ratio

build time (secs)

16.9

%

total time (secs)

24.9

%

Num of nodes made

2.754M

%

Triangle ray intersections

758.4k

%

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

KD Tree

Lazy KD Tree

Ratio

build time (secs)

16.9

%

total time (secs)

10.3

%

Num of nodes made

2.754M

%

Triangle ray intersections

644.2k

%

"plants-view1.pbrt"

KD Tree

Lazy KD Tree

Ratio

build time (secs)

42.9

%

total time (secs)

422.9

%

Num of nodes made

14.838M

%

Triangle ray intersections

20.264M

%

"plants-view2.pbrt"

KD Tree

Lazy KD Tree

Ratio

build time (secs)

43.1

%

total time (secs)

663.6

%

Num of nodes made

14.838M

%

Triangle ray intersections

25.887M

%