Tests for ply reader with and without normals, ascii mode
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@477 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
26
src/Unittests/TestFiles/cube-minimal-normals.ply
Normal file
26
src/Unittests/TestFiles/cube-minimal-normals.ply
Normal file
@@ -0,0 +1,26 @@
|
||||
ply
|
||||
format ascii 1.0
|
||||
element vertex 8
|
||||
property float32 x
|
||||
property float32 y
|
||||
property float32 z
|
||||
property float32 nx
|
||||
property float32 ny
|
||||
property float32 nz
|
||||
element face 6
|
||||
property list uint8 int32 vertex_indices
|
||||
end_header
|
||||
-1 -1 -1 0.0 0.0 1.0
|
||||
1 -1 -1 0.0 1.0 0.0
|
||||
1 1 -1 0.0 1.0 1.0
|
||||
-1 1 -1 1.0 0.0 0.0
|
||||
-1 -1 1 1.0 0.0 1.0
|
||||
1 -1 1 1.0 1.0 0.0
|
||||
1 1 1 1.0 1.0 1.0
|
||||
-1 1 1 1.0 1.0 2.0
|
||||
4 0 1 2 3
|
||||
4 5 4 7 6
|
||||
4 6 2 1 5
|
||||
4 3 7 4 0
|
||||
4 7 3 2 6
|
||||
4 5 1 0 4
|
||||
23
src/Unittests/TestFiles/cube-minimal.ply
Normal file
23
src/Unittests/TestFiles/cube-minimal.ply
Normal file
@@ -0,0 +1,23 @@
|
||||
ply
|
||||
format ascii 1.0
|
||||
element vertex 8
|
||||
property float32 x
|
||||
property float32 y
|
||||
property float32 z
|
||||
element face 6
|
||||
property list uint8 int32 vertex_indices
|
||||
end_header
|
||||
-1 -1 -1
|
||||
1 -1 -1
|
||||
1 1 -1
|
||||
-1 1 -1
|
||||
-1 -1 1
|
||||
1 -1 1
|
||||
1 1 1
|
||||
-1 1 1
|
||||
4 0 1 2 3
|
||||
4 5 4 7 6
|
||||
4 6 2 1 5
|
||||
4 3 7 4 0
|
||||
4 7 3 2 6
|
||||
4 5 1 0 4
|
||||
Reference in New Issue
Block a user