Commit Graph

156 Commits (526150a8e3f46b8e6fbe9f596acb4d48b5a69532)

Author SHA1 Message Date
kimmi f9cd8845b1 - Bugfix : Bug 3511751 closed, handling no defined material name.
- Update : Add a model for the regression test.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1244 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-05-01 09:39:51 +00:00
aramis_acg bbaf838463 - update unit tests.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1238 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-22 23:00:44 +00:00
aramis_acg e65087c338 + add test files for the new XGL/ZGL importer.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1211 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 16:53:10 +00:00
jonathanklein 7f1e7b7d6b Ogre: TestModel added, Texture-Bug in Materialloader fixed
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1195 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-10 23:04:02 +00:00
aramis_acg 8fc1d1c529 - add the test file that led to fix r1183 to the regression test suite. See https://sourceforge.net/projects/assimp/forums/forum/817654/topic/5052480 (I hope the licensing classification is right, if not, please inform me).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1185 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-23 16:40:00 +00:00
aramis_acg 8e5a2ad464 - add blender 2.6.2 test file.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1180 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-23 13:48:55 +00:00
kimmi 37fb338c1f - Update : Fix the M3-Importer: geometry import works.
- Update : Add a non-bsp example model for the m3-loader.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1176 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-19 09:10:04 +00:00
aramis_acg c84a14a7a8 [3118522] OBJ material/texture filename with spaces support.
I also added a test case for this issue.

