Hello,
I am a little bit frustrated. I want to render my scene into a texture and map
this on a plane. After that, I render the plane with an orthogonal camera. My
scene use shadows (standard shadow map) and I use callbacks. My current scene
graph looks like the follow example:
[viewer] <-- slave [rttCam]
| |
[rootNode] [MyScene] <-- Callbacks doesn't work.
|
[orthoCam]
|
[texturedPlane]
I tried another setup few days ago:
[viewer]
/ \
[rootNode] [rttCam] <-- nested cam
| |
[orthoCam] [MyScene] <-- Shadows doesn't work.
|
[texturedPlane]
I tink this is not a special problem and my be my basic understanding is wrong
(or bad) about post process effects in the scene graph. What is a good scene
graph structure, if I want to render a scene in a texture and want to do some
effects (motion blur, depth of field or tone mapping)?
Is there a basic rule or concept?
Thank you very much.
Martin
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org