Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] r2042 - trunk/scenes


Chronological Thread 
  • From: Solomon Boulos <boulos@cs.utah.edu>
  • To: Thiago Ize <thiago@sci.utah.edu>
  • Cc: "manta@sci.utah.edu" <manta@sci.utah.edu>
  • Subject: Re: [Manta] r2042 - trunk/scenes
  • Date: Thu, 7 Feb 2008 12:09:17 -0800

Dang I thought I checked that. Why dont the kdtree and grid act more like the BVH and build during preprocess if needed?




On Feb 7, 2008, at 11:51 AM, "Thiago Ize" <thiago@sci.utah.edu> wrote:

Author: thiago
Date: Thu Feb  7 12:51:08 2008
New Revision: 2042

Modified:
  trunk/scenes/triangleSceneViewer.cc
Log:
fixing kdtree and CGT not working after the previous commit.

Modified: trunk/scenes/triangleSceneViewer.cc
=== === === =====================================================================
--- trunk/scenes/triangleSceneViewer.cc    (original)
+++ trunk/scenes/triangleSceneViewer.cc    Thu Feb  7 12:51:08 2008
@@ -175,6 +175,7 @@
    // the animation class.
Mesh* singleFrame = LoadModel(fileNames[0], triangleType, useFaceNormals, interpolateNormals);
    as->setGroup(singleFrame);
+    as->rebuild();
    group->add(as);
  }






Archive powered by MHonArc 2.6.16.

Top of page