Commit Graph

206 Commits (7e9c48e1aec60fa185baf163414d4471d1f42b91)

Author SHA1 Message Date
abma 7e9c48e1ae add option ASSIMP_HEADERCHECK (defaults to off):
when enabled it adds the target "headercheck" to verify if all headers compile
2015-04-15 21:06:40 +02:00
Alexander Gessler 99e2803474 Regression suite: 2.7 compatibility, drop old logic to find assimp binary and require it to be explicitly specified. Process files in a stable order to make results diffable. 2015-02-05 12:33:19 +01:00
Ricardo Ortiz a94e668486 Define CMAKE_DEBUG_POSTFIX and use it instead of ASSIMP_DEBUG_PREFIX
to have a consistent library name accross platforms.
2015-01-23 14:19:29 -05:00
Kim Kulling 6c7b623d1b add missing unittest,
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-12-03 21:23:27 +01:00
Kim Kulling 96661ae4cd fix the build 2014-12-02 08:51:20 +01:00
Kim Kulling 15e0175007 fix compiler warning.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-12-01 23:35:57 +01:00
Kim Kulling bc0fd00e96 Merge pull request #414 from l337r007/collada-tristrips
Collada: tristrip support: helps a lot :-). Thanks for that!
2014-12-01 20:48:10 +01:00
Kim Kulling 7a31a68cfc adapt c-api to get ImporterDesc for a given loader ( see https://github.com/assimp/assimp/issues/412 ).
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-12-01 20:34:15 +01:00
Wolfgang Herget 926b7e98cc Tristripped version of cube.dae generated using openscenegraph.
Command line used:
OSG_OPTIMIZER="TRISTRIP_GEOMETRY" osgconv cube.dae cube_tristrips.dae
2014-12-01 18:08:21 +01:00
Kim Kulling 94f61300c2 bugfix:
- remove and comment some gcc compiler warnings for not used vaiables.
2014-10-23 21:02:43 +02:00
Jared Duke 5e114c04d2 Use Linux/GCC build for DB generation 2014-09-17 08:49:28 -07:00
Jared Duke 083d5630ef Use VC11 build for DB generation 2014-09-17 07:30:55 -07:00
Jared Duke c8661ab055 Rebase BLEND regression db entries
Now that .blend import works properly for non-BMesh-containing meshes,
all .blend regression test cases should now succeed. Rebase accordingly.
2014-09-16 17:47:55 -07:00
Jared Duke 046b7e5f47 Rebase FBX regression db entries
The FBX importer now properly parses field-of-view tokens. Rebase
only the failing FBX entries to accomodate the fix, also removing
the comment noting the (now incorrect) comment about improper import
of the FOV property.
2014-09-15 18:14:38 -07:00
Jared Duke 43c82b0b38 Remove std::isnan and std::isinf usage from utFastAtofTest
These functions were added in C++11, and should not be used nakedly
in the current code base. Replace them with suitable C++03 constructs.
2014-09-09 16:34:10 -07:00
Jared Duke 0e28416104 Add tests for fast_atof
The custom implementation for fast_atof currently lacks test coverage,
making it susceptiple to regressions with future changes. Add some
basic test coverage, in addition to a few documented cases that are
known to fail.
2014-09-08 17:30:21 -07:00
Jared Duke 66e608a393 Replace cppunit with the googletest framework
The GTest framework has a more active support base, and natively
supports CMake. Introduce it as an external dependency (using CMake's
ExternalProject_Add), replacing cppunit and porting the associated unit
tests.
2014-09-07 16:52:03 -07:00
acgessler 72eb2e0c4e Merge branch 'travis' of github.com:assimp/assimp into travis 2014-09-05 21:20:35 -07:00
acgessler 5a0c7058b5 regression tests: ignore pond.0.ply file due to overly long runtime. 2014-09-05 21:20:07 -07:00
Alexander Gessler fd84970596 Regression tests: run.py should not block on user input if used for CI. 2014-09-04 23:18:20 -07:00
acgessler 1c27d3c565 Regression test suite: look for assimp_cmd binary in current folder first. 2014-09-04 21:04:39 -07:00
acgessler 33ffb0003e Collada Export: escape user-defined strings in XML output. 2014-08-23 15:42:47 -07:00
abma 6c5f9ecb06 fix most warnings with -pendantic 2014-08-18 02:09:06 +02:00
abma 48a772b20b fix compiler warnings:
- defined but not used
- deprecated conversion from string constant to ‘char*’
2014-08-18 00:46:21 +02:00
abma d795491c48 fix unittests on linux / enable on travis-ci 2014-08-18 00:34:45 +02:00
Kim Kulling d2e4dda393 update: add testcase for empty color.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-08-16 11:54:04 +02:00
Alexander Gessler 9eba139feb Merge pull request #317 from assimp/export-3ds
3DS Exporter
2014-07-23 22:26:58 +02:00
Tyson Grant Nottingham f96375b5f6 Add test OBJ w/ multiple spaces between elements. 2014-07-22 22:01:18 -07:00
Tyson Grant Nottingham 084ab9d82e Add test OBJ containing various number formats. 2014-07-22 22:00:47 -07:00
Alexander Gessler fcf08174b1 Cleanup CMakeLists for unit tests, drop unneeded Windows dependency. 2014-07-22 17:32:09 +02:00
Jonne Nauha 4f82b02958 Regression tests: Fix finding aassimp.exe on VC9 default build. Look for x86 executable if x64 is not found. Create dump output dir if does not exist (broke the script). Report where assimp.exe was looked in. Add todos for ignoring multi dot extensions from test like .skeleton.xml. Rebuild ds.zip via gen_db.py, success rate went from 40% to 99%. Seems these were not updated in a while (2-3 years :). 2014-05-21 05:41:26 +03:00
Jonne Nauha 8a5041ea11 Merge remote-tracking branch 'upstream/master' into ogre-binary 2014-05-21 04:55:09 +03:00
Jonne Nauha 6ba2a8bce9 OgreImporter: Add the new set of test assets from the Ogre3D SDK samples. Included Ogre3D license and a readme that explains in detail where they were copied and what modifications were done to them post copy. 2014-05-21 04:52:00 +03:00
Jonne Nauha 2696de527d OgreImporter: Remove old Ogre test assets from test/models-nonbsd/Ogre. These will be replaced by a proper set of assets that will test all functionality in both binary and xml form + materials. 2014-05-21 04:40:32 +03:00
Kim Kulling 08bacc73a6 update: add ply example for ply importer. 2014-05-13 14:14:53 +02:00
Kim Kulling fb1c9ab86d bugfix: fix cexport API for c compilers. 2014-05-11 16:50:35 +02:00
Kim Kulling f6925db3d8 update: add cmake_mimimum_required statement to each cmake file
for consistency
2014-05-10 10:31:42 +02:00
acgessler 08cbc0974b Add Blender 2.69 test files (first set - no UVs here or other fancy stuff) 2013-12-01 23:34:58 +01:00
acgessler a5667ada9c add ifc sample file to assimp. 2013-10-12 20:10:38 +02:00
Alexander Gessler bae9db2f03 Merge branch 'master' of git://github.com/assimp/assimp 2012-12-21 16:24:05 +01:00
aramis_acg ddea19ead1 - triangulation: re-introduce special handling for quads, now with proper support for concave quads. This should *really* fix [3429812], but it leaves me to suspect bugs in the general-purpose triangulation code for ngons.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1341 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-11-29 15:25:09 +00:00
Alexander Gessler 79369507c9 - add binary fbx test files (models/Collada converted to FBX). 2012-08-09 02:11:37 +02:00
Alexander Gessler 776d8e339b Merge branch 'master' of https://github.com/assimp/assimp 2012-07-24 03:30:47 +02:00
aramis_acg 8eb6e077d3 - fix typo on test/CMakeLists.txt
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1295 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-24 01:04:45 +00:00
aramis_acg aaf0be0bbf - CMake overhaul. Add proper FindXXX scripts for PkgMacros, ZLIB, DirectX. Isolate MSVC-specific defines. Add newer boost versions to boost whitelist. Many thanks to Mr. S. for the patch! (see http://zfx.info/viewtopic.php?f=9&t=334&p=32190#p32190)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1293 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-17 22:56:15 +00:00
Alexander Gessler cfb05376d2 - fbx: fix diffuse material color. 2012-07-05 14:26:26 +02:00
Alexander Gessler f5b9b0eab4 - fbx: more test files (/models-nonbsd/3DS converted to 2013 ASCII). 2012-07-03 00:26:14 +02:00
Alexander Gessler 6c985b9960 - fbx: move test files to test/models-nonbsd.
Reasoning: even though the model content of these files is BSD compatible, they carry a Autodesk Copyright Notice after being converted to FBX. I have serious doubts that this could serve as base for claims against us, but better safe than sorry.
2012-06-28 17:20:22 +02:00
Alexander Gessler 7e7922efc7 + fbx: first batch of test files (Collada testcases converted to fbx). 2012-06-28 16:34:48 +02:00
aramis_acg 141104f3f5 - start linklist for good IFC test file sources.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1259 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-06-17 12:18:37 +00:00