Show
Ignore:
Timestamp:
01/14/09 16:16:29 (6 years ago)
Author:
robert
Message:

Introduced osgVolume::Property, CompositePropery? and TransferFunctionPropety? classes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp

    r9491 r9494  
    22972297 
    22982298        osg::ref_ptr<osgVolume::Layer> layer = new osgVolume::ImageLayer(image_3d); 
    2299         layer->setTransferFunction(transferFunction.get()); 
     2299        layer->setProperty(new osgVolume::TransferFunctionProperty(transferFunction.get())); 
    23002300         
    23012301        if (matrix) 
     
    23062306        } 
    23072307         
    2308         tile->addLayer(layer.get()); 
     2308        tile->setLayer(layer.get()); 
    23092309         
    23102310        if (useShader)