PLY多边形文件格式:The PLY Polygon File Format。多边形:Polygon。
每个PLY文件只用于描述一个多边形模型对象,该模型对象(object)可以通过顶点、面等数据元素(element)进行描述。
PLY结构:文件头+元素数据列表。文件头中以行为单位描述文件类型(ply)、格式与版本(format)、注释(comment)、元素类型(element:顶点vertex,面(片)face)、元素的属性(property)等,然后根据在文件头中所列出元素类型的顺序及其属性,依次记录各个元素的属性数据。
ply format ascii 1.0 comment zipper output element vertex 453 property float x property float y property float z property float confidence property float intensity element face 948 property list uchar int vertex_indices end_header -0.0312216 0.126304 0.00514924 0.850855 0.5 -0.0446774 0.131204 0.00570479 0.900159 0.5 -0.0683011 0.144828 0.0413688 0.398443 0.5 -0.00600095 0.130398 0.0178986 0.85268 0.5 -0.0173568 0.127613 0.00526885 0.675938 0.5 0.0330513 0.107034 0.0319543 0.652757 0.5 0.0400873 0.10521 0.0173419 0.708171 0.5 -0.0301802 0.106322 0.0399745 0.454541 0.437538 3 164 94 98 3 224 335 49 3 331 350 376 3 124 122 237 3 61 89 69 3 61 161 94
参考:https://blog.csdn.net/szchtx/article/details/7587999
原文:https://www.cnblogs.com/zhengzian/p/14716917.html