From db81b925d776103326128bf629cbdda576a223e7 Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 16 Apr 2022 11:55:09 -0500 Subject: move 3rd-party librarys into libs/ and add built-in honeysuckle --- libs/assimp/test/models/invalid/OutOfMemory.off | 16 ++ libs/assimp/test/models/invalid/empty.3ds | 0 libs/assimp/test/models/invalid/empty.ase | 0 libs/assimp/test/models/invalid/empty.lwo | 0 libs/assimp/test/models/invalid/empty.md5mesh | 0 libs/assimp/test/models/invalid/empty.obj | 0 libs/assimp/test/models/invalid/empty.off | 0 libs/assimp/test/models/invalid/empty.ply | 0 libs/assimp/test/models/invalid/empty.raw | 0 libs/assimp/test/models/invalid/empty.smd | 0 libs/assimp/test/models/invalid/empty.x | 0 libs/assimp/test/models/invalid/emptyIrrMesh.xml | 231 +++++++++++++++++++++++ libs/assimp/test/models/invalid/malformed.obj | 30 +++ libs/assimp/test/models/invalid/malformed2.obj | 30 +++ libs/assimp/test/models/invalid/readme.txt | 31 +++ 15 files changed, 338 insertions(+) create mode 100644 libs/assimp/test/models/invalid/OutOfMemory.off create mode 100644 libs/assimp/test/models/invalid/empty.3ds create mode 100644 libs/assimp/test/models/invalid/empty.ase create mode 100644 libs/assimp/test/models/invalid/empty.lwo create mode 100644 libs/assimp/test/models/invalid/empty.md5mesh create mode 100644 libs/assimp/test/models/invalid/empty.obj create mode 100644 libs/assimp/test/models/invalid/empty.off create mode 100644 libs/assimp/test/models/invalid/empty.ply create mode 100644 libs/assimp/test/models/invalid/empty.raw create mode 100644 libs/assimp/test/models/invalid/empty.smd create mode 100644 libs/assimp/test/models/invalid/empty.x create mode 100644 libs/assimp/test/models/invalid/emptyIrrMesh.xml create mode 100644 libs/assimp/test/models/invalid/malformed.obj create mode 100644 libs/assimp/test/models/invalid/malformed2.obj create mode 100644 libs/assimp/test/models/invalid/readme.txt (limited to 'libs/assimp/test/models/invalid') diff --git a/libs/assimp/test/models/invalid/OutOfMemory.off b/libs/assimp/test/models/invalid/OutOfMemory.off new file mode 100644 index 0000000..585fce0 --- /dev/null +++ b/libs/assimp/test/models/invalid/OutOfMemory.off @@ -0,0 +1,16 @@ +OFF +353535235358 6 0 +-0.500000 -0.500000 0.500000 +0.500000 -0.500000 0.500000 +-0.500000 0.500000 0.500000 +0.500000 0.500000 0.500000 +-0.500000 0.500000 -0.500000 +0.500000 0.500000 -0.500000 +-0.500000 -0.500000 -0.500000 +0.500000 -0.500000 -0.500000 +4 0 1 3 2 +4 2 3 5 4 +4 4 5 7 6 +4 6 7 1 0 +4 1 7 5 3 +4 6 0 2 4 diff --git a/libs/assimp/test/models/invalid/empty.3ds b/libs/assimp/test/models/invalid/empty.3ds new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/empty.ase b/libs/assimp/test/models/invalid/empty.ase new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/empty.lwo b/libs/assimp/test/models/invalid/empty.lwo new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/empty.md5mesh b/libs/assimp/test/models/invalid/empty.md5mesh new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/empty.obj b/libs/assimp/test/models/invalid/empty.obj new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/empty.off b/libs/assimp/test/models/invalid/empty.off new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/empty.ply b/libs/assimp/test/models/invalid/empty.ply new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/empty.raw b/libs/assimp/test/models/invalid/empty.raw new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/empty.smd b/libs/assimp/test/models/invalid/empty.smd new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/empty.x b/libs/assimp/test/models/invalid/empty.x new file mode 100644 index 0000000..e69de29 diff --git a/libs/assimp/test/models/invalid/emptyIrrMesh.xml b/libs/assimp/test/models/invalid/emptyIrrMesh.xml new file mode 100644 index 0000000..01bc1f2 --- /dev/null +++ b/libs/assimp/test/models/invalid/emptyIrrMesh.xml @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/libs/assimp/test/models/invalid/malformed.obj b/libs/assimp/test/models/invalid/malformed.obj new file mode 100644 index 0000000..2253c47 --- /dev/null +++ b/libs/assimp/test/models/invalid/malformed.obj @@ -0,0 +1,30 @@ +# Vertices: 8 +# Points: 0 +# Lines: 0 +# Faces: 6 +# Materials: 1 + +o 1 + +# Vertex list + +v -0.5 -0.5 0.5 +v -0.5 -0.5 -0.5 +v -0.5 0.5 -0.5 +v -0.5 0.5 0.5 +v 0.5 -0.5 0.5 +v 0.5 -0.5 -0.5 +v 0.5 0.5 -0.5 +v 0.5 0.5 0.5 + +# Point/Line/Face list + +usemtl Default +f 4 12 2 1 +f 2 6 5 1 +f -1 7 6 2 +f 8 7 3 4 +f 5 8 8 1 +f 0 7 8 5 + +# End of file diff --git a/libs/assimp/test/models/invalid/malformed2.obj b/libs/assimp/test/models/invalid/malformed2.obj new file mode 100644 index 0000000..054bc0a --- /dev/null +++ b/libs/assimp/test/models/invalid/malformed2.obj @@ -0,0 +1,30 @@ +# Vertices: 8 +# Points: 0 +# Lines: 0 +# Faces: 6 +# Materials: 1 + +o -1 + +# Vertex list + +v -0.5 -0.5 0.5 +v -0.5 -0.5 -0.5 +v -0.5 0.5 -0.5 +v -0.5 0.5 0.5 +v 0.5 -0.5 0.5 +v 0.5 -0.5 -0.5 +v 0.5 0.5 -0.5 +v 0.5 0.5 0.5 + +# Point/Line/Face list + +usemtl DefaultDoesNotExist +f +f 2 6 5 1 +f 3 7 6 2 +f 8 7 3 4 +f 5 8 4 1 +f 6 7 8 5 + +# End of file diff --git a/libs/assimp/test/models/invalid/readme.txt b/libs/assimp/test/models/invalid/readme.txt new file mode 100644 index 0000000..6ad8b43 --- /dev/null +++ b/libs/assimp/test/models/invalid/readme.txt @@ -0,0 +1,31 @@ + +********************************************************* +GENERAL +********************************************************* + + +The files in this directory are invalid ... some of them are empty, +others have invalid vertices or faces, others are prepared to make + assimp allocate a few hundreds gigs of memory ... most are +actually regression tests, i.e. there was once a bugfix that +fixed the respective loaders. + +This test case is successful if the library (and the viewer) don't +crash. + + +********************************************************* +FILES +********************************************************* + +OutOfMemory.off - the number of faces is invalid. There won't be + enough memory so std::vector::reserve() will most likely fail. + The exception should be caught in Importer.cpp. + +empty. - These files are completely empty. The corresponding + loaders should not crash. + +malformed.obj - out-of-range vertex indices +malformed2.obj - non-existent material referenced + + -- cgit v1.2.1