摘要: osg::Geode* createIfcPolygon2() { osg::Geode* geode = new osg::Geode(); //face 8 { osg::Geometry* geom_face1 = new osg::Geometry(); osg::Vec3Array* co 阅读全文
posted @ 2021-11-12 18:34 西北逍遥 阅读(139) 评论(0) 推荐(0) 编辑
摘要: osg绘图的形式 enum Mode { POINTS = GL_POINTS, //点 LINES = GL_LINES, //线 LINE_STRIP = GL_LINE_STRIP, LINE_LOOP = GL_LINE_LOOP, //封闭轮廓 TRIANGLES = GL_TRIANGL 阅读全文
posted @ 2021-11-12 17:51 西北逍遥 阅读(244) 评论(0) 推荐(0) 编辑
摘要: THREE.Geometry function getFace(){ var triangleGeometry = new THREE.Geometry(); var faceArr1=[]; faceArr1.push(new THREE.Vector3(0.0,-7.0,-150.0)); fa 阅读全文
posted @ 2021-11-12 07:31 西北逍遥 阅读(463) 评论(0) 推荐(0) 编辑