Assignment 2 Lazy KD-Tree

Julie Tung

Date submitted: 26 Apr 2006

Code emailed: 26 Apr 2006

Description of implementation approach and comments

Final Images Rendered with my implementation of heightfield.cpp

killeroos-view1.pbrt (Killeroos visible)

blank400x400

KD Tree

Lazy KD Tree

Ratio

build time (secs)

19.8

0.0

%

total time (secs)

11.1

28.0

%

Num of nodes made

2.754M

1359.9k

%

Triangle ray intersections

673.2k

826.8k

%

"killeroos-view2.pbrt (Killeroos invisible)"

blank400x400

KD Tree

Lazy KD Tree

Ratio

build time (secs)

19.1

0.0

%

total time (secs)

9.1

9.9

%

Num of nodes made

2.754M

47

%

Triangle ray intersections

758.4k

776.1k

%

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

blank400x400

KD Tree

Lazy KD Tree

Ratio

build time (secs)

20.1

0.0

%

total time (secs)

12.1

20.6

%

Num of nodes made

2.754M

373.2k

%

Triangle ray intersections

644.2k

1.018M

%

"plants-view1.pbrt"

blank700x400

KD Tree

Lazy KD Tree

Ratio

build time (secs)

49.9

0.0

%

total time (secs)

443.9

844.6

%

Num of nodes made

14.838M

4.044M

%

Triangle ray intersections

20.264M

27.614M

%

"plants-view2.pbrt"

blank700x400

KD Tree

Lazy KD Tree

Ratio

build time (secs)

49.8

0.0

%

total time (secs)

734.5

1511.7

%

Num of nodes made

14.838M

5.157M

%

Triangle ray intersections

25.894M

31.217M

%