ehm ... dirtyBound(); fixed it .. sorry for the noise ... ;-) Happy New Year
On Mon, Jan 2, 2017 at 6:32 PM, Trajce Nikolov NICK < [email protected]> wrote: > Hi Community, > > I come across some odd issue by using this. In short, the story is that I > have some sort of elevation manipulator (make hills, valleys with the mouse > on some terrain model, interactively). And I have a center of impact with > some radius, and simply by moving the mouse, I fire this intersection test, > get the world point, set it as a center and trigger the vertices within the > radius up/down. And this works correct and nice on existing model (the > lz.osg model from the OSG-Data). > > I have extended the tool to generate generic terrains - heightfield + > texture. And I can trigger again the elevation vertices anywhere and I see > it nicely visually (calling vertices->getBufferObject()->dirty();). > However the intersection test fails for my new "hills" for this generated > terrain skin. > > I have no clue what is going on, it seam to me that the intersector is > using some sort of cache or such ... Any hint on this? > > I hope I made it clear. Obviously I can not post video for the scenario > > Thanks a lot for any idea > > Cheers, > Nick > > -- > trajce nikolov nick > -- trajce nikolov nick
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

