Commit Graph

3732 Commits (9c0de90ede0d4ad6d9a0ced1446a4f9176ac902d)

Author SHA1 Message Date
Kim Kulling 22fc756d4a - fix double initialization.
- use correct number of vectors for dynamic array.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-04-05 23:17:16 +02:00
Kim Kulling df1134b1a3 - initiate texture coordinate array.
- use correct number of vertices for vertex array,

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-04-05 21:19:47 +02:00
Kim Kulling c0e3540ec1 use size_t instead of unsigned int ( static code analysis finding ).
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-04-05 21:19:07 +02:00
Alexander Gessler 50d5c5c4ef Merge pull request #527 from VirusFree/pr_strtol10_64
fix for strtol10_64
2015-04-05 17:25:50 +02:00
Alexander Gessler 9a7f90220a Merge pull request #526 from VirusFree/pr_OpenGEX_textureCoords_init
[OpenGEXImporter] Correctly initialize m_textureCoords array
2015-04-05 17:05:16 +02:00
George Papadopoulos 54ce3d843f fix for strtol10_64 2015-04-05 16:40:40 +03:00
George Papadopoulos 6a1522ded8 [OpenGEXImporter] Correctly initialize m_textureCoords array 2015-04-05 16:29:33 +03:00
Alexander Gessler 253871faa5 Merge pull request #525 from VirusFree/pr_strtol
add strtol10_64 and fix FBX text parsing for int_64 (for animation KTime)
2015-04-05 15:06:24 +02:00
George Papadopoulos da3c347a57 add strtol10_64 and fix FBX text parsing for int_64 (for animation KTime) 2015-04-05 15:19:55 +03:00
Kim Kulling 3fa6882384 generate unique indices for importes vertices in opengex importer.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-04-04 18:52:59 +02:00
Kim Kulling a50fa5f1de add missing doc in obj importer.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-04-04 18:52:24 +02:00
Kim Kulling 65cb05f381 fix invalid index counter.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-04-02 01:10:53 +02:00
Turo Lamminen 681c32d5ec AC3D: Throw DeadlyImportError when too many vertices instead of out-of-memory exception
Valgrind can't throw an exception when running out of memory. The program
wil just crash. This fixes it in some cases but not all.
2015-04-01 20:52:58 +03:00
Turo Lamminen bf5c9413f9 AC3D: Throw exception when encountering a bad vertex index 2015-04-01 16:22:46 +03:00
Turo Lamminen 16c57ab1d3 AC3D: Throw exception on too many vertices instead of crashing 2015-04-01 16:22:06 +03:00
Turo Lamminen 3e728e80eb Obj: Change asserts to exceptions
These can be triggered by malformed input file so they can't be assertions.
2015-04-01 16:13:46 +03:00
Turo Lamminen 4c28f31f43 X: Throw error when scene contains no root node
Otherwise MakeLeftHandedProcess will crash.
2015-04-01 16:11:53 +03:00
Turo Lamminen 8cdf9467c5 MD3: Fix assertion failures when filename doesn't contain '.' 2015-04-01 16:09:59 +03:00
Turo Lamminen 9f9774403d Remove assertion when too long message attempted
Since these can be caused by malformed input files assert is the wrong thing.
2015-04-01 16:03:06 +03:00
Alexander Gessler 010a154ed1 Merge pull request #521 from arris69/Travis_apt-get_for_mingw
catch apt-get problem for wine install
2015-04-01 10:18:18 +02:00
Ser Lev Arris 0c4fb363e1 never work on a 13'' screen... 2015-03-31 22:55:07 +02:00
Ser Lev Arris 6fd3863198 catch apt-get problem for wine install and install packages for MinGW + sample apps 2015-03-31 21:35:58 +02:00
Alexander Gessler dcc8aa092a Merge pull request #517 from arris69/FixJava_final
Fix java final (afterparty)
2015-03-31 20:56:29 +02:00
Alexander Gessler 00006239cb Merge pull request #518 from arris69/Build_with_Android_NDK
maybe Fixes assimp/assimp#516
2015-03-31 20:55:38 +02:00
Kim Kulling 45cc0b582a fix creation of unused mesh instance.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-03-31 12:18:57 +02:00
Kim Kulling 754897d1aa add imported meshes from OpenGEX-importer to scene.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-03-30 23:54:32 +02:00
Kim Kulling 8857f26efb fix: add setup for number of copied vertex attributes.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-03-30 12:04:28 +02:00
Kim Kulling 7f3b044b83 add import of index array data.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-03-30 11:55:57 +02:00
Kim Kulling 0e11cfbe6f add copy op for positions, normals and texture coordinates.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2015-03-29 18:53:23 +02:00
Ser Lev Arris c2e6e3439e sry, one fi too less... 2015-03-29 11:59:57 +02:00
Ser Lev Arris ef7009f2c3 maybe Fixes assimp/assimp#516 2015-03-29 11:51:17 +02:00
Kim Kulling 20ad00b5e5 Merge branch 'master' of https://github.com/assimp/assimp 2015-03-28 20:47:17 +01:00
Ser Lev Arris 38a1abc908 ... method name ... 2015-03-28 15:01:01 +01:00
Ser Lev Arris 19d9b31d56 makro »lprintf« substitution gcc warnings cleanup 2015-03-28 14:45:21 +01:00
Alexander Gessler f96b49a112 Merge pull request #515 from assimp/regression-suite-fixes
Regression suite fixes II
2015-03-28 14:38:51 +01:00
Ser Lev Arris 311c1ecadb typo in method name fixed 2015-03-28 14:32:06 +01:00
Ser Lev Arris 79768ddc14 prepare for removal of hardcoded struct and primitive sizes.
added getter to determine struct and primitive sizes.
(cleanup in the java code can be done later.)
2015-03-28 14:21:47 +01: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 e5d4f537bd CompareDump: do not use C++11 range based for loop. 2015-03-28 13:10:34 +01:00
Alexander Gessler a77f9419a2 XGLLoader: set aiImporterFlags_SupportCompressedFlavour flag. 2015-03-28 13:09:18 +01:00
Alexander Gessler 51514994f3 Merge pull request #512 from VirusFree/pr_FBX_Animations
[FBX] add support for multiple animations
2015-03-28 12:56:56 +01:00
Alexander Gessler 98039ee76e Update regression db. 2015-03-28 12:53:24 +01:00
Alexander Gessler ce7b3af1d7 CompareDump: fix typo in light compare code.
Brings regression suite local runs to 100%.
2015-03-28 12:53:08 +01:00
Alexander Gessler e2addcee77 CompareDump: fix reporting bugs. The top stack entry was missing (!) and we had an off-by-one in the index computation.
Also, all of this should be rewritten from scratch.
2015-03-28 12:51:46 +01:00
Alexander Gessler e0dd061dcb CompareDump: add debug trace of past push/pop operations to assist debugging. 2015-03-28 12:46:15 +01:00