[osg-users] osgshadow.cpp option --sv (ShadowVolume) not working

Robert Osfield robert.osfield at gmail.com
Tue Apr 3 04:05:57 PDT 2018

Hi Hartwig et, al.

On 3 April 2018 at 07:14, Robert Osfield <robert.osfield at gmail.com> wrote:
> The main changes to ShadowVolume will likely have been part of the
> CoverityScan issue fixing sessions, perhaps a "fix" actually broke
> things.

I dug pretty deep into the ShadowVolume code, and even tried almost
identical code between 3.4 and 3.6 and could get the later to work.  I
didn't get to the bottom of the regression but started to look like it
might be related to the custom way that ShadwVolume was passing
geometry data to the GPU, this was being done a way that isn't
compatible with GLES or GL3 core profile so would require a rewrite to
do it properly.

However, osgShadow::ShadowVolume never worked well anyway, and never
worked well enough for general usage so I have decided rather than
spend time investigating and patch a feature that won't ever likely
work well it's better to just remove this feature from the OSG master
and 3.6 branch.  I have now checked in the removal of
osgShadow::ShadowVolume from the master and the 3.6 branch.


More information about the osg-users mailing list