(see https://sourceforge.net/tracker/?func=detail&aid=3118522&group_id=226462&atid=1067632)

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1157 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 18:16:15 +00:00
aramis_acg 6fa251c2f2 - unify naming of all header files. Obviously, this is a breaking change that affects all users.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1150 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 17:04:06 +00:00
aramis_acg 4dbf539b44 - update license header. Update copyright year and unify naming: our name is 'assimp', not 'ASSIMP'.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1147 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 03:38:30 +00:00
aramis_acg 3d00f36faf # fix unit tests, although static linkage to Assimp is a requirement or symbols will be missing. This involves declaring some members of certain pp step classes public to give the tests access to them. Those are harmless and completely safe to use from outside, though.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1092 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-11-29 13:53:24 +00:00
aramis_acg df63b4b3ed [3298060] OBJ: Add support for p and l elements
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1070 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-08-23 16:23:13 +00:00
aramis_acg 2ffac898d6 [3393728] [PATCH 1/2] ommit->omit and splitted->split
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1064 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-08-20 22:00:33 +00:00
aramis_acg 0db3f8b3f4 + add 3 test cubes to improve testing coverage of the x file format. The compressed cube is a test for the previous commit, r1012, which fixed a bug in the x loader.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1018 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-05-31 13:34:57 +00:00
aramis_acg 785b2c0ac3 + add two malformed obj files. Currently those will crash Assimp.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@981 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-05-07 11:13:06 +00:00
aramis_acg 14c6467aac # re-generate regression dump database from scratch since it seems that ~200 of the files were totally deprecated. This gives me 99.4% reproducible results with Blender.bob still failing.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@969 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-22 21:23:22 +00:00
aramis_acg 3547ca173b + add the test file that led me to find the bug I fixed with r967. This file has been created by Blender 2.4.1.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@968 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-22 20:06:39 +00:00
aramis_acg 3ac2f700dd - update minidump database
- improve output formatting for run.py

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@965 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-22 17:15:33 +00:00
aramis_acg 5a2d2d08e2 # regression test suite: fix critical bug that would cause all postprocessing flag except th first to be ignored.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@961 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-22 15:57:00 +00:00
aramis_acg 9e9f8dfb27 - update minidump database
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@957 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-22 12:39:49 +00:00
aramis_acg 724b562e6f # add another two postprocessing presets to the regression suite's database of model minidumps. Totally we have ~1200 test cases now.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@954 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-21 22:43:39 +00:00
aramis_acg 621bdef663 - rework exporter interface to be based primarily on the existing IOSystem.
- implement ExportToBlob/aiExportToBlob via a custom IOSystem implementation.
- split exporter C and C++ interfaces.
+ test cases for the exporter interface

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@913 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-03-08 16:09:54 +00:00
aramis_acg 692cf1f84a - update regression db.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@901 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-02-03 14:35:39 +00:00
aramis_acg 3aa4386d81 - update regression database. All detected regressions except for the Ogre bugcheck, which I fixed with the last commit, were intentional bugfixes. Important: seemingly, the Blender loaders does *not* yield reproducible output as of now. This is fine since it is experimental, but we should definitely fix it.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@852 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-21 18:33:52 +00:00
aramis_acg fdda697af7 Move test models with problematic license restrictions to test/models-nonbsd and update the test suites accordingly.
Update note in LICENSE accordingly.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@827 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-10-13 17:57:06 +00:00
kimmi d4f563c795 - UPDATE : Add bugfixes for the correct topology import from a bsp-level.
- UPDATE : Add the first pk3-archive for the bsp-loader.
- UPDATE : Add missing license info to aiAssert-file.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@818 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-09-26 15:56:52 +00:00
aramis_acg 027e6e7453 Add test case for the recently solved collada instance node troubles (https://sourceforge.net/tracker/index.php?func=detail&aid=3054873&group_id=226462&atid=1067632).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@816 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-09-14 22:11:51 +00:00
aramis_acg cab35c496d [3053648] Obj: segfault when first line is a material.
Add test file to reproduce the issues. Thanks to Ingo Kresse for providing the patch.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@807 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-08-27 12:36:02 +00:00
aramis_acg 72a64192b8 Unittests: make them compile again in builds with regular boost.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@799 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-08-23 18:03:34 +00:00
aramis_acg 20cc623ecd noboost: Add working implementation for boost.format to get proper Collada error messages. See https://sourceforge.net/projects/assimp/forums/forum/817654/topic/3820367.
Add unit test for this.

Fix build errors due to invalid pch settings in vc9 | release-noboost.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@798 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-08-23 17:49:03 +00:00
aramis_acg aae8637666 Add GLOB_MEASURE_TIME configuration option to profile the runtime of the postprocessing steps.
Start new documentation page for Performance/Profiling questions.
Migrate existing notes on multithreading to a new doc page, add more details.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@772 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-07-08 22:44:44 +00:00
aramis_acg 91d01d72c6 BLENDER: add test file of heavily subdivided Suzanne.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@767 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-07-07 15:17:58 +00:00
aramis_acg d082330cea BLENDER: Fix potential stack overflow caused by a DOM object referencing itself.
Add general infrastructure to apply modifiers.
Implement mirror and subdivision modifiers using existing stuff.
Update BlenderDNA with related structures.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@763 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-07-07 14:50:19 +00:00
kimmi 175414f682 UPDATE : Reformatting fix.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@749 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-06-02 20:08:22 +00:00
kimmi c127d53786 - UPDATE : Add cppunit source to CMake build enviroment. Now assimp can use it directly from the contrib-directory.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@748 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-06-02 20:07:29 +00:00
aramis_acg 31ff5d27eb fix: colladaloader is now a bit more tolerant to empty top-level (library) elements. See https://sourceforge.net/tracker/index.php?func=detail&aid=3008871&group_id=226462&atid=1067632
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@744 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-05-29 20:53:42 +00:00
aramis_acg 1b87557fd1 update to zlib 1.2.5.
blenderloader now reads gzip compressed files.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@737 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-05-26 00:21:07 +00:00
aramis_acg 188aa3da37 blender loader now reads basic material colors and even simple textures, be them embedded into the BLEND file or not.
adding some test files.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@735 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-05-24 01:24:18 +00:00
aramis_acg 3cf20b605d blender loader now loads material assignments.
blender loader no longer produces randomized output in some scenarious. nice side effect of less asthetic diversity: less segfaults.
assimpview is no longer topmost.



git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@732 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-05-21 22:39:31 +00:00
aramis_acg aba91ce95d Add a first set of blender test files.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@715 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-05-09 14:41:04 +00:00
aramis_acg 107e070506 Rebuild regression suite (with vc8 and fp:fast). 2 regressions currently reported, these will remain unsolved for this release.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@690 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-04-17 16:25:04 +00:00
aramis_acg c78f40171d gen_db.py is now able to do a partial database update. Dumps for specified file formats are re-generated, rest is kept.
Improve doc in regression suite.


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@680 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-04-14 20:58:32 +00:00
aramis_acg 3c03e0fca5 COB loader does now honour explicit chunk sizes. if none are given in a particular chunk, the loader reverts to the old behaviour.
COB loader converts textures properly now.
Add textured test files to confirm the previous issue.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@652 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-04-06 00:13:30 +00:00
aramis_acg 4c1b5a532d Add first WIP version of a TrueSpace loader. Currently only ASCII COB/SCNs are supported.
Add some fast_atof overloads to simplify calling it.
Add another convenience c'tor to aiColorMM.
Add COB test models.
Remove unreferenced member in B3D importer.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@633 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-04-02 04:17:05 +00:00
aramis_acg 24edb60955 Add a tiny test script to load all files in a test directory using one importer instance repeatedly.
Fix importer unit test, wasn't yet migrated to DeadlyImportError's.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@626 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-23 18:26:48 +00:00
aramis_acg 762a7df46a Revamp exception handling. ImportErrorException renamed to DeadlyImportError to avoid silent regressions. Exceptions now thrown by value, and caught by reference. Put guards in all C++ and C API functions to avoid unwanted exception propagation across module and language boundaries.
PLEASE TEST CAREFULLY IF THIS SHOULD CAUSE REGRESSIONS.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@617 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-18 17:00:12 +00:00
aramis_acg eff7bc9f73 Add jeep.3ds in milkshape format to test suite.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@612 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-16 21:54:27 +00:00
aramis_acg 6589ccc642 Add test file triggering a terrible buffer overflow in revisions prior to r609. Regression database not yet updated.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@611 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-16 00:12:33 +00:00
aramis_acg 8bb198e794 regression-suite: run.py now calls assimp with the -l switch
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@608 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-13 17:16:19 +00:00
aramis_acg b56f35c2b8 Rebuild regression database (vc8, fp:precise).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@602 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-13 12:40:49 +00:00