HI Clement, On 26 June 2012 00:15, <[email protected]> wrote: > If I extended the RayTracedTechnique and override the default VERTEX and > FRAGMENT glsl codes to replace my own glsl code, which will measure distance > along the ray. Are you talking about this case to overcome the aliasing > artifact ?
You could implement your own VolumeTechnique which subclasses from RayTrayTechnique or just directly from VolumeTechnique. The shaders will need to do the computation of the distances and sampling - the current shaders can be found in OpenSceneGraph-Data/shaders and also as source code in OpenSceneGraph/src/osgVolume/Shaders. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

