Text archives Help
- From: thiago@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r1751 - trunk/scenes
- Date: Mon, 1 Oct 2007 13:56:21 -0600 (MDT)
Author: thiago
Date: Mon Oct 1 13:56:21 2007
New Revision: 1751
Modified:
trunk/scenes/complexitytest.cc
Log:
scenes/complexitytest.cc:
-OK, now I really fixed the AS choosing. CGT works now.
Modified: trunk/scenes/complexitytest.cc
==============================================================================
--- trunk/scenes/complexitytest.cc (original)
+++ trunk/scenes/complexitytest.cc Mon Oct 1 13:56:21 2007
@@ -95,11 +95,11 @@
AccelerationStructure* getAS(string type)
{
- if(type == "-DynBVH")
+ if(type == "DynBVH")
return new DynBVH();
#ifdef USE_PRIVATE_CODE
- if(type == "-CGT")
+ if(type == "CGT")
return new Grid();
#endif
@@ -256,6 +256,7 @@
Vector(0,1,0)));
AccelerationStructure* as = getAS(acc_struct);
as->setGroup(group);
+ as->rebuild();
scene->setObject(as);
LightSet* lights = new LightSet();
- [Manta] r1751 - trunk/scenes, thiago, 10/01/2007
Archive powered by MHonArc 2.6.16.