[osg-users] problems getting shadow demo to work

Robert Osfield robert.osfield at gmail.com
Mon Feb 20 01:13:23 PST 2017


Hi Lee,

I don't recall others reporting problems with osgshadow on Intel and
AMD, or NVidia only working in once case, at this stage I don't have
any ideas what might be going wrong.

There a number of different shadow techniques implemented by osgShadow
NodeKit and demonstrated by osgshadow.  Could you test out:

   // ShadowTexture
   osgshadow --st

   // StandadrdShadowMap
   osgshadow --stsm

    // ParallelSplitShadowMap
    osgshadow --pssm

    // SoftShadowMpa
    osgshadow --ssm

    // ViewDependentShadowMap
    osgshadow --vdsm


Also could you try render to texture examples such as

    osgprerender

    osgprerendercubmemap


Finally shaders via:

     osgshaders

Which ones work and which ones don't might give us a clue what might be wrong,

What version of the OSG are you using and did you build it yourself?

Robert.



On 20 February 2017 at 03:59, Lee Butler <iraytrace at gmail.com> wrote:
> I am trying to get shadows to work.  Alas, the example code in
> examples/osgshadow run with no arguments only produces a blue background and
> black geometry.    I'm running on Windows 10 and I have 2 different
> machines, one with Intel HD 5500 graphics and one with a GTX770.  A number
> of the other OSG programs work fine.  On the machine with the NVIDIA card,
> if I explicitly request scene four with the "-4" option then shadows appear
> in that scene, but only that one.  Any hints on how to debug this would be
> most welcome.
>
> Lee
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list