Re: [osg-users] Change picked points' color ---why can't work in the pick function?

2015-09-10 Thread Yexin Wang
Thank you so much, dear Trajce! That's exactly what I want! :D :D :D Trajce Nikolov NICK wrote: > Hi, > > can you try geom->dirtyDisplayLists() after changing the color? > > Nick > > -- Read this topic online here:

Re: [osg-users] Change picked points' color ---why can't work in the pick function?

2015-09-09 Thread Trajce Nikolov NICK
Hi, can you try geom->dirtyDisplayLists() after changing the color? Nick On Wed, Sep 2, 2015 at 12:27 PM, Yexin W wrote: > Hi, > > Guys, I have a pick problem. What I want to do is loading 10 points with > their loactions and colors. I want to use poly pick, and use another

[osg-users] Change picked points' color ---why can't work in the pick function?

2015-09-08 Thread Yexin W
Hi, Guys, I have a pick problem. What I want to do is loading 10 points with their loactions and colors. I want to use poly pick, and use another color to show the picked points. The loading points process is as follows: Code: osg::ref_ptr geom = new osg::Geometry(); osg::ref_ptr v = new