Commit Graph

529 Commits (6a76959f5b8ec28a9119cc1dd6db95271d2cbdaf)

Author SHA1 Message Date
girinon 78a58ef5f0 operators to add and multiply by floats 2017-03-16 12:03:04 +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
Leo Terziman bd33bcaa0d Fixed some formatting 2017-03-10 14:46:28 +01:00
Leo Terziman 8bc183182c Added new option to IFC importer to control tessellation angle
+ removed unused IFC option
2017-03-10 14:42:17 +01:00
Leo Terziman bbd487308b Merge remote-tracking branch 'github/master' into contrib 2017-03-09 17:28:47 +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
Kim Kulling 8d27945619 Merge branch 'master' into cleanup_includes 2017-03-05 15:15:29 +01:00
Kim Kulling f312d8709e More cleanup 2017-02-28 16:37:07 +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 0f3731ab20 Issue-1169: add a unittest. 2017-02-21 17:12:22 +01:00
Kim Kulling d43d9368f2 Issue-1169: fix travis build. 2017-02-21 11:17:09 +01:00
Kim Kulling 695439fad0 Issue-1169: fix [] operator of vector3. 2017-02-21 10:58:27 +01:00
JonAllee 5deb441a9c Fix memory leak in Collada importer
Affects Collada files with morph Controller Elements.
2017-02-13 11:25:30 -08: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 35b95ba710 API: Fix build 2017-01-19 11:41:43 +01:00
Kim Kulling f121e2eb66 Fixes https://github.com/assimp/assimp/issues/1143: fix build. 2017-01-19 11:18:33 +01:00
Kim Kulling 2e0db8cfd5 Merge branch 'master' of https://github.com/assimp/assimp 2017-01-15 18:29:49 +01:00
Kim Kulling c6cceef867 Scene: add method to add children. 2017-01-15 17:37:45 +01:00
Antti Määttä 9621dff027 Morph animation support for collada 2017-01-12 13:41:32 +02:00
Leo Terziman cae9e532a0 Merge remote-tracking branch 'github/master' into contrib
# Conflicts:
#	include/assimp/metadata.h
2017-01-11 16:52:07 +01:00
Tan Li Boon c3d40810b5 Cleared majority of codepage warnings in Visual Studio 14. 2017-01-09 00:41:10 +08:00
Kim Kulling 161cdd4038 Merge pull request #1119 from rdb/master
Replace use of nullptr in headers with NULL
2016-12-28 18:20:50 +01:00
Sergio Martins 5c2bd47fd8 Avoid unneeded copy-ctor calls when calling getAiType
Specially for aiString, which does a memcpy.
Found with clazy static analyzer.
2016-12-26 12:43:45 +00:00
rdb 5bb35f3af6 Replace use of nullptr in headers with NULL 2016-12-20 17:27:36 +01:00
Kim Kulling edfb3fc410 New tests for importers. 2016-12-01 10:29:39 +01:00
Kim Kulling 2193a93875 Exporter: fix some review findings. 2016-11-30 17:17:07 +01: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
Kim Kulling ba2f377b52 Fix coverity findings. 2016-11-22 22:03:31 +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 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
Giuseppe Barbieri 91e4d029dc Update material.h
Fixed grammar
2016-11-18 13:08:00 +01:00
Kim Kulling cae8a172c3 Merge branch 'master' into coverity_scan 2016-11-18 11:38:45 +01:00
byteblob c21c70ade6 added void to aiGetErrorString's args 2016-11-09 22:43:01 +01:00
Kim Kulling 6d58926046 Code reformatting. 2016-11-08 10:38:57 +01:00
Kim Kulling a43634ebd0 Fix build: 2016-11-06 20:39:33 +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 fe1af5af7d Merge pull request #1038 from ystreet/cfileio-defs
cfileio: fix function typedefs to have struct/enum
2016-10-17 17:28:04 +02:00
Matthew Waters 6ed1bcd41b cfileio: fix function typedefs to have struct/enum
Otherwise building with cfileio.h would result in:

/usr/include/assimp/cfileio.h:61:58: error: unknown type name ‘aiOrigin’
 typedef aiReturn (*aiFileSeek)(C_STRUCT aiFile*, size_t, aiOrigin);
                                                          ^~~~~~~~
/usr/include/assimp/cfileio.h:64:9: error: unknown type name ‘aiFile’
 typedef aiFile* (*aiFileOpenProc)  (C_STRUCT aiFileIO*, const char*, const char*);
         ^~~~~~
/usr/include/assimp/cfileio.h:122:5: error: unknown type name ‘aiFileSeek’
     aiFileSeek SeekProc;
     ^~~~~~~~~~
