Commit Graph

1181 Commits (a5a9f1ba33ba05bc7e8a29d255723950f4c09d6f)

Author SHA1 Message Date
Kim Kulling 32b466941b Add missig docs and fix some small review findings. 2018-04-06 12:01:22 +02:00
Kim Kulling d17cf76c85 Fix compiler warning in unit test: unused variable. 2018-04-06 11:16:52 +02:00
Kim Kulling c232c4bfb3 Add missing file to fix the build. 2018-04-04 16:32:18 +02:00
Kim Kulling 4d662c42b3 Add check for SSE2-support. 2018-04-02 10:27:05 +02:00
Tommy 15e9907340 Address some gcc warnings about signed / unsigned comparison. 2018-03-26 11:25:32 +02:00
Kim Kulling 3bcef7ed8f Metadata: add test for copying metadata via copy constructor. 2018-03-20 14:09:52 +01:00
Kim Kulling 4c023c3818 fix unittest folder for roundtriptest. 2018-03-13 21:40:23 +01:00
Kim Kulling 20c817bc36
Update utD3MFImportExport.cpp
Fix compiler warning: unused var.
2018-03-13 19:42:06 +01:00
Kim Kulling 18e9aa13d6 fix vs2017-compiler-warning c4002: tr1 is deprecated. 2018-03-13 19:15:56 +01:00
Kim Kulling f857d72dbb add roundtrip test for 3mf. 2018-03-13 18:56:47 +01:00
Kim Kulling 7f04b4dd43
Merge branch 'master' into fix/issue623 2018-03-09 00:04:28 +01:00
Kim Kulling 5312ec806e
Merge branch 'master' into bugfix/c4d_obj_export_mtllib_after_g 2018-03-05 18:19:36 +01:00
Kim Kulling d82fff757b
Update utObjImportExport.cpp
Add missing end of line.
2018-03-05 15:01:37 +01:00
Alexandre Avenel e7869c7db3 PLY unit test : Fix aiPostProcess validation errors 2018-03-04 23:10:30 +01:00
Alexandre Avenel 15fa86f100 Set primitive_type to point when PLY is a point cloud 2018-03-04 22:43:20 +01:00
Alexandre Avenel ecb64c5949 Add unit test for issue 623 2018-03-04 22:43:20 +01:00
Alexandre Avenel bd80e92f78 Add PLY loader unit test for binary files 2018-03-04 16:04:12 +01:00
Alexandre Avenel cd5881c9c0 Add unit-test for PLY with UV coordinates 2018-03-04 16:02:36 +01:00
Alexandre Avenel 065c264b34 Fix #1415 : float-color.ply is broken
float-color.ply was broken because it doesn't have a newline at the end.
I'm not sure if a file without newline should be considered valid ?

