Re: [osg-users] Collect all the osg::Materials from a osg::Node using osg::NodeVisitor

2016-08-26 Thread Trajce Nikolov NICK
Hi Robert Thanks for this great hint! Really good one! Cheers! Nick On Fri, Aug 26, 2016 at 6:27 PM, Robert Osfield wrote: > On 26 August 2016 at 17:13, Trajce Nikolov NICK > wrote: > > Ok :-) .. I will answer it too . > > > > I am

Re: [osg-users] Collect all the osg::Materials from a osg::Node using osg::NodeVisitor

2016-08-26 Thread Robert Osfield
On 26 August 2016 at 17:13, Trajce Nikolov NICK wrote: > Ok :-) .. I will answer it too . > > I am working with older version of osg where the Geometry was still not > inherited from Node so I had to apply a special case for Geodes ... Sorry > for the noise ;-)

Re: [osg-users] Collect all the osg::Materials from a osg::Node using osg::NodeVisitor

2016-08-26 Thread Trajce Nikolov NICK
Ok :-) .. I will answer it too . I am working with older version of osg where the Geometry was still not inherited from Node so I had to apply a special case for Geodes ... Sorry for the noise ;-) Cheers! Nick On Fri, Aug 26, 2016 at 5:58 PM, Trajce Nikolov NICK <

[osg-users] Collect all the osg::Materials from a osg::Node using osg::NodeVisitor

2016-08-26 Thread Trajce Nikolov NICK
Hi Community, this is really simple, but for a reason it is not working on my end. I have simple model with animation (a cube that scales over time). On load I launch a NodeVisitor to collect all the Materials. I can see one Material in the text file but the parser is not hitng it. Here is my