[osg-users] Parallel Split Shadow Map (Update)

Adrian Egli OpenSceneGraph (3D) 3dhelp at gmail.com
Wed May 28 08:14:23 PDT 2008


Hi Robert,

can you might post a screenshot of your terrain running with PSSM?
one trick would be to limit the frustum with the option --maxFarDist 250 for
250meter.
this will help to win performance, because we just render a smaller scene,
and the shadow quality become better. i guess we don't need to shadow a
whole terrain, only a sub-scene close enough to the camera.

/adrian

2008/5/28 Robert Osfield <robert.osfield at gmail.com>:

> Thanks Adrian, changes now merged and submitted.  Could you please
> check what I have checked in matches your latest.
>
> A couple of general comments - the chess.ive looks great with the new
> updates PSSM, but for town models I have things only work OK when
> looking near to straight down and close to the ground, looking along
> the ground the results are extremely shaky and unusable.
>
> Robert.
>
> On Fri, May 23, 2008 at 8:11 AM, Adrian Egli OpenSceneGraph (3D)
> <3dhelp at gmail.com> wrote:
> > Latest Version to Test, i tested this on:
> >
> > ATI X1600 M : Windows Vista
> >
> > osgshadow --pssm --SingleThreaded --screen 0 -3
> >
> >
> > 2008/5/21 Adrian Egli OpenSceneGraph (3D) <3dhelp at gmail.com>:
> >>
> >> Hi all again,
> >>
> >> now i came from ATI X1600M test, same artifact as you described, small
> >> shadowed line. i will try to figure out where it comes from. i guess we
> have
> >> to set another polygonoffset. 0.5,0.5 is may not as good as it seams to
> be.
> >> may -0.5,-0.5 or -1.0,-1.0 will work for ATI and NVidia. please check
> this
> >> with the option
> >> for polygonoffset and tell me what is a good offset.
> >>
> >> thanks adrian
> >>
> >> 2008/5/21 Ralph Kern <usenet04 at rk-se.de>:
> >>>
> >>> Adrian Egli OpenSceneGraph (3D) schrieb:
> >>>>
> >>>> Hi all,
> >>>>
> >>>> i still come around with some changes. :-) now the near - far clip
> plane
> >>>> are more optimized, but i hope it's shows still correct shadows for
> all of
> >>>> your test cases.
> >>>>
> >>>> Its updated with latest PSSM version (from this morning,MEZ)
> >>>>
> >>>>
> http://webaddon3d.assoftware.ch/AE/PSSM_SHADOW_TEST_OpenSceneGraph_WIN32.rar
> >>>> (use the demo.bat)
> >>>>
> >>>> and in the attachement you will find the latest source.
> >>>>
> >>>> test....
> >>>> osgshadow --pssm --SingleThreaded  --no-base-texture
> >>>>
> >>>>
> >>>
> >>> just checked again. I removed the other two REM's on PATH and
> >>> LIBRARY_PATH to get the program running.
> >>>
> >>> Works on WinXP SP2 GeForce FX5700, but slow frame rate (2.3 fps).
> >>>
> >>> On WinXP SP2 ATI X1600 dual monitor the park scenes run fine using
> screen
> >>> 0 with 70 fps. There is a small lit line (< 1 pix wide) around the
> buildings
> >>> like a self shadow offset which is to large. Chess scene is still
> entirely
> >>> black.
> >>>
> >>> regards Ralph
> >>>
> >>> _______________________________________________
> >>> osg-users mailing list
> >>> osg-users at lists.openscenegraph.org
> >>>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >>
> >>
> >>
> >> --
> >> ********************************************
> >> Adrian Egli
> >
> >
> > --
> > ********************************************
> > Adrian Egli
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
********************************************
Adrian Egli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080528/4f31856e/attachment.htm>


More information about the osg-users mailing list