I'm trying to use a FRAME_BUFFER_OBJECT render target implementation to render
to a texture and then perform post processing. It works, but I would like to
toggle the post processing on/off. If I set the render target implementation
back to FRAME_BUFFER, it does not work because the camera doesn't get
reinitialized with runCameraSetUp in RenderStage. If I check for a change in
the implementation and make the call to runCameraSetUp, then it works at first
and then after a few toggles neither implementation works.
I found where others with a similar problem were told to set the rendering
cache to NULL. I tried that with set RenderingCache, but it did not cause
runCameraSetup to run.
Is there something else I need to do?
Ken
_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org