--- a/ccdemos/realtime_bunny.cc Wed Dec 12 19:59:19 2007 +0100
+++ b/ccdemos/realtime_bunny.cc Thu Dec 13 00:08:11 2007 +0100
@@ -30,7 +30,6 @@
while (token != "end_header")
{
f >> token;
- cout << token << endl;
if (token == "element")
{
f >> token;
@@ -146,7 +145,7 @@
render_buffer = (Float *) malloc(w*h*3*sizeof(Float));
rt.setThreads(2);
- rt.setMaxDepth(3);
+ rt.setMaxDepth(0);
Octree top;
rt.setTop(&top);
@@ -160,13 +159,13 @@
//rt.addlight(&light2);
Material mat(Colour(0.9, 0.9, 0.9));
- load_ply("../models/bunny/bun_zipper_res4.ply", &mat, 29);
+ load_ply("../models/bunny/bun_zipper.ply", &mat, 29);
rt.setCamera(&cam);
cam.setEye(Vector3(0,0,10));
/* build kd-tree */
- top.setMaxDepth(3);
+ top.setMaxDepth(8);
top.optimize();
/* loop... */