osgDB::readNodeFile 函数通常读取 osg、ive格式文件, 后来发现也可以直接读取点云 ply文件
但是发生报错:
进行dubug,读取ply文件指令进行debug :
osg::ref_ptr<osg::Node> head = osgDB::readNodeFile("glider.osg");
//osg::ref_ptr<osg::Node> head = osgDB::readNodeFile("D:\\3dnest\\work\\elerator\\output\\location_00\\out_min_y_200k.ply");
读取osg文件,debug: