[osg-submissions] osgShadow softShadowMap

Robert Osfield robert.osfield at gmail.com
Sun Aug 12 04:57:29 PDT 2007


Thanks Bruno,

osgShadown::SoftShadowMap now merged and submitted to SVN.

I also added support into osgshadow for SoftShadowMap, jut use the
--ssm option i.e.

  osgshadow --base cow.osg --ssm

BTW, I didn't allow your post to go on osg-users as is as it was over
a 1Mb, and that  would entail a huge amount of bandwidth when you
consider the number of users that are subscribed to osg-users.  Could
you compress the images and then post again.

Cheers,
Robert.

On 8/10/07, Bruno Herbelin <bh at aaue.dk> wrote:
> Hello
>
> I have adapted to osgShadow the soft shadow map technique described in
> "Efficient Soft-Edged Shadows Using Pixel Shader Branching" by Yury Uralsky,
> Chapter 17 of GPU Gems 2 (Matt Pharr ed. Addison-Wesley).
>
> Here is my code in attachment: basically, it works in the same way as
> osgShadow/ShadowMap (core code is copied from it) but implements a specific
> GLSL shader for the soft rendering of penumbra.
>
> I have tested it under Linux with a NVidia graphic card, but there should be
> no dependency on platform nor on the graphics driver (as far as they support
> GLSL 2). Screenshots attached show the current results (frame rate bound to
> v-sync, but the shader takes actually not much time).
>
> I think this could be integrated in osg as an extra shadow technique.
>
> Best regards
> Bruno
>
> --
> Bruno Herbelin Ph.D.
> Assistant Professor
>
> Sensorama Laboratory
> Aalborg University Esbjerg
> Niels bohrs Vej 8, 6700 Esbjerg
> +45 79 12 77 26
>
> http://aaue.dk/~bh
> http://sensoramalab.aaue.dk/
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
>


More information about the osg-submissions mailing list