Re: [osg-users] Selecting objects

2014-05-25 Thread Alexpux
23 мая 2014 г., в 22:54, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com написал(а): Hi Alexey I guess this is the problem, the material you are setting to the previous selected model. Maybe you record the state before selection and set it back when you select a new node I’m try:

[osg-users] Selecting objects

2014-05-23 Thread Alexpux
Hi all! I’m new in OpenSceneGraph. I have big models exported from 3dmax and materials from VRay (about 50 000 objects). I want highlight object on scene when clicking on it. Example with showing bounding box work for me ok but I need to highlight object with, for example, green color and

Re: [osg-users] Selecting objects

2014-05-23 Thread Trajce Nikolov NICK
Hi Alexey I guess this is the problem, the material you are setting to the previous selected model. Maybe you record the state before selection and set it back when you select a new node Nick On Fri, May 23, 2014 at 6:51 PM, Alexpux alex...@gmail.com wrote: Hi all! I'm new in