[osg-users] Shadows and osgRecipe

Anders Backman andersb at cs.umu.se
Wed Feb 24 11:00:43 PST 2016


Hi all.

Has anyone tested the EffectCompositor together with osgShadows?

My problem is, that as soon as I add a shadowed scene as a child of an
EffectCompositor, the shadows becomes all wrong.
It looks like the shadow light sources follows the camera, sort of.

The attached effect (asd.xml) is just a pass-through effect.

Other than this, is there any other good way of defining post-render
effects in OSG these days?
osgPPU seems to have fallen into sleep, and I cannot see any other good way
of constructing this.
The EffectCompositor really looks great. But...shadows does not work.

Anyone with insight into this?


/A
-- 
__________________________________________
Anders Backman, HPC2N
90187 Umeå University, Sweden
anders at cs.umu.se http://www.hpc2n.umu.se
Cell: +46-70-392 64 67
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/10e421b9/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EffectAnalysisHelper.cpp
Type: text/x-c++src
Size: 14136 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/10e421b9/attachment-0008.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EffectCompositor
Type: application/octet-stream
Size: 10551 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/10e421b9/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EffectCompositor.cpp
Type: text/x-c++src
Size: 17421 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/10e421b9/attachment-0009.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EffectCompositorXML.cpp
Type: text/x-c++src
Size: 47882 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/10e421b9/attachment-0010.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: effectViewer.cpp
Type: text/x-c++src
Size: 4669 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/10e421b9/attachment-0011.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asd.xml
Type: text/xml
Size: 1626 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/10e421b9/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.osgb
Type: application/octet-stream
Size: 39606 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160224/10e421b9/attachment-0005.obj>


More information about the osg-users mailing list