Commit f33c5c41 authored by Michele Bosi's avatar Michele Bosi

App_Vivid update

parent fe23d240
......@@ -405,7 +405,7 @@ public:
tr2->setLocalAndWorldMatrix( vl::mat4::getTranslation(+50,0,0) );
#endif
#if 0
#if 1
// make points
{
ref< Geometry > points = makeIcosphere( mVividRendering->sceneManager()->tree()->aabb().center() + vec3( -50, 0, 25 ), 100, 3 );
......@@ -464,7 +464,7 @@ public:
volume_box.setMinCorner( volume_box_center - vec3(100,50,50) );
volume_box.setMaxCorner( volume_box_center + vec3(100,50,50) );
printf("%f %f %f\n", volume_box.width(), volume_box.height(), volume_box.depth() );
#if 0
#if 1
ref< Image > volume = vl::loadImage("/volume/BostonTeapot.dat");
mVividRendering->setupVolume( volume.get(), volume_box, NULL );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment