Changeset 361 for experimental/distortionNG/DistortionSet.h
- Timestamp:
- Apr 22, 2012, 4:51:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/distortionNG/DistortionSet.h
r360 r361 61 61 osg::Switch* getDistortionInternals() { return _distortionInternals; } 62 62 63 63 osg::Shader* getShaderIntensityMap() { return shaderIntensityMap; } 64 void setShaderIntensityMap(osg::Shader* shader) { shaderIntensityMap = shader; } 65 osg::Shader* getShaderIntensityMapVis() { return shaderIntensityMapVis; } 66 void setShaderIntensityMapVis(osg::Shader* shader) { shaderIntensityMapVis = shader; } 64 67 65 68 … … 113 116 osg::observer_ptr<osg::Camera> _camera; // is used to pass the distortion cam from osgViewers setupDistortion() method to the manipulator. 114 117 osg::ref_ptr<osg::Switch> _distortionInternals; // definition: child #0 = mesh, #1 = highlighter, #2 HUD 118 119 osg::ref_ptr<osg::Shader> shaderIntensityMap; // used in 99%, it provides active intensity map blending 120 osg::ref_ptr<osg::Shader> shaderIntensityMapVis; // only used during setup process, this shaders discards the fragment color and only displays the intensitymapcolor to visualize the blendmap 115 121 }; 116 122
Note: See TracChangeset
for help on using the changeset viewer.