Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2337 - in trunk: Model/Materials scenes


Chronological Thread 
  • From:
  • To:
  • Subject: [Manta] r2337 - in trunk: Model/Materials scenes
  • Date: Wed, 22 Oct 2008 10:30:33 -0600 (MDT)

Author: brownlee
Date: Wed Oct 22 10:30:32 2008
New Revision: 2337

Modified:
   trunk/Model/Materials/Volume.cc
   trunk/scenes/volumeTest.cc
Log:
also forgot scene file, silencing a warning I missed in volume.cc

Modified: trunk/Model/Materials/Volume.cc
==============================================================================
--- trunk/Model/Materials/Volume.cc     (original)
+++ trunk/Model/Materials/Volume.cc     Wed Oct 22 10:30:32 2008
@@ -333,7 +333,7 @@
     }
 
     course_hash = new_course_hash;
-    size_t num_bits = sizeof(course_hash)*8;
+    //size_t num_bits = sizeof(course_hash)*8;
     //  for(size_t i = 0; i < num_bits; i++)
     // if (course_hash & ( 1ULL << i ))
     // cout << 1;

Modified: trunk/scenes/volumeTest.cc
==============================================================================
--- trunk/scenes/volumeTest.cc  (original)
+++ trunk/scenes/volumeTest.cc  Wed Oct 22 10:30:32 2008
@@ -229,11 +229,11 @@
 
 
 cMap->scaleAlphas(t_inc);
- Volume<float>* mat = new Volume<float>(loadNRRDToGrid<float>(volFile), 
cMap, BBox(minBound, maxBound), t_inc, depth, dataMin, dataMax);
+ Volume<float>* mat = new Volume<float>(loadNRRDToGrid<float>(volFile), 
cMap, BBox(minBound, maxBound), t_inc, depth, NULL, dataMin, dataMax);
         //double min, max;
         //mat->getMinMax(&min, &max);
         //cmap2->setMinMax(min, max);
-        Primitive* prim = new Cube(mat, minBound, maxBound);
+        Primitive* prim = new Cube(mat, Vector(-1,-1,-1), Vector(1,1,1));
         group->add(prim);
 
 


  • [Manta] r2337 - in trunk: Model/Materials scenes, brownlee, 10/22/2008

Archive powered by MHonArc 2.6.16.

Top of page