Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2150 - trunk/Model/Groups


Chronological Thread 
  • From: "Thiago Ize" <thiago@sci.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2150 - trunk/Model/Groups
  • Date: Wed, 26 Mar 2008 16:31:22 -0600 (MDT)

Author: thiago
Date: Wed Mar 26 16:31:22 2008
New Revision: 2150

Modified:
   trunk/Model/Groups/RecursiveGrid.cc
Log:
mesh wasn't being set for child grids. Now the recursive grid is even
faster (for meshes). In my test scene, the recursive grid is several
times faster than DynBVH for pathtracing.

Modified: trunk/Model/Groups/RecursiveGrid.cc
==============================================================================
--- trunk/Model/Groups/RecursiveGrid.cc (original)
+++ trunk/Model/Groups/RecursiveGrid.cc Wed Mar 26 16:31:22 2008
@@ -461,6 +461,7 @@
           cellBounds.intersection(objBounds);
 
           RecursiveGrid *gg = new RecursiveGrid(numLevels);
+          gg->mesh = mesh;
           gg->build(context, cell_objects(x,y,z), cellBounds, depth+1, 
totalObjects);
           int start = cells(x, y, z);
           lists[start] = gg;




  • [Manta] r2150 - trunk/Model/Groups, Thiago Ize, 03/26/2008

Archive powered by MHonArc 2.6.16.

Top of page