HI Valerian, osgUtil::Tessellation if for tessellation not resampling.
What you are asking for is a line resampling with very specific rules. The OSG doesn't have any such tool so you'll need to write this yourself. Robert. On 13 July 2016 at 10:24, Valerian Merkling <[email protected]> wrote: > Hi, > > To make it short, I want to tessellate a line to make it follow a grid. > > On the attached example, the red line on the top is my starting line, and I > want to add every intersection of this line and a grid as vertex of this line. > > The expected result is the line in the bottom. > > I know I can do it with math, but I would like to know if the > osgUtil::Tessellator can do it for me. > > I looked at the osgtessellate example but it's all about polygons... > > Thank you! > > Cheers, > Valerian > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=68109#68109 > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

