Hi everyone, I'm now developing rendering software and need RTT and multi-pass rendering. A box in scene contains volume data to render. Here is volume rendering process: Pass 1: Render Scene with box front face render, to textureFront. Pass 2: Render Scene with box back face render, to textureBack. Pass 3: Subtract back face from front face to get textureRayLengh. Pass 4: Render box. So I need RTT and multi-pass rendering technology in OpenSceneGraph. My idea about this question is: use two PRE_RENDER camera to render textureFront, textureBack and one PRE_RENDER camera to render textureRayLength. And a regular camera to render the box. I've look into osgFX and found that could solve my problem by defining three passes for the first three passes, then a individual camera to finish the last job. And my question is is there a simple and fast way to do these? Please me a hand, thanks!
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