Added more checks to float-color unit-test in order to fail as excepted.
Fixed the shipped unit test.
Add postprocess validation to PLY unit tests
2018-03-04 15:59:27 +01:00
Josh Faust f07d27eb07
Merge branch 'master' into bugfix/c4d_obj_export_mtllib_after_g 2018-02-27 18:47:11 -08:00
Josh Faust 190190c1d7 Fix material index off-by-one error in some OBJ files (seen in a C4D export) 2018-02-27 14:58:04 -08:00
Kim Kulling d53f958011 unittest: fix compiler warning 2018-02-27 18:56:07 +01:00
Kim Kulling c0f04bf965 IMporter: fix lookup for tokens during inmemory imports. 2018-02-27 18:30:36 +01:00
Max Vollmer b3d48d0e9a Issue #1776: Updated and fixed test in utBlenderIntermediate.cpp for Blender::ObjectCompare 2018-02-07 11:02:08 +01:00
Kim Kulling 495ae70cc5 XFileParser: release x-file-based scene when throwing an exception. 2018-02-06 19:21:56 +01:00
Kim Kulling a8f940dd83 add missing test file. 2018-02-05 00:05:08 +01:00
Kim Kulling 862a145ea5 X: add unittest to ensure no exception will be thrown. 2018-02-04 22:18:54 +01:00
Kim Kulling 8284226efd fbx: add missing test file. 2018-02-04 17:19:49 +01:00
Kim Kulling 37d352622b closes https://github.com/assimp/assimp/issues/774: use correct type for unitscale in fbx. 2018-02-04 16:42:36 +01:00
Kim Kulling 9740243e6b
Merge branch 'master' into issue_1758 2018-02-02 20:36:40 +01:00
Kim Kulling 84957faa16 closes https://github.com/assimp/assimp/issues/1758: fix compiler warning. 2018-02-02 19:50:34 +01:00
Kim Kulling b049933d2f update license dates. 2018-01-28 19:42:05 +01:00
kim kulling f80ed093f8 remove test artifacts from repo. 2018-01-23 15:13:49 +01:00
kim kulling 88a0bb1b6d FBX: store UnitScaleFactor for fbx-files. 2018-01-23 15:13:23 +01:00
Kim Kulling f0d03ec6b8 closes https://github.com/assimp/assimp/issues/1722: use a const reference to fix issue with ppc. 2018-01-22 14:35:06 +01:00
Christian Meurin 86fa0f4524
Merge branch 'master' into master 2018-01-15 19:10:14 -08:00
BuildTools 4cb4d59682 revert problematic unit test models to last upstream commits 2018-01-11 16:13:13 -08:00
BuildTools dda91094f2 I want to see what GetErrorString() blurts out on the Travis failure real quick 2018-01-11 15:47:07 -08:00
Tommy aba8383283 Add unit test for correct FBX phong material import. 2018-01-11 17:49:17 +01:00
Christian Meurin 5ef13e7b38
Merge branch 'master' into master 2018-01-07 11:34:18 -08:00
Kim Kulling dd7a323103
Merge branch 'master' into issue_1574 2018-01-07 11:30:03 +01:00
Kim Kulling abc01bcdf0 closes https://github.com/assimp/assimp/issues/1574: add API to get name of current branch. 2018-01-06 21:52:58 +01:00
Kim Kulling b2bfb40859
Merge branch 'master' into remove_ctest 2018-01-06 21:31:22 +01:00
BuildTools a8a1ca9894 header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
Kim Kulling 96b9626601 FBX: add missing test file. 2018-01-04 13:17:42 +01:00
Kim Kulling a5e2a40d75 FBX: add simple unittest with a simple box. 2018-01-04 13:10:13 +01:00
Kim Kulling c66c7d7ae6 remove ctest to make workspace more readable. 2018-01-03 17:22:07 +01:00
Alexandre Avenel 7de7c548fb Add unit test to OBj importer for homogeneous coord
This test triggers an assertion when we divide by zero in homogeneous
coordinates.
2017-12-29 18:06:20 +01:00
Alexandre Avenel 89ff8fc05d Add unit test for issue 1623 2017-12-12 20:34:53 +01:00
Kim Kulling e8139ef515
Update utVersion.cpp
Fix unittests.
2017-12-11 13:30:16 +01:00
Kim Kulling 95e9cd75fa 3MF: fix working test for 3MF-export. 2017-12-06 21:41:48 +01:00
Kim Kulling 5aa84a2610 Merge branch 'export_3mf' of https://github.com/assimp/assimp into export_3mf 2017-11-30 00:32:51 +01:00
Kim Kulling ac23034816 fix the exporter unittest when the export is disabled. 2017-11-30 00:32:37 +01:00
Kim Kulling c27fda62e5
Merge branch 'master' into export_3mf 2017-11-30 00:32:23 +01:00
Daniel Hritzkiv 5c9ed540b2
Add test for GLB import
Currently fails (testing the issue in #1600)
2017-11-29 12:20:44 -05:00
Kim Kulling 8e413ac1e3
Merge branch 'master' into export_3mf 2017-11-27 22:50:17 +01:00
Kim Kulling 7280dec838 fix unittest. 2017-11-27 22:46:57 +01:00
Alexandre Avenel d8d5cf1a2d Copy assimp dll to unit folder on windows 2017-11-24 19:50:25 +01:00
Kim Kulling e35f789ace
Merge branch 'master' into scene_combiner_crash 2017-11-22 13:46:14 +01:00
Kim Kulling b474e75e29 3Mf-Export: add prototypes for relations and rest of 3MF-document. 2017-11-21 18:41:16 +01:00
Turo Lamminen 127705d347 Unit tests: Enable data structure validation in cases where it doesn't cause failures 2017-11-21 18:04:22 +02:00
Kim Kulling 9707fde709 check for nullptr dereferencing before copying scene data 2017-11-19 17:41:31 +01:00
Turo Lamminen 40bb3f3d0f Unit test: Fix signed/unsigned comparison warnings 2017-11-18 15:32:42 +02:00
Kim Kulling 24b728b3ea FindDegeneratives: adapt unittests and add configs 2017-11-12 22:09:18 +01:00
Kim Kulling d0ac06cbfd fix buggy escape sequence. 2017-11-11 21:16:26 +01:00
Kim Kulling 005b537324 unittests: add VS-based source groups for the unittests. 2017-11-10 20:40:00 +01:00
Unknown 12dbbd4ce9 Misc. typos
Some are doxy comments, some are just trivial source comment typos. 
Found using `codespell -q 3 --skip="./contrib" -I ../assimp-whitelist.txt`
whereby whitelist contained:
```
childs
iff
lod
nto
ot
whitespaces
```
2017-11-09 17:19:26 -05:00
Kim Kulling 75fdd25b6b
Merge branch 'master' into issue_104 2017-11-07 11:27:06 +01:00
Kim Kulling 26171a7949 SLD: add test model and a unit test. 2017-11-06 22:37:52 +01:00
Kim Kulling ab3cf3687c
Merge branch 'master' into UnitTest_X3D 2017-11-05 18:10:10 +01:00
Kim Kulling 770f531cc6 X3D-Importer: add missing file. 2017-11-05 17:46:25 +01:00
Kim Kulling 2929a27edc add unittest for x3d-importer. 2017-11-05 17:41:26 +01:00
Kim Kulling 4879fe13ca Merge branch 'unittest_obj_importer' of https://github.com/aavenel/assimp 2017-11-04 16:58:35 +01:00
thomas-lemaire 931542bf3c
Merge branch 'master' into ObjExporter_nomtl 2017-11-02 10:46:57 +01:00
Kim Kulling 64ee21024b Add missing file. 2017-10-31 13:07:07 +01:00
Kim Kulling ae020281e2 Add unittest 2017-10-31 12:24:32 +01:00
Alexandre Avenel c1c4a5ed2a Add two unit tests for OBJ importer 2017-10-29 15:12:56 +01:00
Thomas Lemaire a6688243a7 [ObjExporter] add a test for the "no mtl" version of the obj exporter 2017-10-27 10:14:53 +02:00
Alexandre Avenel ff758e4c15 OBJ : add unit test to validate relative indices 2017-10-16 20:35:02 +02:00
Kim Kulling f56e28ea3c UnitTest: use correct initialized normals in unittest. 2017-10-14 16:40:39 +02:00
Kim Kulling 8f141c1966 Update utObjImportExport.cpp
Remove unused header.
2017-10-10 18:56:37 +02:00
Kim Kulling c128e7e56c Merge branch 'master' into issue_1453 2017-10-10 18:20:22 +02:00
Jared Mulconry 4a915653f5 Fixed IOStream reporting a file size of 0 for files that have been written, but not yet been flushed to disk. 2017-10-08 23:42:28 +11:00
Kim Kulling b57011552b Merge branch 'master' into issue_1453 2017-10-07 19:08:52 +02:00
Kim Kulling f925e2cf4e Reproduce issue and remove assertion when a nullptr makes more sence 2017-10-07 19:08:20 +02:00
Turo Lamminen 1bee5b0025 utRemoveVCProcess: Fix memory leak 2017-10-06 18:23:28 +03:00
Turo Lamminen 9eef4c16a8 utMetadata: Fix memory leak 2017-10-06 18:23:28 +03:00
Turo Lamminen ae8a4c0c62 Fix warning about non-constant array size 2017-10-06 18:22:58 +03:00
Kim Kulling c1f93a69ae Revert "WIP: Enable Travis clang build" 2017-10-06 15:42:05 +02:00
Turo Lamminen 674fb5a46c utRemoveVCProcess: Fix memory leak 2017-10-05 12:15:28 +03:00
Turo Lamminen 9bcfce63dc utMetadata: Fix memory leak 2017-10-05 12:15:28 +03:00
Turo Lamminen 1ef3b0f3f3 Fix warning about non-constant array size 2017-10-05 10:45:40 +03:00
Jared Mulconry 1eb7eceddf Addressed a number of memory leaks identified in unit tests by asan 2017-10-02 11:03:24 +03:00
Jared Mulconry 29e46e4bb8 Addressed asan failures caused by misuse of APIs within unit tests. 2017-10-02 11:03:18 +03:00
Turo Lamminen da96b32fb9 Fix out-of-bounds read in MaterialSystem unit test 2017-10-02 10:55:26 +03:00
Kim Kulling 2056e56bdb Obj: prepare test to reproduce crash on linux. 2017-09-30 10:45:14 +02:00
Jared Mulconry e77e89c8b7 Improved the naming of temporary file generator function. Replaced use of tmpnam in utIOStreamBuffer with this facility to addresssafety warning. 2017-09-26 22:41:20 +10:00
Jared Mulconry 980d2b0eee Added a header to hold the file generation code for unit testing purposes. 2017-09-26 22:08:52 +10:00
Jared Mulconry e2ab3e0d29 Changed the method by which temporary files are created for unit the FileSizeTest. Will apply to other tests next. 2017-09-26 21:32:11 +10:00
Jared Mulconry 4360267cb2 Replaced flakey macros with specific functions to serve the purpose 2017-09-25 22:58:47 +10:00
Jared Mulconry f6fc5a7a11 Changed the FileSizeTest to not rely on tmpnam to eliminate warning on gcc. 2017-09-25 22:07:01 +10:00
Daniel Hritzkiv 023cb27784
Revert "Remove simple gltf2 export unit test"
This reverts commit 4b01ecaf10.
2017-09-12 09:57:58 -04:00
Daniel Hritzkiv 4b01ecaf10
Remove simple gltf2 export unit test
Segfaults on Linux for some reason. No other tests test exporting, so it’s fine
2017-09-11 16:31:40 -04:00
Daniel Hritzkiv 86a8a58d12
Exclude glTF2 Exporter test when ASSIMP_BUILD_NO_EXPORT 2017-09-11 11:02:16 -04:00
Daniel Hritzkiv ed2b699c4b
Add gltf2 basic unit test 2017-09-11 11:02:15 -04:00
Daniel Hritzkiv 6b4286abf6
check in gltf2 models to test directory
Remove un-needed test models
2017-09-11 10:50:38 -04:00
Kim Kulling c143d2e02c closes https://github.com/assimp/assimp/issues/1404: set name with merged meshes for output mesh. 2017-09-07 20:30:17 +02:00
Kim Kulling f8146e4da2 fix the buil 2017-08-31 14:15:23 +02:00
Kim Kulling 2df704edef fix the buil 2017-08-31 14:06:56 +02:00
Kim Kulling 82f0dae835 FIx build 2017-08-31 11:53:00 +02:00
Kim Kulling 11f70e2140 Tests: add 3D-importer test. 2017-08-31 11:39:10 +02:00
Kim Kulling 00e3b03c5b closes https://github.com/assimp/assimp/issues/1406: fix merge issue + improve 3MF-tests 2017-08-31 11:04:13 +02:00
Kim Kulling 267d3f41e8 ply-loader: add brackets. 2017-08-03 14:58:39 +02:00
Kim Kulling ba658e7813 ply-importer: fix creation of vertex attributes. 2017-08-03 14:57:48 +02:00
Kim Kulling 4b860dfc42 fix build second try 2017-07-27 13:31:22 +02:00
Kim Kulling d74306ad67 fix build 2017-07-27 13:07:26 +02:00
Kim Kulling cf0a83de17 unittests: fix build. 2017-07-25 09:46:54 +02:00
Kim Kulling 4013b319af unittests: add missing include to utProfiler. 2017-07-25 09:38:35 +02:00
Kim Kulling 256f28432a unittests: fix the build again. 2017-07-25 09:37:28 +02:00
Kim Kulling 2cb1a9efc6 Profiler: add a unittest. 2017-07-25 00:00:43 +02:00
Kim Kulling b394546e55 unittests: fix typo. 2017-07-18 20:53:47 +02:00
Kim Kulling 6f9dabe49c unittests: fix version test. 2017-07-18 20:42:55 +02:00
Kim Kulling d40b6089e8 Fix compiler warnings + one review finding. 2017-07-09 22:17:35 +02:00
Kim Kulling 27b7b44c9d fix unittests. 2017-06-28 20:11:13 +02:00
Kim Kulling 5011e382c7 unittest: fix compiler warning. 2017-06-21 23:02:26 +02:00
Kim Kulling 51520cb5f1 unittest: Fix compiler warning 2017-06-15 08:37:44 +02:00
Kim Kulling e1df9e5be9 Merge branch 'master' of https://github.com/assimp/assimp 2017-06-10 11:19:25 +02:00
Kim Kulling 616a18b0c7 Unittests: fix uppercase typo in export path for ply export test. 2017-06-09 21:57:41 +02:00
Kim Kulling ad74bfc260 Unitetsts: reformats. 2017-06-09 20:20:24 +02:00
Kim Kulling 548c09271b ply-exporter: add unittest. 2017-06-07 14:06:38 +02:00
Kim Kulling c121cec68a Obj-Importer: introduce working test for line breaks. 2017-05-29 22:00:13 +02:00
Kim Kulling d30b1e585c Tests how o adress this topic. 2017-05-28 22:25:06 +02:00
Kim Kulling 96839bd860 Unittests: fix import material test. 2017-05-26 20:29:21 +02:00
Kim Kulling e93355c8b4 Build: fix some compiler warnings for g++. 2017-05-26 09:18:23 +02:00
Kim Kulling 1b4cbcc6ad Merge branch 'master' of https://github.com/assimp/assimp 2017-05-25 22:40:36 +02:00
Kim Kulling f3407ef804 aiMetaData: introduce aiMetaData::Dealloc. 2017-05-25 22:35:27 +02:00
Kim Kulling 1bfff8ba1d ObjImporter: Add unittest. 2017-05-22 21:11:01 +02:00
Kim Kulling 3d5e94477f Merge pull request #1272 from assimp/issue-1262
closes https://github.com/assimp/assimp/issues/1262: fix .
2017-05-19 23:13:40 +02:00
Kim Kulling badd8cb6a4 OpenGEX: fix lowercase typo for linux. 2017-05-19 23:00:57 +02:00
Kim Kulling febf94f6aa Merge pull request #1212 from aoowweenn/umw_dev
MikuMikuDance Format
2017-05-17 12:01:46 +02:00
Kim Kulling 3f68278ea0 Merge branch 'master' into issue-1262 2017-05-16 21:53:35 +02:00
Kim Kulling 6c70edaf28 build: add missing files. 2017-05-16 21:46:04 +02:00
Kim Kulling a45b5cdfb5 OpenGEX: fix invalid handling with color4 token. 2017-05-16 21:45:23 +02:00
Kim Kulling 0c3a145729 issue-1266: add unittest for it. 2017-05-15 21:18:34 +02:00
Kim Kulling a2b8d66a86 Update license info. 2017-05-09 19:57:36 +02:00
Kim Kulling f60f1544f7 Merge branch 'master' of https://github.com/assimp/assimp 2017-04-19 19:57:56 +02:00
Kim Kulling 1a8b23712e Unittests: add validation for TestIOSystem parameters. 2017-04-19 19:57:20 +02:00
Kim Kulling c1d1dfadb3 Unittests: prepare ctest usage. 2017-04-17 21:25:57 +02:00
Kim Kulling ad80f97930 closes github.com/assimp/assimp/issues/1228: use test extension for exported test files. 2017-04-17 14:26:54 +02:00
Kim Kulling babb783336 Unittest: add missing test for ply-parser. 2017-04-17 14:15:33 +02:00
Andy Maloney b64882f4c7 Fix spelling 2017-04-11 16:33:13 -04:00
Kim Kulling dfff37f724 X3D: add working example. 2017-03-29 21:13:44 +02:00
aoowweenn 0a8966a3e6 add .pmx sample 2017-03-27 23:17:48 +08:00
aoowweenn 51dae22828 merge master and adjust assimp/DefaultIOSystem.h 2017-03-27 22:35:19 +08:00
Kim Kulling baafa63621 Unittests: add 3mf load test. 2017-03-14 19:24:20 +01:00
Kim Kulling bb7f387bcf Merge branch 'master' of https://github.com/assimp/assimp 2017-03-11 22:13:48 +01:00
Kim Kulling 1c6145b39e Merge branch 'fix-include-api' of https://github.com/Lugdunum3D/assimp into Lugdunum3D-fix-include-api 2017-03-11 18:19:36 +01:00
Kim Kulling 143f91d541 Unittests: fix version test. 2017-03-08 10:54:12 +01:00
Kim Kulling b725d7dbf5 Merge branch 'cleanup_includes' of https://github.com/assimp/assimp into cleanup_includes 2017-03-08 10:27:57 +01:00
Kim Kulling 3bd9efa82c Cleanup_includes: fix linux build. 2017-03-08 09:55:44 +01:00
aoowweenn 7226d73682 merge master and mv FindDevIL to cmake-modules 2017-03-05 23:07:06 +08:00
Kim Kulling 8d27945619 Merge branch 'master' into cleanup_includes 2017-03-05 15:15:29 +01:00
Kim Kulling e6dcad384a Fix missing includes. 2017-03-05 15:05:40 +01:00
Antoine Bolvy 5dd1bb9d6c Export DefaultIOSystem and move it with DefaultIOStream to include/ instead of code/ 2017-02-28 11:44:04 +09:00
Kim Kulling a75eb86af4 Issue-1169: fix clang build. 2017-02-27 21:59:50 +01:00
Kim Kulling 4d92c01933 Merge branch 'master' of https://github.com/assimp/assimp 2017-02-27 20:19:42 +01:00
Kim Kulling 7a47f1f8f7 Issue-1183: add stp to the list of supported extensions for step-files. 2017-02-27 20:11:59 +01:00
aoowweenn 4045466f73 pass through but panic 2017-02-24 08:35:15 +08:00
Kim Kulling 0f3731ab20 Issue-1169: add a unittest. 2017-02-21 17:12:22 +01:00
Kim Kulling a75fa44bde PLY: prepare bugfix by adding missing unittest. 2017-02-11 14:19:34 +01:00
Kim Kulling db1c6f5fc8 Update utObjImportExport.cpp
Unittest: make execution of base exporter test for obj depending of ASSIMP_BUILD_NO_EXPORT.
2017-02-06 13:15:53 +01:00
Kim Kulling 8a7e30b6a7 Update utObjImportExport.cpp
Unittest: Make obj-exporter test depending on export state.
2017-02-06 13:06:47 +01:00
Kim Kulling 95387298ab Obj-Exporter test: fix test fixure if no export was requetsed. 2017-02-05 21:00:06 +01:00
Kim Kulling da34ffd6ce Fix the build: next try ( with full namespaces ). 2017-02-05 20:51:18 +01:00
Kim Kulling 6ed1f7570e Merge branch 'master' of https://github.com/assimp/assimp 2017-02-05 19:30:11 +01:00
Kim Kulling 31bb9f7ba6 Obj: fix code review findings. 2017-02-04 18:32:04 +01:00
Kim Kulling 11e2ca173d Fix the build. 2017-02-04 18:15:50 +01:00
Kim Kulling 692fb216f7 closes https://github.com/assimp/assimp/issues/809: add vertex color
export support.
2017-02-04 14:51:23 +01:00
Kim Kulling ce14a05280 unittest: reenable LWO import test. 2017-01-16 20:23:37 +01:00
Kim Kulling f16387e5a7 Merge pull request #1135 from hblasins/objExtension
Added support for parameters Ni and Tf in OBJ/MTL file format.
2017-01-16 20:22:41 +01:00
Kim Kulling c6cceef867 Scene: add method to add children. 2017-01-15 17:37:45 +01:00
Henryk Blasinski 17cae8ac5a Added support for parameters Ni and Tf in OBJ/MTL file format. 2017-01-12 17:11:17 -08:00
Kim Kulling 4d8c1bb54c unittest: add missing file to fix the build. 2017-01-12 21:41:19 +01:00
Kim Kulling 69052812f5 unit: add format import test for lws-format. 2017-01-12 20:17:35 +01:00
Kim Kulling 2b4f16d2d2 unittest: add import test for ifc file importer. 2017-01-09 20:01:13 +01:00
Kim Kulling c62015fe6b unittest: add unittest for hmp import format. 2017-01-07 21:29:22 +01:00
Kim Kulling a0ab85b159 unittest: add a disabled glft unittest. 2017-01-07 21:16:24 +01:00
Kim Kulling 779c698453 unittest: add unittest for CSM format importer / exporter. 2017-01-07 21:07:41 +01:00
Kim Kulling a9d3a60617 unittest: add import export test for collada file importer exporter. 2017-01-07 20:32:35 +01:00
Kim Kulling 8b015b31ec unittest: add unittest for bvh file importer. 2017-01-07 20:27:59 +01:00
Kim Kulling 3b05a720d6 unittest: add unittest for b3d format importer / exporte3r. 2017-01-07 20:02:36 +01:00
Kim Kulling 80f3c64b87 unittest: add unittest from ASE format importer. 2017-01-07 19:58:27 +01:00
Kim Kulling 83b88ae5b8 unittest: add import export unittest for AMF-format. 2017-01-07 17:58:31 +01:00
Kim Kulling abb507bf6d unittest: add unittest form 3ds-format. 2017-01-07 17:48:33 +01:00
Kim Kulling b78af0f80f unittest: new unittest for 3D-importer. 2017-01-07 17:45:29 +01:00
Kim Kulling 61ddd9141c Unittest: new unittests. 2017-01-07 17:33:18 +01:00
Kim Kulling 061afba7ab Blender: add import test to unit test suite. 2017-01-07 16:14:09 +01:00
Kim Kulling dfa3409de9 Blender: add missing constructors. 2017-01-05 20:23:02 +01:00
Kim Kulling 2038d01f22 Unittest: fix compiler warning: unused variable. 2016-12-31 16:20:59 +01:00
Kim Kulling 6813ed49bb Unittest: fix compiler warning: signed unsigned mismatch. 2016-12-31 16:18:13 +01:00
Kim Kulling 7bb59004c3 SceneDiffer: fix compiler warning: unused function. 2016-12-31 16:14:06 +01:00
Kim Kulling 4e43763523 Unittests: fix compiler warning signed unsigned mismatch. 2016-12-31 16:00:03 +01:00
Kim Kulling b934331985 closes https://github.com/assimp/assimp/issues/1111: add warning when
detecting invalid mat definition.
2016-12-19 20:44:00 +01:00
Kim Kulling 5e101c32dd Build: fix typo in filename. 2016-12-12 21:34:55 +01:00
Kim Kulling 859d15d3a0 closes assimp/assimp/issues/899: fix parsing of texture name. 2016-12-12 21:22:03 +01:00
Kim Kulling dcaaabcb10 Merge pull request #1103 from assimp/dxf_testsuite
Initial test suite for DFX-format.
2016-12-08 19:42:21 +01:00
Kim Kulling 4ed6db57a2 Initial test suite for DFX-format. 2016-12-08 19:24:25 +01:00
Kim Kulling eb302dab82 Remove compile warning. 2016-12-03 09:23:07 +01:00
Kim Kulling 05510f82af Unittest: fix a uppcase typo for the example FBX-file. 2016-12-02 16:47:54 +01:00
Kim Kulling 769805efd0 Merge branch 'master' into issue_1089 2016-12-02 14:31:18 +01:00
Kim Kulling dcfc696e86 FBX: woraround for issue 1089. 2016-12-02 11:32:34 +01:00
Kim Kulling edfb3fc410 New tests for importers. 2016-12-01 10:29:39 +01:00
Kim Kulling c80777f13f Enable SIBImport test. 2016-11-30 17:49:22 +01:00
Kim Kulling a46b481985 Generate TestModelFactory for uniform test models in unittests. 2016-11-30 16:36:45 +01:00
Kim Kulling 12ea506504 Enable unittest for apacity bug for dae files. 2016-11-30 15:05:06 +01:00
Kim Kulling c54dcf6180 Remove dead code. 2016-11-29 19:38:42 +01:00
Jared Mulconry 6f4cb363c8 Added a preprocessor definition for MSVC to silence safety warnings regarding
C library functions. This addresses all warnings for MSVC x86 and x64 when
building zlib, tools and viewer as a static lib.
2016-11-27 17:34:34 +11:00
Jared Mulconry 98e7eb476d Merge branch 'master' of https://github.com/assimp/assimp into implementation_warning_fix
# Conflicts:
#	code/ObjFileImporter.cpp
2016-11-27 13:00:33 +11:00
Kim Kulling d82fd0d750 closes https://github.com/assimp/assimp/issues/1076: use ai_assert instead
of assert.
2016-11-24 21:15:07 +01:00
Kim Kulling 1939aca31c anim-header: fix some review findings + andd base tests. 2016-11-23 22:00:52 +01:00
Kim Kulling 83e472cef3 Merge branch 'master' of https://github.com/assimp/assimp 2016-11-23 20:20:45 +01:00
Kim Kulling d87400b76a Fix some findings in animation header. 2016-11-23 20:20:11 +01:00
Jared Mulconry f206249fbf Merge branch 'master' of https://github.com/assimp/assimp into implementation_warning_fix
# Conflicts:
#	code/AMFImporter_Postprocess.cpp
#	code/FBXConverter.cpp
#	code/IFCLoader.cpp
#	code/NDOLoader.cpp
#	code/glTFAsset.inl
2016-11-23 22:24:04 +11:00
Kim Kulling 61e974f767 Merge pull request #1074 from assimp/testsuite_aiMetadata
Ue new alloc semantic when using aiMetadata + increase test coverage.
2016-11-22 21:20:02 +01:00
Kim Kulling a446d75250 Ue new alloc semantic when using aiMetadata + increase test coverage. 2016-11-22 21:06:14 +01:00
Kim Kulling c5e3058ab3 Fix coverity findings. 2016-11-22 10:22:15 +01:00
Kim Kulling 566aa1ae00 Merge branch 'master' of https://github.com/assimp/assimp 2016-11-21 23:55:14 +01:00
Kim Kulling c61146f52e Add unittest fixure for aiMetadata. 2016-11-21 23:54:39 +01:00
Kim Kulling 9e07701f3e Merge branch 'master' into coverity_scan 2016-11-21 10:18:17 +01:00
Jared Mulconry 06beb50391 Fixed build warnings on MSVC14 x64 in the Blender format sources, as well as
build warnings in tests.
2016-11-19 01:54:27 +11:00
Kim Kulling cae8a172c3 Merge branch 'master' into coverity_scan 2016-11-18 11:38:45 +01:00
Kim Kulling a9c5b6f1be Ensure that filelist for assimp lib is not empty for coveralls. 2016-11-17 19:57:24 +01:00
Kim Kulling 7307c07623 Add missing cmake mocules 2016-11-16 16:46:54 +01:00
Kim Kulling 284b755cf9 add test source to coveralls again. 2016-11-16 16:36:22 +01:00
Kim Kulling 4ac3a0af8f iEnable coverall for tests. 2016-11-16 16:19:43 +01:00
Kim Kulling 6c5e475d14 Still working on config. 2016-11-16 16:11:30 +01:00
Kim Kulling 53d6adeb53 Enable coveralls measurement 2016-11-16 12:24:55 +01:00
Kim Kulling 76794f4aa7 Enableing test coverage for unittests. 2016-11-16 12:06:21 +01:00
Kim Kulling 631eef49c3 BatchImporter: make validation configurable and add unittest for class. 2016-11-11 12:49:05 +01:00
Kim Kulling 888ea72f20 Merge pull request #1061 from assimp/optimized_faces_in_obj
ObjImporter: remove unnecessary allocations of std::vector
2016-11-09 20:52:22 +01:00
Kim Kulling ae956044aa ObjImporter: remove unnecessary allocations of std::vector in obj-specific
face.
2016-11-09 20:09:45 +01:00
Kim Kulling 5ff1c39e02 Obj-Parser: Fix performance issue. 2016-11-08 20:34:55 +01:00
Kim Kulling d4223d1fce closes https://github.com/assimp/assimp/issues/105://github.com/assimp/assimp/issues/1057 2016-11-06 19:36:37 +01:00
Kim Kulling 337990510c Fix rounding issue in unittest for block calculation. 2016-10-30 11:16:31 +01:00
Kim Kulling 293654fe7c Fix unittest. 2016-10-30 08:55:11 +01:00
Kim Kulling b9261f01a3 Obj-Stream-Handling: fix compiler-errors and warnings. 2016-10-29 21:41:24 +02:00
Kim Kulling 8bae6ad7b7 Add missing license info. 2016-10-29 19:11:00 +02:00
Kim Kulling b13c30f50e Obj: Fix some small issues 2016-10-29 19:07:30 +02:00
Kim Kulling 084a6f6415 Obj-Streaming: add new io-stream for line-wise cached reading + first
bugfixes.
2016-10-12 15:30:04 +02:00
Alexandr Arutjunov 165f0f0548 [+] Few models for AMF and X3D. 2016-10-06 17:44:54 +03:00
Kim Kulling b61aaf7ec4 New animation file for OpenGEX. 2016-10-05 20:14:42 +02:00
Kim Kulling 3aa1bdfd12 SceneDiffer: add face tester. 2016-09-26 20:53:42 +02:00
wise86Android 93d9b19995 remove unused unit test 2016-09-24 19:22:10 +02:00
wise86Android 04e0552f9e 134062 Use after free 2016-09-24 12:33:53 +02:00
Kim Kulling e72dbad130 Refactoring: rename ModelDiffer to Scenediffer. 2016-09-23 10:22:14 +02:00
Kim Kulling 68d33a99a1 ModelDiffer: update material testser + create material for unittests. 2016-09-23 10:10:00 +02:00
Kim Kulling 1e7af6f24a ObjImporter: fix test for vertices import. 2016-09-22 09:15:41 +02:00
Kim Kulling ce2532e93b ModelDiffer: use Equal-method to compare vectors. 2016-09-20 19:48:03 +02:00
Kim Kulling 2e943e5443 Obj: prepare unittest and add missing tests for mesh comparison in
Modeldiffer.
2016-09-20 11:27:58 +02:00
Kim Kulling 61419cc0ae Unittest: add first approach for modeldiffer. 2016-09-19 21:35:45 +02:00
wise86Android 99c34961b9 Covery: 152484 Buffer not null terminated 2016-09-18 21:37:31 +02:00
Kim Kulling f51cd4c6d4 Merge branch 'master' into coverity_scan 2016-09-12 12:42:11 +02:00
Kim Kulling 44a7d600e6 unittests: add platform libs for linux build. 2016-09-11 17:28:20 +02:00
Kim Kulling 68e6f2a32c Unittest: add gtest as part of the contrib to avoid build issues on
offline systems.
2016-09-11 16:06:29 +02:00
Kim Kulling 22cfe84cba 3MF: add a simple box example from the 3MF-sample repo. 2016-09-10 09:27:29 +02:00
Kim Kulling 91f24db739 Merge branch 'master' into coverity_scan 2016-09-02 10:25:36 +02:00
Kim Kulling bdcff35d5d closes https://github.com/assimp/assimp/issues/901 2016-08-12 17:13:18 +02:00
Kim Kulling 002b9c8303 Update regression db. 2016-07-18 08:52:26 +02:00
Kim Kulling b6257b82d4 Regression Ui: fix invalid type cast. 2016-07-18 08:51:53 +02:00
Kim Kulling 6994b89347 Blender: Add a positive test for object compare. 2016-07-17 13:57:07 +02:00
Kim Kulling 5fc3ee9a21 fix https://github.com/assimp/assimp/issues/946: use correct test for objectcompare in blender. 2016-07-17 13:54:01 +02:00
Kim Kulling e3dcbcc766 Merge branch 'master' into coverity_scan 2016-07-16 11:38:27 +02:00
Chris Russ 05a6ee6473 Adding double precision import support for formats that can be exported 2016-07-16 18:23:33 +10:00
Chris Russ fa1d6d8c55 propagating precision requirments into operations 2016-07-16 18:23:33 +10:00
Kim Kulling 742e513deb Add new testcase. 2016-07-15 11:31:01 +02:00
Kim Kulling e0d3fd2e2e Unittests: add new unittest case 2016-07-15 10:36:47 +02:00
Kim Kulling 61c3674fa5 Merge branch 'master' into coverity_scan
Conflicts:
	test/regression/db.zip
2016-07-12 10:17:16 +02:00
Kim Kulling 2a8936a217 Regression testsuit: fix dabatabe to latest changes. 2016-07-12 09:02:47 +02:00
Kim Kulling 9678da72c9 Public includes: add pragma statement and formalize include guard schema. 2016-07-11 20:56:38 +02:00
Kim Kulling 070fb3363f Closes https://github.com/assimp/assimp/issues/940: use standard offsetof
instead of an own version.
2016-07-08 18:30:26 +02:00
Kim Kulling 7c63208515 Fix resource leaks in unit tests. 2016-07-04 22:15:23 +02:00
Kim Kulling 32e8c80c24 Fix resource leak. 2016-07-04 20:19:24 +02:00
Kim Kulling 5dc4a126b5 Merge branch 'master' into coverity_scan
Conflicts:
	test/regression/db.zip
2016-06-30 19:00:22 +02:00
Kim Kulling 072a9e77ad Unittests: diable broken test. 2016-06-28 11:59:20 +02:00
Kim Kulling 5321072007 Static code analysis: fix minor finding. 2016-06-28 11:25:04 +02:00
Kim Kulling 9b6de15b74 closes https://github.com/assimp/assimp/issues/904: add ai_strtof for
VS2012.
2016-06-20 20:30:29 +02:00
Kim Kulling 4e3baf7cb7 Update regression tests. 2016-06-06 21:38:01 +02:00
Kim Kulling 81f0322c2b Update regression suite. 2016-06-06 21:26:11 +02:00
Kim Kulling 398595225e Closes issue888: fix compiler warnings for using a gnu-extension (
anonymous structs ).
2016-06-05 21:06:05 +02:00
Kim Kulling f6ee819a42 Update regression test results. 2016-05-26 01:18:37 +02:00
Alexander Gessler cd4f212b5f Merge pull request #891 from ciechowoj/blender_materials
Blender materials
2016-05-22 14:39:45 +02:00
Kim Kulling c9c6fda28e Merge pull request #889 from ciechowoj/area_lights
Adds support for area lights.
2016-05-18 00:11:05 -07:00
ciechowoj c554b55f97 Merge branch 'blender_materials'
Conflicts:
	test/CMakeLists.txt
2016-05-17 22:52:18 +02:00
ciechowoj c4a542a994 Adds blender material loading. 2016-05-17 21:17:51 +02:00
Kim Kulling 5168a6c8ca Regression tests: update database. 2016-05-17 07:46:51 -07:00
ciechowoj 913f26475d Adds importing blender material. 2016-05-16 21:17:58 +02:00
ciechowoj 25d84a6aff Adds support for area lights. 2016-05-16 13:04:43 +02:00
Kim Kulling 6575696459 OpenGEX: fix coverity findings. 2016-05-15 18:57:10 +02:00
Kim Kulling e1084b5314 Merge branch 'feature/opengex_missing_features' 2016-05-14 10:36:46 +02:00
Otger 159af06524 Fixed GLTF bugs, and added a few test models 2016-05-10 16:25:15 +02:00
Kim Kulling d6ecc8b621 Regression test suite: add ogex-files to database. 2016-05-09 23:55:55 +02:00
Kim Kulling 2323320df8 OpenGEX: new camra model. 2016-05-09 20:50:22 +02:00
Kim Kulling e9085097f3 OpenGEX: add light impl and add examples. 2016-05-09 20:43:22 +02:00
Alexander Gessler c80fe16323 Update regression test suite.
gltf could be a regression, left a question here: https://github.com/assimp/assimp/pull/697
2016-05-05 16:59:26 +02:00
Kim Kulling 829e56df0c cmake env: add license info. 2016-04-23 09:42:05 +02:00
Kim Kulling f905f5700f regression ui: add default editor for linux. 2016-04-21 19:19:06 +02:00
Kim Kulling f9cba1c4ea regression test suite: fix usage of run. 2016-04-21 17:24:01 +02:00
Kim Kulling 69ac97d709 Update run.py
resolve conflict.
2016-04-20 12:37:48 +02:00
Kim Kulling c122bb2def Regression test suite: update run. 2016-04-20 00:04:26 +02:00
Kim Kulling 3659570292 regression ui: add missing functionalities for setup, version and update. 2016-04-19 16:01:21 +02:00
Kim Kulling 0ec1e91722 Regression Testsuite: update database. 2016-04-19 08:49:14 +02:00
Kim Kulling e74425dbc3 Regression ui: add functionality to open the log. 2016-04-18 16:13:18 +02:00
Kim Kulling dec93efc92 AssxmlExporter: fix crash in writing header info in VS2015. 2016-04-16 18:42:49 +02:00
Kim Kulling fe60654c1a Update run.py
Regression: fix typo.
2016-04-16 15:16:35 +02:00
Kim Kulling 3893c593de Regression test suite: fix typo. 2016-04-16 08:41:31 +02:00
Kim Kulling 1cce8426c6 Update run.py
Regression tests: fix python2.7-style logs via print
2016-04-13 09:21:26 +02:00
Kim Kulling 9e922582c0 Regression tests: fix invalid log statement. 2016-04-12 23:18:08 +02:00
Kim Kulling dc22871aef Regression test suite: fix typo. 2016-04-12 18:46:32 +02:00
Kim Kulling 9105fac560 test: add pk3 to blacklist for regression 2016-04-12 00:02:31 +02:00
Kim Kulling dd5781027e LWS: remove broken model. 2016-04-08 19:23:24 +02:00
Kim Kulling b42b974282 Regression test suite: remove broken model. 2016-04-08 18:55:33 +02:00
Kim Kulling 6b243230b2 C++11-Support: remove boost. 2016-04-07 21:31:04 +02:00
Kim Kulling 632b58f27e Merge pull request #850 from mensinda/no-boost
Replaced boost with c++11 features
2016-04-06 21:16:23 +02:00
mensinda b37e25cd7d Replaced boost::format with internal formater 2016-04-06 00:03:05 +02:00
Kim Kulling 20630e950a Regression test suite: add ui for simpler text execution. 2016-04-05 22:02:02 +02:00
Eric Engestrom 87e7cf00a2 Fix spelling mistakes 2016-04-03 01:38:00 +01:00
Kim Kulling e5f07dc96c License info: fix dates 2016-02-25 18:22:59 +01:00
boxdot 6de709410f Fix special case in aiMatrix3x3t::FromToMatrix. 2016-02-15 20:53:39 +01:00
Kim Kulling 322c959424 Merge pull request #791 from trond/collada_animation_clip
Collada animation clip support
2016-02-11 22:11:27 +01:00
Trond Abusdal 14e5cf380c Added regression test file for <library_animation_clips> support. Generated from Blender using 'Better Collada Exporter' from Godot team. 2016-02-11 00:22:32 +01:00
Kim Kulling 1550191256 Closes https://github.com/assimp/assimp/issues/777: fix invalid skipping
of line during face defintion parsing.
2016-02-08 18:07:00 +01:00
Kim Kulling 51c9a9f80c Unittests: add test if export is disabled. 2016-02-05 18:31:19 +01:00
Kim Kulling a74b321ed1 Add unittests for defect reproduction. 2016-02-04 20:43:02 +01:00
wise86Android c7f69e151e fix memory leak 2016-01-17 15:18:12 +01:00
wise86Android 4af9632269 fix memory leak 2016-01-17 00:00:43 +01:00
wise86Android bd032488e4 remove read unitilize memory 2016-01-16 23:42:43 +01:00
Kim Kulling 3d6e1483d8 Update readme. 2015-12-14 18:42:31 +01:00
Kim Kulling 6b297b8960 New obj regression data. 2015-12-14 18:39:32 +01:00
Kim Kulling 6dfc99aa3d New db.zip. 2015-12-14 18:38:01 +01:00
Kim Kulling e0015b8610 Regression: updated test db. 2015-12-14 18:12:14 +01:00
Kim Kulling 87b3af4c3b Merge branch 'issue-707' of https://github.com/ov/assimp into ov-issue-707 2015-12-14 17:46:54 +01:00
rmitton d952823ffd Importer for Silo SIB files.
Wrote an importer for Nevercenter Silo's binary SIB model format
2015-12-13 22:14:19 -08:00
Vitaly Ovchinnikov 6214fbfbbe this patch fixes multiple objects generation in OBJ reader if faces are prepended with 'usemtl' line 2015-12-13 22:54:50 +13:00
Kim Kulling bcff6210b3 Regression test: fix deprecated python print call. 2015-12-08 21:33:08 +01:00
Kim Kulling 0a6788d56f try to fix build. 2015-12-07 20:43:01 +01:00
Kim Kulling f839232938 Uinittests: add missing license info headers. 2015-12-02 14:54:29 +01:00
Kim Kulling db8845d2b2 glTF: add jsn reader + example model to work on. 2015-11-25 22:03:39 +01:00
Otger 3c358a8e34 Updated dumps for FBX files 2015-11-24 16:33:31 +01:00
Kim Kulling e6ac1ed66a glTF-Importer: add files. 2015-11-08 20:29:05 +01:00
Kim Kulling 02ad376631 assimp/issues/685: add test for correct usage. 2015-11-07 10:00:55 +01:00
Kim Kulling 0ea4682586 Collada Export test: fix unit test for lightsCollada Export test: fix unit
test for lights..
2015-11-02 21:09:26 +01:00
Kim Kulling c642d9f25e Collada exporter: fix access violation. 2015-11-01 15:15:39 +01:00
Kim Kulling 95c20cb5ab Collada exporter: fix invalid access to already release scene after
reimporting exported scene.
2015-11-01 13:48:55 +01:00
Kim Kulling 6be8df5fde Boost::tuple: fix compiler-specifc test. 2015-11-01 12:20:35 +01:00
Kim Kulling 6f75ea5702 Merge branch 'master' of https://github.com/assimp/assimp 2015-10-31 09:07:21 +01:00
Turo Lamminen 280641cee6 Add a testcase for invalid OFF file
Testcase generated by AFL which used to crash the OFF loader
2015-10-28 21:54:45 +02:00
Kim Kulling 5160975138 Merge branch 'master' of https://github.com/assimp/assimp 2015-10-27 19:48:36 +01:00
Jaakko Keränen 1a1fd897b6 Updated regression test database for MD5 files 2015-10-07 17:02:48 +03:00
Kim Kulling 4a8b459706 OpenDDLParser: latest greatest. 2015-10-01 20:29:15 +02:00
Kim Kulling e4510c26ba Obj-Importer: fix https://github.com/assimp/assimp/issues/641 2015-08-30 15:21:53 +02:00
Kim Kulling 524834c307 Fix line endings. 2015-08-08 18:02:37 +02:00
rdb 1eef4c387f Correct value for mColorAmbient for COLLADA files 2015-07-05 14:30:27 +02:00
Richard 90dd01c848 Fixed: Correct path location 2015-06-30 19:59:55 -06:00
Richard ac23795778 Refactor: Use LF line endings 2015-06-30 19:59:55 -06:00
Richard 267ff0b93c Refactor: Rename README to README.txt 2015-06-30 19:59:55 -06:00
Richard 08169a6934 Fixed: Use CMake to identify directory containing test models 2015-06-30 19:59:55 -06:00
Richard bceac46d39 Fixed: Remove absolute path from exported file 2015-06-29 22:23:04 -06:00
Kim Kulling 83defdddc4 Merge branch 'master' of https://github.com/assimp/assimp 2015-06-30 00:21:11 +02:00
Kim Kulling 011e1e9e16 Regression suite: fix return value. 2015-06-30 00:20:20 +02:00
Kim Kulling 72bbbcac52 Regression suite: returns != 0 in case of failures. 2015-06-30 00:17:49 +02:00
Richard 6ae07f8da5 Refactor: Expand tabs to 4 spaces 2015-06-28 16:08:06 -06:00
Richard 4b0f9f3e89 Refactor: Use LF for end of line 2015-06-28 16:08:06 -06:00
Richard 0af1f0d32f Refactor: Apply editor config settings to CMake files and generated sources 2015-06-28 16:08:06 -06:00
Richard b5f81fbab0 Implemented: Add editor config for test code 2015-06-28 16:08:06 -06:00
Richard 1d96486437 Refactored: Reformat CMake files to conform to editor config 2015-06-28 15:50:57 -06:00
Peter LaValle 69b9bfec51 skips tests on systems without git 2015-05-31 13:14:16 +01:00
Alexander Gessler 9538b7ed42 Merge pull request #570 from wise86-android/colladaExportLightAndCamera
Collada export light and camera
2015-05-23 12:06:23 +02:00
wise86Android 26b3328f3b fix xml syntax + more deap test 2015-05-23 11:03:56 +02:00
wise86Android 2c194f629a fix macro for be uesed with expression 2015-05-19 21:57:51 +02:00
wise86Android 08499dbd0b add test file 2015-05-17 21:25:47 +02:00
wise86Android fb4eb83e84 add the ability to export cameras information in a collada file 2015-05-17 20:54:45 +02:00
wise86Android af54bf4c42 test fail, fix file path 2015-05-16 12:28:49 +02:00
Alexander Gessler 7771ce5db2 Update regression db. 2015-05-12 20:59:54 +02:00
Alexander Gessler faea2ecccc OBJ: Support spaces in material names, fixes #545.
Adding test file.
2015-05-10 23:50:18 +02:00
Alexander Gessler 67fb135ce8 Fix syntax errors. 2015-05-02 01:00:04 +02:00
Alexander Gessler 068778953a Updated regression db for Collada. 2015-05-02 00:48:04 +02:00
Alexander Gessler 1851bf3acc Merge branch 'master' of https://github.com/assimp/assimp 2015-05-02 00:39:28 +02:00
Alexander Gessler 7eb5586c05 Output files in alphabetical order. 2015-05-02 00:33:29 +02:00
Alexander Gessler 3ded2d9123 Add script to determine if regression suite failures are considered acceptable as per the whitelist or not. 2015-05-01 23:24:25 +02:00
Léo Terziman 07f3f4b487 Updated unit tests to use new SetProperty interface 2015-04-28 17:27:20 +02:00
Alexander Gessler edd4953a55 Merge branch 'master' of https://github.com/assimp/assimp 2015-04-16 12:38:05 +02:00
abma 8c45a4dc3b Merge remote-tracking branch 'origin'
Conflicts:
	code/C4DImporter.cpp
	code/OgreImporter.h
2015-04-16 01:03:00 +02:00
abma bf4913b5c9 remove AssimpPCH.h: fixes #534 2015-04-16 01:00:17 +02:00
abma 83777da98b fix run.py permissions 2015-04-15 21:22:39 +02:00
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 acef8198e0 Add whitelist of expected regression suite failures. 2015-04-15 01:22:29 +02:00
Alexander Gessler 03ea065271 Ignore Example.ogex for regression tests. OpenGEX importer is flaky and outputs nodes in different order each time. 2015-04-15 01:20:58 +02:00
Alexander Gessler 52a5ff2db2 Update IFC entries in regression database. 2015-04-15 01:18:20 +02:00
Alexander Gessler fb45e4d512 Make command line parameters in gen_db script more predictable. 2015-04-14 10:22:33 +02:00
Alexander Gessler 5a8d5605a5 Update README for regression test suite. 2015-04-13 22:24:43 +02:00
Alexander Gessler 0c9bbadf5f Update regression database (again). 2015-03-28 13:47:52 +01:00
Alexander Gessler 8d3853022a Merge branch 'master' of https://github.com/assimp/assimp 2015-03-28 13:44:11 +01:00
Alexander Gessler c07cddff9e Make regression test runner include "expected failure, ok" cases in its statistics. This previously caused discrepancy between the runner and the test generator. 2015-03-28 13:43:52 +01:00
Alexander Gessler d717c4b2dd Fix to have gen_db.py also include files that accidentally have uppercase file extensions, affecting ~200 files previously skipped. 2015-03-28 13:36:47 +01:00
Alexander Gessler 0943936b31 Fix an issue in the regression DB generator that caused the very last file extension in the list returned by `assimp listext` to be ignored because of a trailing CRLF. 2015-03-28 13:18:54 +01:00
Alexander Gessler fcdefc7b16 Re-enable LWS for regression testing (original reason no longer applies), blacklist some material file format otherwise causing noise. 2015-03-28 13:18:06 +01:00
Alexander Gessler 98039ee76e Update regression db. 2015-03-28 12:53:24 +01:00
Alexander Gessler fafe5584b6 gen_db.py no longer generating dumps for files blacklisted (settings.files_to_ignore). 2015-03-28 12:12:53 +01:00
George Papadopoulos 08ba782bd5 [FBX] add support for multiple animations (by using LocalStart/LocalStop in takes)
+ change key type from uint to int (fixes bugs from negative int_t becoming a junk uint_t value )
+ detect and ignore channels with no keys in the specified take start/stop window
+ add test model with multiple animations
2015-03-26 23:23:38 +02:00
Kim Kulling 2717d51f7e Merge remote-tracking branch 'origin/master' into opengex_support
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>

Conflicts:
	code/ParsingUtils.h
2015-03-17 14:26:39 +01:00
Alexander Gessler dca3f09940 Merge pull request #497 from assimp/regression-ci-test
Regression suite fixes, fix cases of non-deterministic output #1.
2015-03-16 09:15:55 +01:00
Alexander Gessler 3554301afe Better regression test logging. 2015-03-15 15:07:17 +01:00
Alexander Gessler e976cc2117 Reduce garbage errors during regression checks. 2015-03-15 01:02:18 +01:00
Alexander Gessler 94fd8c9c16 Remove old batch script to run unit tests. 2015-03-15 00:48:51 +01:00
Alexander Gessler 741b070c7e Add blender 2.71 default scene as test file. 2015-03-15 00:48:16 +01:00
Alexander Gessler c59878e427 Merge branch 'master' of github.com:assimp/assimp
Conflicts:
	code/ColladaLoader.cpp
2015-03-15 00:18:39 +01:00
Alexander Gessler 3080c26a60 Add test files for previously fixed #458. 2015-03-14 19:57:43 +01:00
DenisMikhalev 615041ba15 Add license file for ant-half.ply 2015-03-10 15:00:49 +03:00
DenisMikhalev fa8cdb241d Move ply file to models-nonbsd dir 2015-03-10 09:18:23 +03:00
DenisMikhalev 80bfe7929e Adds half of file for testing crash PlyLoader 2015-03-09 19:51:04 +03: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
Alexander Gessler b2ea487bda Regression test suite: Test files in proper lexicographic order instead of relying on OS directory iteration order. This ensures failures are listed in the same order. 2015-02-03 21:16:16 +01:00
Alexander Gessler 56132ed9bb Regression test suite: make Python files 2.7 backwards-compatible to ease use on Windows where oftentimes only one is easily accessible. Drop deprecated logic to locate assimp binary, we now require the binary to use to be specified in the command line. 2015-02-03 21:14:37 +01:00
Kim Kulling 063b2733fc Merge branch 'master' into opengex_support 2015-01-31 11:09:20 +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 62225f61e4 Merge branch 'master' into opengex_support
Conflicts:
	.gitignore
2015-01-13 20:21:17 +01: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 f84589fec4 Merge branch 'master' into opengex_support 2014-10-24 15:24:32 +02: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
Kim Kulling ed9a466c30 update:
- add OpenGEX parser sceleton
- add base datatypes for OpenGEX support.
2014-09-04 19:41:14 +02: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
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
aramis_acg f98e0925a7 Fix typo in utils.py
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@601 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-13 12:16:26 +00:00
aramis_acg 2d19e7cbbe Make regression suite scripts work on posix as well.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@600 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-13 12:13:53 +00:00
aramis_acg 30ca88e782 Add first version of regression suite (python parts only). Work in progress.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@597 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-12 23:56:10 +00:00
aramis_acg 8ab6bc8a26 - Fix: unittest suite now shutdowns the logging system correctly.
- Add alternative model+ppfx testing sequence to importertest.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@594 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-11 18:38:35 +00:00
aramis_acg e2daf37a39 - Fix http://sourceforge.net/projects/assimp/forums/forum/817654/topic/3591099.
- Add unit test to avoid ppfx-related issue with re-use of Importer's in future.
- X file loader now properly resets all of its members.
- OptimizeMeshes step now properly resets all of its member.
- Fix old (and already deprecated) makefile.mingw.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@593 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-11 18:24:54 +00:00
klickverbot ed41aa8ce1 Renamed CMake project to Assimp, as the semi-full name »AssetImporter« was used nowhere else.
Sorry, kimmi, if this was on purpose – feel free to revert.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@578 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-03 22:07:59 +00:00
klickverbot ac8479f542 Moved private headers to code/ as discussed; removed boost::random workaround which was no longer needed; CMake cleanup part two (Boost detection, …).
Please be quick to suspect this commit if the build should break on Windows/MSVC.

(Again, sorry for the large commit, but I didnt want to flood the commit log with my git-style tiny commits.)

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@577 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-03 21:48:23 +00:00
jonathanklein df9a4bf66c - New Ogre testmodel inclusive blend File
- Changed axes for location keys

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@574 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-03 15:50:32 +00:00
aramis_acg 5738860990 - Change BaseImporter::GetExtensionList to add all known file extensions to a std::set, so uniqueness is guaranteed. Also rewrite all related functions in Importer. NOTE: This does *not* change the public interface.
- FIX build error on vc8/release-noboost x64, ConvertUTF.c had wrong PCH settings.
- ADD knowext and listext verbs to assimp_cmd, add some raw docs.
- Update unit tests to reflect these changes. Currently I keep getting failures in some tests, this needs to be resolved *urgently*.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@567 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-03-02 17:38:01 +00:00
aramis_acg 707b06a7fe Add experimental MS3D loader, static meshes only at the moment.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@542 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-02-07 00:54:48 +00:00
aramis_acg 2e3fee99f0 ADD Vertex utility class to simplify conversion from and to interleaved vertices.
Refactor JoinVerticesProcess to utilize the new utility.
ADD basic operators for aiColor4D, move to dedicated header and implementation file.
ADD some utility functions to SpatialSort.
ADD my existing Catmull-Clark implementation to Assimp for all model formats with support for subdivision surfaces. Slightly WIP, likely to produce errors on non-closed meshes. Currently only implemented in the AC3D loader.
Switch to byteswap intrinsics instead of inline assembly (bswap). Currently MSVC only.
FIX phong shading in assimp_view.
VertexTriangleAdjacency class now also works on arbitrary polygons - UNTESTED, tbd.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@532 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-01-28 21:17:25 +00:00
aramis_acg 1452a7a83d FIX: ColladaLoader now ignores missing 'meter' attribute in Collada files produced by C4D. Adding a c4ddae test file. Thanks to Tobias Rittig to point it out.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@483 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-09-26 21:54:56 +00:00
jonathanklein 29bb83ebb6 - Meshs without UVs are now supported
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@479 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-09-17 19:05:46 +00:00
jonathanklein a8ccd6fbd5 Adding test models for ogre (not nice, because i made them myself)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@475 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-09-05 10:49:36 +00:00
aramis_acg a251827cb9 Adding support for Unicode input files to most text file loaders (BVH and MD5 missing for now).
IrrXML receives memmapped UTF-8 input data now, it's own (faulty) conversion is not used anymore.
aiString's are explicitly UTF-8 now.
Slight refactorings and improvements.
Adding UTF-8/UTF-16 text files for ASE,obj,collada,ac3d. These contain various japanese/chinese character sequences.
Changing assimp_view's node view to display UTF-8 multibyte sequences correctly.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@469 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-21 22:49:58 +00:00
kimmi 82bb2313f0 - Add cmake buildfile for unitests ( currently no cppunit is part of the makefile ).
- Add cmake buildfile for assimp_cmd application.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@463 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-02 20:53:30 +00:00
klickverbot f0be9ad6f1 Renamed the texture files referenced by test/models/IRRMesh/cellar.irrmesh to the (lowercase) names which are stored in the model file.
This caused an error on case-sensitive operating systems like Linux.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@457 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-31 22:38:19 +00:00
aramis_acg adb4ab602e Adding Importer::ReadFileFromMemory to make Chromanoid happy.
Updating unit test suite to verify the newly added stuff for correctness.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@444 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-21 19:44:48 +00:00
aramis_acg 298babe1bb Adding two animated B3D test files. Thanks to the webmaster of psionic3D.co.uk for the permission to use them.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@435 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-05 16:36:16 +00:00
aramis_acg d881a16402 Logging functions are now available to C-Users, too. Cleaning up headers.
Changing spelling of some enums to camel.
Ply loader loads tristrips correctly now.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@425 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-05-28 11:32:54 +00:00
aramis_acg 077511b1a0 FIX: WaveFront MTL files will no line break at the end will now read properly.
Manually removing the line break from a test file for regression testing.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@418 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-05-09 23:54:16 +00:00
aramis_acg afcfdf27ea Fixing crash at Importer::IsExtensionSupported().
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@411 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-27 19:58:34 +00:00
aramis_acg d7b4dd6ae3 Adding very basic reading support for CSM (CharacterStudio Motion). No proper hierarchy reconstruction yet, just plain marker import.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@408 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-26 15:09:03 +00:00
aramis_acg 897a7f7ae3 - Adding a collada test file with two UV channels.
- Fixing ColladaLoader's error message if an UV set is invalid.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@401 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-23 18:46:25 +00:00
aramis_acg bd196ea318 - Changing LWO loader's VMAP selection strategy. Unassigned VMAPs (UVs and VColors) are now kept, if possible. Referenced VMAPs have higher priority so everything should be backward compatible.
- assimp_cmd writes vertex colors in 'Colors' elements now.
- assimp_cmd writes 'set=' attribute for UVs and vertex colors.
- Adding test files for the awesome new LWO capabilities.


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@396 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-20 16:49:46 +00:00
aramis_acg 56ead5dd7e Fixing minor issues with RunUnitTestSuite.bat.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@384 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-11 12:28:05 +00:00
aramis_acg 825118b970 Adding bob.md5, a great skinned character made by Ken Beyer of http://www.katsbits.com.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@378 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-09 21:25:04 +00:00
aramis_acg 29c33760e4 Triangulation:
- FEATURE: Concave polygons are now triangulated correctly.
 - internal face order is ccw now, flipwinding part of converttolh flag
 - added test files for the various formats supporting such polygons

FindDegenerates: 
 - improved behaviour when processing polygons, more tolerant.

Obj: 
 - material files are now properly read using the given IOSystem 
 - redirecting some std::cerr calls to our logger 
 - spaces and tabs are now allowed at the beginning of a line 

Viewer: 
 - max smoothing angle for normals is set to 90 deg now

vc9-workspace 
 - added assimp_cmd, renamed some virtual folders to be sexier.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@374 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-04-02 15:16:01 +00:00
aramis_acg 48d768f15f LWO
- added workaround for LWOB's with ill-formed SURF chunks 
 - layer hierarchy is now correct
 - fixed & simplified transparency handling

FindDegenerates 
 - fixed seldom crashes with RemoveDegenerates=1. 


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@369 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-03-26 22:05:56 +00:00
aramis_acg c2d8881549 General
- changing Assimp's coordinate system from RH z-up to RH y-up
 - fixing coordinate system for LWO, 3DS, ASE, MD5, MDL, B3D, IRR, IRRMESH 
 - converttolh moved to three separate steps -> flipuv, flipwinding, makelh

LWO 
 - fixing texture coordinate generation -> mapping axis is correct now 
 - fixing z-fighting bug

ASE 
 - fixing crash due to invalid normal setup 
 - fixing parenting bug 
 - code cleanup

IRR 
 - code cleanup
 - fixing placement of externally loaded meshes 

MDL 
 - fixing texture coordinate space

PLY 
 - cleanup 
 - two-sided maat property is now set 

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@366 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-03-15 00:40:30 +00:00
aramis_acg 7080ba231c General
- added Conjugate() and Rotate() to aiQuaternion
 - SkeletonMeshBuilder can now start hierarchy construction at a given node
 
MD5
 - MD5MESH and MD5 anim now working.
 - MD5ANIM files can be loaded without corresponding MD5MESHES
 - Config option to prevent automatic loading of MD5ANIMs 
 - WIP version of MD5CAMERA support.
 - added test files. No anim test file yet.

BHV
 - fixing formatting 

LimitBoneWeights
 - prints now statistics to the logging system 

Viewer
 - does now specify the LBW post-processing step.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@359 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-03-08 15:29:34 +00:00
aramis_acg 4bbc03332b General
- Added format auto-detection to most loaders
  - Simplified BaseImporter::CanRead() with some utility methods
  - improved fast_atof -> no overruns anymore. Fuck you, irrlicht.
  - added assimp_cmd tool to allow command line model processing. Mainly adebugging tool for internal purposes, but others might find it useful, too.
  - vc8/vc9: revision number is now written to DLL version header
  - mkutil: some batch scripts to simplify tagging & building of release versions
  - some API cleanup
  - fixing some doxygen markup (+now explicit use of @file <filename>)
  - Icon for assimp_view and assimp_cmd

3DS
  - Normal vectors are not anymore inverted in some cases
  - Improved pivot handling
  - Improved handling of x-flipped meshes

Collada
  - fixed a minor bug (visual_scene element)

LWS 
  - WIP implementation. No animations yet, some bugs and crashes.
  - Animation system remains disabled, WIP code
  - many test files for LWS, but most of them test the anim support, which is, read above, currently disabled.

STL
  - fixing a log warning which appears for every model
  - added binary&ascii test spider, exported from truespace

MD3 
  - Cleaning up output tags for automatically joined player models.


IRR
  - Fixing coordinate system issues. 
  - Instance handling improved.
  - Some of the reported crashes not yet fixed.

PretransformVertices
  - Numerous performance improvements.
  - Added config option to preserve the hierarchy during the step.

RemoveRedundantMaterials
  - Added config option to specify a list of materials which are kept in every case.

UNREAL
  - Added support for the old unreal data format (*.a,*.d,*.uc)
  - tested only with exports from Milkshape
  - more Unreal stuff to come soon



git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@356 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-03-05 22:32:13 +00:00
aramis_acg fd2faf92d3 Added LWO subdivision test case.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@350 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-02-16 15:22:17 +00:00
aramis_acg ca337852bf Test suite
- regression file for LWO 
 - Additional shaders for Q3 MD3 files

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@348 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-02-15 20:26:01 +00:00
aramis_acg fd9769eae6 MD2
- fixed UV coords
 - added further test models

Collada
 - fixed invalid aiStrings

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@343 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-02-12 15:58:55 +00:00
aramis_acg 0c6894f6f9 Added the Wuson in B3D format.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@326 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-02-02 15:03:53 +00:00
aramis_acg d751b63a77 Added the Wuson as OBJ and SMD file (SMD not animated ...). Export from MS3D.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@323 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-26 22:27:24 +00:00
aramis_acg 848e90f43f Fixed paths in some ASE test files.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@322 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-25 23:22:25 +00:00
aramis_acg 7dabd7cd72 Enabled 'fast' STL for vc9. secure_stl=0 && iterator_debugging=0.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@318 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-21 21:33:56 +00:00
aramis_acg 030d982cfa Added the cube.dae and the cube.x from kwxport + a license file. TODO: cube.x fails to load because of RGBA vertex colors.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@317 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-21 14:36:03 +00:00
aramis_acg 2ae20c3ff7 Added another x test model - fails to load due to RGBA vertex colors. Source is kwxport, MIT license, I think that's ok.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@316 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-21 14:28:32 +00:00
aramis_acg 5e59a60ea2 Added binary x test model exported from truespace. Didn't have one yet.
Redirected makefile output to ./bin/gcc.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@309 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-19 21:28:24 +00:00
aramis_acg 3d5eae6be5 Moved some defines into the core, away from the public stuff.
Fixed build error regarding zutil.c with vc9.
Updated VC9 project files (again ...)
Moved version getters to aiVersion.h.
Deleted redundant fast_atof.h from irrXML.
Added vc9 config for cppunit
Fixed a missing include when building against stlport

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@307 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-19 19:34:34 +00:00
aramis_acg 561943e75c FIX: Obj loader failed to read models with strange UV coordinates (see https://sourceforge.net/forum/forum.php?thread_id=2869243&forum_id=817653).
Added the model that was reported as crashing to the regression test suite.


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@306 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-19 00:40:48 +00:00
aramis_acg d41f570dc0 Added support for compressed x files (all files from dx sdk, except car2.x, work, no further tests yet).
Added a working makefile for mingw, provides more configs now. Not perfect yet.
Added decompression part of zlib (inflate).
Moved IrrXML to ./contrib dir.
Moved some IRR/IRRmesh shared code.
FIXME: makefile for gnu/linux is untested yet.
Code cleanup.
Unified #ifndef ASSIMP_BUILD_nnn_IMPORTER directives.
OBJ loader supports map_bump, map_ka, map_ks, map_ns now.
Endianess conversion in the ply loader is correct now.
Changed IRR/IRRMESH coordinate system conversion. Not absolutely right now, but better than before.


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@305 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-18 23:48:25 +00:00
aramis_acg 9b83f3b3eb Added collada file to regression test suite.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@304 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-18 15:45:43 +00:00
aramis_acg 462bb953c2 Removed OptimizeGraph step - actually it isn't really useful, although I got it working very well.
Updated credits.
VC9 workspace updated by hand (no vc9 ...) so be careful.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@300 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-15 21:08:28 +00:00
aramis_acg 6557c28ef7 FIX: NFF face winding bug (actually it was in StandardShapes.cpp).
FIX: StandardShapes::MakeCone() - face order was incorrect in 50% of all cases.
Implemented StandardShapes::MakeCircle().
Fixed a compiler warning in B3DImporter.cpp.
Modified cone.nff - one texture isn't found, that's ok. The mapping should be better visible now.


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@299 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-15 19:22:29 +00:00
aramis_acg 58eb786d62 Major API cleanup. Unified formatting & doxygen tags in the public API.
Added factory provider for default log streams.
Added default log streams to std::out and std::cerr.
Updated VC8 project config, boost workarounds is now working for the viewer.
Updated unit test suite.
Fixed some minor issues in the postprocessing-framework.

BROKEN: DebugDLL build.




git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@292 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-12 22:06:54 +00:00
aramis_acg 0e28e824ae Added a larger ASCII-STL test file
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@286 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-11 18:29:18 +00:00
aramis_acg 6c69ebee4f Fixed texture paths in some NFF files.
Cleaned up Assimp C-API calls in the viewer.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@284 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-11 15:20:06 +00:00
aramis_acg b73cb1c569 HMP loader returns quads now, cleaned up the code a bit. Still longer than necessary.
BVH loader supports arbitrary rotation/translation orders now. Fixed a crash issue, added test models with ZYX and ZXY rotation order.
Updated CREDITS.
'Beautified' pushpack/poppack.
Collada loader does now also load XML files if 'COLLADA' is found in the header.
Fixed path issues in several IRR test files.


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@282 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-10 17:58:06 +00:00
aramis_acg 39bfb7608b Optimized triangulation algorithm. Must more faster now.
Added loader for TERRAGEN terrains (*.ter).
ScenePreprocessor generates a default material if none is given.
AC: file extension bug
Added terragen test files.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@279 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-09 21:29:54 +00:00
aramis_acg b51f7fff62 Added batch scripts to run the unittests automatically.
Added a directory to store detailled unittest results.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@271 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-07 15:16:26 +00:00
aramis_acg ef7ce429b8 Fixed naming of copyright file for the LWS test scene.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@269 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-07 15:07:21 +00:00
aramis_acg 2b62bfc403 Added several empty test files to verify that the loaders won't crash in this case.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@268 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-01-07 15:06:41 +00:00
aramis_acg 2638d49144 Cleaned up Assimp-test repository of sample 3d models.
- fixed texture hardlinks 

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@264 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-12-30 13:05:33 +00:00
aramis_acg c8bea63e25 Cleaned up Assimp-test repository of sample 3d models.
- moved to subfolder test/models
  - removed the 'Files' suffix from the directories.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@263 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-12-30 12:32:45 +00:00
aramis_acg d320a4bc64 Removed MDR loader - too unimportant and would need much more work to work properly.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@259 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-12-01 15:25:38 +00:00
aramis_acg 94d289d1a3 Updated boost workaround. Added -noboost build config to VC8.
Added aiGetVersionMinor, aiGetVersionMajor, aiGetRevision and aiGetLegalInformation(). They allow to query the library version at runtime.
Added reference images for cylindric and spherical mapping.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@255 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-29 15:30:50 +00:00
aramis_acg be864ce4a0 Added support for cones and cylinders to NFF (the code to generate these primitives is hosted in StandardShapes.cpp).
Fixed some minor material bugs in NFF.
Added some more test NFF files, refactored and commented the old ones.
Added FromToMatrix function to aiMatrix4x4
Temporarily disabled animation support in SMD and fixed some minor bugs. Static models should load correctly in every case.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@254 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-28 23:02:27 +00:00
aramis_acg edc8eda808 Added 2 more collada test files
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@250 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-26 14:07:27 +00:00
aramis_acg fd9e6edc19 Further work on the IRR, AC, LWS loaders. Further work on the - still unfinished - OptimizeGraph step. SceneCombiner works now properly in all cases I tested yet.
Added missing 'typename' in Colladaparser.h
First implementation of spherical and cylindrical mapping, already in use for IRR and LWO models. For the latter the coordinate system is not yet correct.
Moved vec2d to a separate header and added operators similar to vec3.
Added plane and ray helper classes. Just the data is wrapped, no operators required for the moment.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@249 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-26 13:17:39 +00:00
aramis_acg 9ca66fb999 Added a static collada file that does not yet load correctly.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@248 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-25 22:17:07 +00:00
aramis_acg 091c54aae8 Added some test models:
AC: A new AC test model (light + scaled texture)
IRR: Skybox, Assimp output consisting of 6 meshes and 6 textures + further test models (multi-instancing test + simple sphere and box). They are not working yet.
LWO: Test models and textures for the various mapping modes.


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@247 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-25 22:10:56 +00:00
ulfjorensen fe3c008301 - added another boost dependency.
- further work on the collada loader. Should load static geometry correctly now, but still not properly integrated
- added some Collada sample files. The license is hopefully fine with this.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@245 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-20 17:42:55 +00:00
aramis_acg 130f0f39f7 Updated test set - Modo files LXO, more UV transform images, LWo's exported from Modo.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@242 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-16 21:22:21 +00:00
aramis_acg dce1a8e7ce Added test data for UV Transformations (3DS and ASE files + referenced images, rendered in max)
Added AC test model with light
Added "empty" irrmesh file - crashes for the moment
Added LWO sphere mapping test files

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@240 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-14 15:59:29 +00:00
aramis_acg f7aa836330 ASE: Added WIP support for *SMOOTHSKINMESH elements in ASE/ASC files. Fixes in the ASE loader. Fixed animation parsing. Temporary implementation of target lights and cameras, including animations.
3DS: Fixed transformation problems (Pivot points), added WIP animation support. No target animation yet (cameras, spot lights). Not yet fully tested, but static models that worked before should still work now, except all look correct now :-) (some problems with very large models remaining)
Further work on the IRR and IRRMESH loaders. IRR still WIP, IRRMESH more stable now.
Work on the LWo loader. Added support for the "one-layer-only" mode. Hierarchy bug still unfixed, UV coords bug still unfixed.
Further work on the FindInvalidDataprocess. Improved validation for normals, no false positives anymore.
Further work on the MDR loader, still WIP.
Moved DeterminePType-Step to ScenePreprocessor.
aiAnimation::mDuration is optional now, ScenePreprocessor computes it automatically if set to -1.
Fixes in the SMD loader. Still crashes on some files.
Updated animation documentation.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@236 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-09 23:17:19 +00:00
aramis_acg 562050cf6d Added test models
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@229 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-04 16:44:27 +00:00
ulfjorensen 593e3e55ba - added test file for BVH file format
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@228 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-03 17:59:54 +00:00
aramis_acg ac200212a9 Added ScenePreProcessor helper class to add missing dummy animation channels.
Modified FindInvalidData's behaviour regarding animation channels
Futher work on the IRR scene and IRRMESH loaders. Q3D fix. 
Updated aiNodeAnim documentation.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@218 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-02 16:58:31 +00:00
aramis_acg a7088d6263 Rewrote 3DS loader to support BE - added temporary light & camera & animation support. few models not working anymore, transformation bug still unsolved.
Fixed normal vector handling in the ASE loader. Improved animation & camera & light support - as for the 3DS Loader, still in the works.
Fixed AC - Loader. It is now able to load models with complex hierarchies correctly. Added a small workaround for Quick3D, which writes invalid AC files.
DXF-Loader skips {...} blocks produced by 3DS Max & AutoCad correctly now.
DefaultLogger doesn't repeat identical log messages now.
FindInvalidData-Process removes empty or dummy animation tracks now.
LWO-Loader recognizes complex shaders (such as Fresnel) correctly now. Other LLWO bugs still unsolved.
Fixed bugs in the Ply parser, causing non-triangular faces to crash.
Added some additional helperutilities to StreamReader.
Fixed a bug in ProcessHelper.h causing SPlitLargeMeses and SortBxPType to crash for meshes containing many bones.
Changed OB default material from black to gray.
Added additional test fils: ply (bugfix), ase (animation), QUick3D & Irr (in the works), STL (export from 3DS Max)

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@210 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-31 19:32:00 +00:00
aramis_acg 3d3b9719f8 Fixed third-person camera movement bug in the viewer.
Fixed a bug that caused the viewer to render "random" polygons in some special cases. 
ASE: Added parsing support for *GROUP nodes. Improved light & camera handling (still WIP). Fixed a bug that was caused by a recent change. Improved logging.
Updated PretransformVertices. The step works now (and supports line and point meshes). Important: The position of the step in the pipeline has changed. No unit test yet.
Minor fixes to SortByPType. Added a config option that allows users to specify which primitive types they don't need. 
Added WIP version of an Irrlicht Scene Loader (.irr).
Added a small helper class ("BatchLoader") to make it easy for loaders to load subsequent meshes from external files (needed for irr and lws).
Added test models for IRR. Added dwarf.x from the Irrlicht repository (readme included) to the test X files.
[Current TODO: Fix bugs in: AC, 3DS, LWO. Finish MDR and OG. Implement: IRR, LWS. Write some more ut's ... ]

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@197 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-27 00:36:26 +00:00
aramis_acg 44ea300651 Added irrmesh test files.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@193 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-24 20:04:43 +00:00