Re: [osg-users] advice for highlighting node under mouse

2011-06-24 Thread Cory Riddell
Thank you Sergey. I knew there had to be a better way. Cory On 6/24/2011 7:00 AM, Sergey Polischuk wrote: > Hi, Cory > > You can write technique for outline effect to use additional passes with > different settings, and add different cull masks to each pass, so you can use > effect node at top

Re: [osg-users] advice for highlighting node under mouse

2011-06-24 Thread Sergey Polischuk
Hi, Cory You can write technique for outline effect to use additional passes with different settings, and add different cull masks to each pass, so you can use effect node at top of your graph and apply masks on nodes to get correct effect passes running on them. You will need to change traver

[osg-users] advice for highlighting node under mouse

2011-06-23 Thread Cory Riddell
I've been playing with the osgFX classes and I'm thinking about using osgFX::Outline() to highlight the node(s) under the mouse. First, I would need a list of highlighted nodes. Initially it would be empty. Every highlightable node would have a parent osgFX::Outline instance with an initial thin