Hi Alex, The osgVolume::MultipassTechnique supports mixing geometry with the volume and constraining to a convex hull geometry. This is what you should use instead of FixedFunctionTechnique, the only reason to use this now is that you've have completely hopeless hardware+drivers that are incapable of doing proper volume rendering.
Robert. On 23 May 2016 at 22:49, Alex Taylor <[email protected]> wrote: > Hey all, > > From previous posts, I understand clearly that FixedFunctionTechnique is the > worst of the osgVolume techniques in terms of both speed and quality of > results. > > However, due to some specific requirements of the application I'm trying to > build (need for clipping to a bounding box, need to insert other geometry > into scene) and limitations in the osgViewer in my environment (no support > for pre-cameras), FixedFunctionTechnique may be something I have to > consider. > > I was wondering, I understand that createNormalMapTexture is to allow for > lighting with FixedFunctionTechnique. What does one do with the resulting > array of normal vectors once you call createNormalMapTexture? Is there an > interface somewhere to pass the normals? How would one use > createNormalMapTexture to implement lighting when using > FixedFunctionTechnique? > > - Alex > > - > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

