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

Robert Osfield robert.osfield at gmail.com
Mon Apr 2 10:38:54 PDT 2018


Hi Hartwig,

On 2 April 2018 at 14:45, Hartwig Wiesmann <hartwig.wiesmann at skywind.eu> wrote:
> I am using OSG 3.5.10 and trying to run the example osgshadow.cpp with the --sv (ShadowVolume) option. Unfortunately, no shadows are shown. All other techniques are showing shadows.
> Any ideas? Are there any known shortcomings with ShadowVolume?

Ouch, I've just reproduced the missing shadows with OSG master and 3.6
branch.  At this point I don't have any ideas.  I am really not sure
if I've tested this particular combination, must be quite a while if I
did...

I will look into it.  In general I wouldn't recommend using
ShadowVolumes as the computation of shadow volumes themselves is not a
trivial task for general purpose geometry, the image based shadow
technique are easier to get to work in more general scenes.

Robert.


More information about the osg-users mailing list