OSG|OSG (三维无序离散点构建Delaunay三角网)

利用OSG的osgUtil库里面的DelaunayTriangulator类。

osgUtil::DelaunayTriangulator* trig = new osgUtil::DelaunayTriangulator(); trig->setInputPointArray(points); bool r = trig->triangulate(); osg::DrawElementsUInt *test = trig->getTriangles();


【OSG|OSG (三维无序离散点构建Delaunay三角网)】转载于:https://www.cnblogs.com/ningmouming/p/11057586.html

    推荐阅读