On Mon, Jul 2, 2012 at 10:51 AM, wang shuiying
<shuiying.w...@fu-berlin.de>wrote:

> Hello,
>
> The scene graph structure is as following:
> Nodes B and C are children of Transform Node A. Node A is attached to two
> camera nodes CamA and CamB(pre render).
> I want CamA to be able to render B and C, but CamB only B.  Is there a way
> to achieve that without using fragment shader with " if discard" ?
>

  This is what NodeMasks are for.


>
> http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/NodeMaskDemo


or if that's still not responding, try the Google cache version:

http://webcache.googleusercontent.com/search?q=cache:IpBLdKB5Zq4J:www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/NodeMaskDemo+&cd=1&hl=en&ct=clnk&gl=us

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to