摘要: // note that the awesomeface.png has transparency and thus an alpha channel, so make sure to tell OpenGL the data type is of GL_RGBA 请注意,Awesomeface.p 阅读全文
posted @ 2022-11-23 15:37 jessicaland 阅读(66) 评论(0) 推荐(0)
摘要: std::vector<osg::Vec3f>转osg::Vec3Array: std::vector<osg::Vec3f>bufferOutLine; osg::Vec3Array* twoo = new osg::Vec3Array(); for (auto one : bufferOutLi 阅读全文
posted @ 2022-11-23 10:39 jessicaland 阅读(72) 评论(0) 推荐(0)