[osg-users] Line tessellation with osgUtil::Tessellator

Valerian Merkling niarkoleptik at gmail.com
Wed Jul 13 02:24:45 PDT 2016


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!


Read this topic online here:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tessellation.png
Type: image/png
Size: 16218 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160713/345d7549/attachment-0002.png>

More information about the osg-users mailing list