Show
Ignore:
Timestamp:
09/03/09 15:40:50 (5 years ago)
Author:
robert
Message:

Renamed the osgVolume::Layer/ImageDetails parameters RescaleIntercept? and RescaleSlope? to more general TexelOffset? and TexelScale?, and changed type to Vec4.

Refactored the transfer function set up in RayTracedTechnique? to prepare for new scale and offset uniforms.

Updated wrappers

Files:
1 modified

Legend:

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

    r10564 r10565  
    13541354    if (details) 
    13551355    { 
    1356         layer->setRescaleIntercept(details->getRescaleIntercept()); 
    1357         layer->setRescaleSlope(details->getRescaleSlope()); 
     1356        layer->setTexelOffset(details->getTexelOffset()); 
     1357        layer->setTexelScale(details->getTexelScale()); 
    13581358    } 
    13591359