added a ply file written with MeshLab and a corresponding unittest

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@810 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Isaak Lim
2013-02-26 09:34:56 +00:00
parent 740d23ed36
commit 76e06be7a5
2 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
ply
format ascii 1.0
comment VCGLIB generated
element vertex 8
property float x
property float y
property float z
property uchar red
property uchar green
property uchar blue
property uchar alpha
element face 12
property list uchar int vertex_indices
end_header
0.5 0.5 0.5 0 0 255 255
-0.5 0.5 0.5 0 0 255 255
0.5 -0.5 0.5 0 0 255 255
-0.5 -0.5 0.5 0 0 255 255
0.5 0.5 -0.5 0 0 255 255
-0.5 0.5 -0.5 0 0 255 255
0.5 -0.5 -0.5 0 0 255 255
-0.5 -0.5 -0.5 0 0 255 255
3 0 1 2
3 3 2 1
3 0 2 4
3 6 4 2
3 0 4 1
3 5 1 4
3 7 5 6
3 4 6 5
3 7 6 3
3 2 3 6
3 7 3 5
3 1 5 3