Hi Gianni, I give it a shot. Your code actually works. Only one little line to add in doUserOperations - you should dirty the vertex buffer object
selVertices->dirty(); selVertices->getBufferObject()->dirty(); <--- this is the thing _selector->dirtyBound(); Cheers! Nick On Tue, Sep 20, 2016 at 4:18 PM, Gianni Ambrosio <g.ambrosio+...@gmail.com> wrote: > > Trajce Nikolov NICK wrote: > > Hi Gianni, > > > > if you make Qt free example I can have a look > > > > Sorry, this example "was" with Qt, now it is Qt-free. Just remove the > includes on top: they are not used in this code. > > Gianni > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=68674#68674 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org