Unity Ply网格读取
Ply格式说明
The version 1.0 PLY format, 详细参见:https://ww2.mathworks.cn/help/vision/ug/the-ply-format.html
File Header
文件头示例’{}‘为说明:
ply {文件头}
format binary_big_endian 1.0 {数据格式以及版本}
element vertex 9200 {定义vertex元素}
property float x {定义属性}
property float y
property float z
element face 18000 {定义面元素}
property list uchar int vertex_indices
end_header {这行后面就是数据了}
其中,format <data format> <PLY version>
中的<data format>
支持(little/big endian refers to the byte ordering of multi-byte data):
- ascii
- binary_little_endian
- binary_big_endian
元素定义方式如下:
element <element name> <number in