Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2253 - trunk/Engine/Renderers


Chronological Thread 
  • From: "Thiago Ize" <thiago@sci.utah.edu>
  • To: manta@sci.utah.edu
  • Subject: [Manta] r2253 - trunk/Engine/Renderers
  • Date: Tue, 6 May 2008 12:20:32 -0600 (MDT)

Author: thiago
Date: Tue May  6 12:20:32 2008
New Revision: 2253

Modified:
   trunk/Engine/Renderers/KajiyaPathtracer.cc
Log:
Set pathtracer to use the depth set by the maxdepth parameter. If you
want to modify the depth, just use the --maxdepth cmd line argument or
hit 'd' and 'D' to modify it interactively.


Modified: trunk/Engine/Renderers/KajiyaPathtracer.cc
==============================================================================
--- trunk/Engine/Renderers/KajiyaPathtracer.cc  (original)
+++ trunk/Engine/Renderers/KajiyaPathtracer.cc  Tue May  6 12:20:32 2008
@@ -34,14 +34,16 @@
   // Full sort on materials
   matlsort_mode.push_back(MatlSortBackgroundSweep);
   matlsort_mode.push_back(MatlSortSweep);
-  matlsort_mode.push_back(MatlSortFull);
+  
+  //Note (thiago): For now it seems to be faster not to do the full
+  //sort. At least for the scenes I've tested.
+  //matlsort_mode.push_back(MatlSortFull);
 
   // Do RR only after the first bounce
   russian_roulette_mode.push_back(RussianRouletteNone);
   russian_roulette_mode.push_back(RussianRouletteFull);
 
   do_ambient_on_maxdepth = true;
-  override_maxdepth = 2;
 }
 
 KajiyaPathtracer::~KajiyaPathtracer()




  • [Manta] r2253 - trunk/Engine/Renderers, Thiago Ize, 05/06/2008

Archive powered by MHonArc 2.6.16.

Top of page