[osg-users] Help: Is there a way to hide a node from a camera?

2012-07-02 Thread wang shuiying
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

Re: [osg-users] Help: Is there a way to hide a node from a camera?

2012-07-02 Thread Chris Hanson
On Mon, Jul 2, 2012 at 10:51 AM, wang shuiying shuiying.w...@fu-berlin.dewrote: 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

Re: [osg-users] Help: Is there a way to hide a node from a camera?

2012-07-02 Thread Jan Ciger
On 07/02/2012 07:06 PM, Chris Hanson wrote: This is what NodeMasks are for. http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/NodeMaskDemo Or a SwitchNode if you need only few nodes changed. Regards, Jan ___ osg-users