Hello Robert. Thanks for your quick reply!
We´ll try to solve this problem ourselves then. Regards. Jesús. 2014-09-22 11:37 GMT+02:00 Robert Osfield <robert.osfi...@gmail.com>: > HI Jesus, > > osgVolume doesn't yet support multiple over-lapping volumes. > > To handle multiple intersecting volumes one will have to have the > osgVolume rendering back end and shaders handle both volumes at the same > time where the volumes overlap and separately handle the areas where only > one volume has influence. > > Robert. > > On 22 September 2014 10:29, Jesús Zarzoso <jesus.zarz...@mirage-tech.com> > wrote: > >> Hello. >> >> We are using osgVolume in our latest project. It is working perfectly as >> long as we don´t try to render more than one volume in the same view, and >> those volumes intersect with each other. In this case, we are having what >> it looks as depth problems. Please look at the attached images. >> First of all, is this case supported by the OsgVolume library? >> >> We are using the MultipassTechnique, so, at the root of the graph, there >> is a VolumeScene node. Then, some levels below, each volume is created as >> an individual Volume node, with its corresponding VolumeTile, ImageLayer >> and their Locators. We have tried also using a unique Volume node and >> creating multiple VolumeTiles, but with the same result. >> >> Regarding the properties set to the layers, we are using this code: >> >> osgVolume::AlphaFuncProperty* ap = new >>>> osgVolume::AlphaFuncProperty(0.02f); >>> >>> osgVolume::SampleDensityProperty* sd = new >>>> osgVolume::SampleDensityProperty(0.001); >>> >>> osgVolume::SampleDensityWhenMovingProperty* sdwm = new >>>> osgVolume::SampleDensityWhenMovingProperty(0.002); >>> >>> >> >> The OSG version is the Developer Release 3.3.2.on Windows 7 64 bit. >> >> Any clue why this is happening? >> >> Thank you. >> Jesús. >> >> -- >> Jesús Zarzoso <jesus.zarz...@mirage-tech.com> >> Mirage Technologies S.L >> http://www.mirage-tech.com >> >> _______________________________________________ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Jesús Zarzoso <jesus.zarz...@mirage-tech.com> Mirage Technologies S.L http://www.mirage-tech.com
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org