[osg-users] Changes in osgVolume from 3.0 to 3.4
Robert Osfield
robert.osfield at gmail.com
Fri Feb 12 02:42:18 PST 2016
Hi Alex,
On 11 February 2016 at 20:47, Alex Taylor <alextaylor at gmail.com> wrote:
> Also, if it matters, I found that I can get the rendering I'd expect if I
> explicitly set the BlendFunc in the special case of Isosurface:
>
> if (volumeProperties.useIsosurface){
> stateset->setAttribute(new osg::BlendFunc(GL_ONE, GL_ZERO),
> osg::StateAttribute::ON);
> }
>
> I'm not sure why I need to do this in OSG 3.4 when I didn't in OSG 3.0,
> probably another issue with the viewer or something on my end.
>From the details above and the picture it looks to me that OSG-3.4 is
probably doing the right thing w.r.t the settings, such as alpha
settings, you are using and OSG-3.0 implementation was incorrect and
ignored these settings so you never saw this.
Check the alpha values settings that you have set up for the VolumeTile.
Robert.
More information about the osg-users
mailing list