Thanks Robert,
worked like a charm. I guess I did have a bug in the code while I was
trying it for the first time.
michael.
On 15.06.2011 11:00, Robert Osfield wrote:
Hi Michael,
You can assign a seperate osg::StateSet to each osg::Camera and then
assign the seperate state you want to each of these.
Robert.
On Wed, Jun 15, 2011 at 9:50 AM, Michael Starke
<[email protected]> wrote:
Hello list,
I've ran into a smaller problem and did not find any answers in the big net
for it.
I have multiple views attached to a composite viewer that render one scene
in one window in different viewport areas and I'd like to let each camera
render the scene in different polygonmodes.
As I understand it, the polygonmode is per scene object, and setting this
attribute on the camera has no effect (or I did something wrong). Another
solution I thought of was to add multipe Parents to the scene root and give
them node masks so that only one camera sees them and uses this only node to
set the states on each camera.
Are pre-render callbacks a solution?
Thanks in advance,
michael
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org