Re: [osg-users] Override override?

2011-05-09 Thread Anders Backman
Yes,, which means I have to traverse down and protect any StateSet which I found in the subgraph... Ok, thats what I though. /A On Mon, May 9, 2011 at 9:31 AM, Robert Osfield wrote: > Hi Anders, > > If you want to protect an child's state from being override from above > you use the PROTECTED m

Re: [osg-users] Override override?

2011-05-09 Thread Robert Osfield
Hi Anders, If you want to protect an child's state from being override from above you use the PROTECTED mode. Robert. On Mon, May 9, 2011 at 3:12 AM, Anders Backman wrote: > Hi. > Guess I been away from OSG a bit too long. > I have a pretty simple question. > Assume I have a renderstate which I

[osg-users] Override override?

2011-05-08 Thread Anders Backman
Hi. Guess I been away from OSG a bit too long. I have a pretty simple question. Assume I have a renderstate which I set to a group (lets call it PARENT) far up in the tree close to the root, this state set some default look, with shadows, texture and diffuse color. It has on|override|protected to