logo资料库

openMesh开发说明(中文版).pdf

第1页 / 共15页
第2页 / 共15页
第3页 / 共15页
第4页 / 共15页
第5页 / 共15页
第6页 / 共15页
第7页 / 共15页
第8页 / 共15页
资料共15页,剩余部分请下载后查看
【OpenMesh】一些基本操作:翻转和折叠
三角形网格的翻转(Flipping edges)
边缘折叠(Collapsing edges)
法向 计算遍历所有面上的法向
mesh.request_face_normals(); mesh.update_face_normals(); for(auto it =mesh.face_begin();it!=mesh.face_end();++it) { Auto face =it.handle(); MyMesh::Normal namal=mesh.normal(face); double x = normal.data()[0]; double y= normal.data()[1]; double z= normal.data()[2]; }
分享到:
收藏