2016-10-18 00:20:28 +11:00
Eshed 25cda401c5 use cmath and C++ (std::) versions of functions 2016-10-15 03:29:45 +03:00
Alexandr Arutjunov 728c11ebb9 [*] MSVS2013 do not like constexpr 2016-10-06 17:49:08 +03:00
Alexandr Arutjunov 8c6ee48af5 [*] Merged fresh master and resolved conflicts. 2016-10-06 17:12:56 +03:00
Alexandr Arutjunov 96887e1aa6 [F] vRows in fact is columns.
[+] More variants for Decompose.
2016-10-06 17:02:09 +03:00
Alexandr Arutjunov 70614ce205 [+] Added few functions for conveniance. Decompose overload. 2016-10-05 00:01:53 +03:00
Alexandr Arutjunov 9e0f594aa3 [F] In that place fixed typo in list. 2016-10-05 00:01:06 +03:00
Alexandr Arutjunov 9d40f36f87 [F] Fixed type in list.
[+] Added function to metadata class for conveniance.
[*] Enumeration AI_INT changed to AI_INT32.
2016-10-04 23:58:51 +03:00
Kim Kulling d27cce513b Scene: remove redundant pragma once statement. 2016-10-03 19:23:52 +02:00
Alexandr Arutjunov a93a230f9e [*] More suitable for array size of which can vary at compilation time. 2016-09-29 17:13:14 +03:00
Alexandr Arutjunov 0a25b076b8 Merge branch 'master' into import_amf 2016-09-28 17:51:59 +03:00
Alexandr Arutjunov 9069ea20fa [*] Format hint for embedded textures improvement. 2016-09-28 17:50:17 +03:00
Alexandr Arutjunov 6a9ccf2016 [+] Flag for scene for supporting formats where more than one face can reference to one vertex. 2016-09-26 13:01:38 +03:00
Alexandr Arutjunov ed35882ee9 [*] Embedded texture prefix in separate define. 2016-09-26 12:59:12 +03:00
Kim Kulling ce2532e93b ModelDiffer: use Equal-method to compare vectors. 2016-09-20 19:48:03 +02:00
wise86Android 96fab1cf55 122219-122218 Big parameter passed by value 2016-09-19 22:23:13 +02:00
Kim Kulling 61419cc0ae Unittest: add first approach for modeldiffer. 2016-09-19 21:35:45 +02:00
Kim Kulling a29f562241 Doc: add uml-diagrams for import and export. 2016-09-17 10:07:14 +02:00
Léo Terziman b68ad60b52 Merge remote-tracking branch 'official/master' into contrib 2016-08-23 12:00:32 +02:00
Léo Terziman 6db06f117a In metadata: added method to append new metadata to structure 2016-08-23 11:59:49 +02:00
Chris Russ 3f08cebfab include config.h to always have the correct types (float/double) exposed 2016-08-17 07:57:31 +10:00
Chris Russ 4f7b624fe8 fix precision issue within memory copy 2016-08-16 16:03:56 +10:00
Chris Russ 6128987210 add explicit config.h include to export 2016-08-16 16:03:56 +10:00
Chris Russ 6613b6382f renaming define for double precision to be picked up by cmake correctly 2016-08-16 16:03:56 +10:00
Chris Russ 63a4591683 Fixing bugs related to 64-bit upgrade in materials 2016-08-16 16:03:56 +10:00
nyorain e7ed352078 Added documentation for embedded textures 2016-08-09 01:06:43 +02:00
Adi Shavit @ MacBookPro 5fe4b975ba Removes MSVC warning with explicit cast. 2016-07-24 15:54:16 +03:00
Chris Russ ad8bb32561 Properly defining build-time defines in config.h 2016-07-16 18:23:33 +10: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
Chris Russ 2f7e3dcdcc Basic changes to introduce optional double precision 2016-07-16 18:23:33 +10:00
Kim Kulling 9678da72c9 Public includes: add pragma statement and formalize include guard schema. 2016-07-11 20:56:38 +02:00
Kim Kulling e439b16689 Includes: update header to latest greatest. 2016-07-08 18:38:33 +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
ciechowoj 25d84a6aff Adds support for area lights. 2016-05-16 13:04:43 +02:00
Kim Kulling 301b6798c5 aiLight: fix a typo. 2016-05-07 11:16:33 +02:00
mensinda f59cba13eb Try fixing clang builds 2016-04-06 11:10:12 +02:00
mensinda 4836a2993e Replaced boost::thread with std::thread 2016-04-05 22:28:21 +02:00
Eric Engestrom 87e7cf00a2 Fix spelling mistakes 2016-04-03 01:38:00 +01:00
Thiago Goulart 17f0e09bd1 Fix warning when compiling using -Wswitch-enum 2016-03-02 00:07:17 -08:00
boxdot 6de709410f Fix special case in aiMatrix3x3t::FromToMatrix. 2016-02-15 20:53:39 +01:00
afiskon bf74a5a662 Update pstdint.h to version 0.1.12 ( solve #795 ) 2016-02-14 22:39:37 +03:00
Kim Kulling 59ece7b9fa Datatypes: add missing unions for vector + color types. 2016-02-02 00:59:47 +01:00
Kim Kulling aaec1656f3 Closes https://github.com/assimp/assimp/issues/43 : provide different
matrix scheme via union.
2016-02-01 16:16:48 +01:00
Kim Kulling f1666d22ce Closes https://github.com/assimp/assimp/issues/778: export android system. 2016-01-31 13:44:15 +01:00
Kim Kulling 9f9f69d6cc AndroidJNIIOSystem: update license info to 2016. 2016-01-31 13:43:05 +01:00
Kim Kulling 8bbd55a790 PostProcessing: first prototype of customized post processing. 2016-01-27 18:49:01 +01:00
Kim Kulling c02a1dd11a closes assimp/assimp/issues/710: use correct include for importerdesc in
cimport.h
2016-01-20 21:25:47 +01:00
Kim Kulling 430b614a69 coverity scan: make place of false positive more understandable. 2016-01-08 16:18:32 +01:00
Kim Kulling 346bf9375b ai_assert: add missing license info. 2016-01-07 15:02:41 +01:00
Kim Kulling b6673c3fca Update license info in public headers 2016-01-01 21:08:28 +01:00
Alexander Gessler 5847576f41 Merge pull request #703 from terziman/master
Improvement of collada transparency handling
2015-12-20 15:59:42 +01:00