天天看點

PLY檔案

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