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
Jonne Nauha
43e620e04a
OgreImporter: Fix UV flip for binary meshes. Fix exception XML parsing when positions are declared in a previous vertex buffer than the currentl parsed one (that has eg. UVs). Remove debug prints from material parser.
2014-05-21 04:37:45 +03:00
Jonne Nauha
f8e1dcb102
OgreImporter: Mirror bool return for XmlSerializer as it is in BinarySerializer. Document its meaning.
2014-05-21 04:06:22 +03:00
Jonne Nauha
1129ae5a6e
OgreImporter: Implement binary skeleton serialization. Fix bone/animation matrix stuff to be simpler (aka read as Quats to internal structures). Cleanup code for pull request.
2014-05-21 04:00:11 +03:00
Jonne Nauha
cf9b705829
OgreImporter: Move skeleton functions to the end of file (after mesh functions). Put all constant to same place in the file. Implement support for 'animationlinks' (skipped) and bone 'scale' (read to Bone but not utilized atm).
2014-05-21 00:09:30 +03:00
Jonne Nauha
0b937c5a4b
OgreImporter: Proper rewrite of the XML parser to OgreXmlSerializer. Now more robust for XML sources, previously had hardcoded expectations on the child node ordering. Implement common Skeleton class for both binary and xml serialization. Implement shared IVertexData with proper bone assignment to Assimp bone weights functionality.
2014-05-20 04:52:53 +03:00
Jonne Nauha
75598f69b7
OgreImporter: Format code and move commented verbose debug logging behind internal OGRE_BINARY_SERIALIZER_DEBUG. Thow deadly importer error on clear invlid mesh file errors.
2014-05-18 12:30:16 +03:00
Jonne Nauha
4b16b182be
OgreImporter: Implement Ogre binary mesh support (.mesh). All Ogre3D SDK media samples tested to work. Assimp repo does not yet have binary versions of Ogre meshes.
2014-05-18 11:57:44 +03:00
Kim Kulling
36c08a0a7d
Merge branch 'master' of https://github.com/assimp/assimp
2014-05-12 20:00:59 +02:00
Kim Kulling
52f3cd0afb
update: add static build to CI.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-05-12 20:00:29 +02:00
Kim Kulling
c5ba04cabf
Merge pull request #274 from JamesLupiani/BinaryXFileFix
...
Fixes #158 via anonymous user
2014-05-12 19:57:50 +02:00
James Lupiani
427eaad642
Fixes #158 via anonymous user
2014-05-12 12:04:19 -05:00
Alexander Gessler
04f0075b63
Change default extension for binary STL exports from stlb to stl
2014-05-12 12:50:21 +02:00
Kim Kulling
fb1c9ab86d
bugfix: fix cexport API for c compilers.
2014-05-11 16:50:35 +02:00
Kim Kulling
9245469fb8
bugfix: fix invalid include path in find assimp macro for cmake.
2014-05-11 14:01:30 +02:00
Kim Kulling
22d026ac40
update: add asset importer lib cmake find macro.
2014-05-11 13:56:38 +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
Kim Kulling
d5d9e59949
Merge pull request #270 from jonnenauha/redundant-material-fix
...
RemoveRedundantMaterials: Fix crash bug when unreferenced materials are removed.
2014-05-09 18:36:39 +02:00
Jonne Nauha
eea8099b05
RemoveRedundantMaterials: Fix crash bug when unreferenced materials were destroyed. The logic only rebuilt the material list if there were redundant materials being removed. This is a clear bug as it left freed aiMaterial ptrs into the list and did not fix the scene->numMaterials to be correct, even when deleting materials. This crashed later on in the ComputeUVMappingsProcess that accessed the freed ptr.
2014-05-09 01:33:30 +03:00
Kim Kulling
a5e179edf5
Merge pull request #267 from terziman/master
...
Fixed compilation errors on OgreImporter with Visual Studio 2012
2014-05-05 13:49:36 +02:00
Léo Terziman
f8b79acb36
Fixed compilation errors on OgreImporter with Visual Studio 2012
2014-05-05 10:25:04 +02:00
Kim Kulling
1ec72cdddb
Release candidate 2 : 3.1
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-05-04 19:17:51 +02:00
Kim Kulling
392730be07
bugfix: export processes for unittests.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-05-04 16:02:52 +02:00
Kim Kulling
8c8c5329e9
bugfix:
...
- fix c-api: insert a missing typedef for the metadata api enum.
- gix c-api: move cpp-include to cpp-part of the api.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-05-04 15:24:12 +02:00
Kim Kulling
14457d2be4
Merge branch 'master' of https://github.com/assimp/assimp
2014-05-04 15:22:16 +02:00
Kim Kulling
84491f22e2
update: enable tests as default because so it is much easier to run the unit tests after each bugfix.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-05-04 15:20:26 +02:00
Kim Kulling
7b38eed767
Merge pull request #266 from jonnenauha/ogre-enhancements
...
Ogre importer cleanup, improvements and bug fixes
2014-05-03 09:21:24 +02:00
Jonne Nauha
9ad74e461e
OgreImporter: Added brackets for all conditional etc. statements, even when there is a single line as requested by @kimkulling. I'm still not sure about the coding convention but looked for guidance in the obj importer code. Now newline before { if only one line and no else/else if after it, othewise a newline before it.
2014-05-03 00:20:17 +03:00
Jonne Nauha
22a4215c06
OgreImporter: Remove unnecessary comments.
2014-05-02 01:54:42 +03:00
Jonne Nauha
dcf6002bed
Try fix travis ci produced build errors on gcc and clang.
2014-05-02 01:38:13 +03:00
Jonne Nauha
409c2cf332
OgreImporter: One more function cleanup.
2014-05-02 00:56:35 +03:00
Jonne Nauha
283394d695
OgreImporter: Cleanup skeleton related code and code that populates the assimp scene. Tested skeleton/animation imports and it seems to work correctly now.
2014-05-02 00:28:14 +03:00
Jonne Nauha
f5c7b283bc
OgreImporter: Cleanup and bugfixes to OgreSkeleton.cpp. This was actually so badly broken that it did nothing if the mesh referenced a binary skeleton. Now logs a warning for this case and tries to read from .skeleton.xml like the original author intended it to work. The assimp skeleton is still broken, I will fix that later on when I (eventually) get to that part of the code.
2014-05-02 00:28:13 +03:00
Jonne Nauha
45715df263
OgreImporter: Forgot to rebuild after filename changes so broke the build. Fix includes, add include guards and ASSIMP_BUILD_NO_OGRE_IMPORTER to missing places.
2014-05-02 00:28:12 +03:00
Jonne Nauha
fcb97bb595
OgreImporter: Rename .hpp to .h. Shuffled parsing utils to a single file.
2014-05-02 00:28:12 +03:00
Jonne Nauha
6ea07f39e1
OgreImporter: Rewrote documentation for AI_CONFIG_IMPORT_OGRE_MATERIAL_FILE and AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME to reflect the current logic. And to be honest the earlier one was very confusing english and was not very clear what is happening with these config options.
2014-05-02 00:28:11 +03:00
Jonne Nauha
f98584cdea
OgreImporter: Remove unnecessary m_currentX state. Improve and clean OgreMaterial: split tech/pass/texture_unit to their own functions. Document missing features and potential bugs. Improve the original authors 'detection from texture filename' logic (enabled with AI_CONFIG_IMPORT_OGRE_TEXTURETYPE_FROM_FILENAME). Add generic detection from texture unit name, which is commonly used in Ogre materials.
2014-05-02 00:28:10 +03:00
Jonne Nauha
6c51fa2072
OgreImporter: Continue cleanup.
2014-05-02 00:28:09 +03:00
Jonne Nauha
09517b342b
OgreImporter: Started cleanup and refactoring. Aim is to get this into a shape that its easy to read and understand before I start making any new features.
2014-05-02 00:28:09 +03:00
Kim Kulling
825a61fbc0
update:
...
- update version info for 3.1
- aiGetVersionRevision will now return the git tag.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-05-01 11:32:15 +02:00
Kim Kulling
8255d67a95
Merge pull request #265 from jonnenauha/vc9-fix
...
Fix stdint.h include that broke the build for VC9 and below.
2014-04-30 09:17:43 +02:00
Jonne Nauha
c329e81c94
Fix stdint.h include that broke the build for VC9 and below.
2014-04-30 05:58:19 +03:00
Kim Kulling
d1886daf5a
Merge branch 'master' of https://github.com/assimp/assimp
2014-04-29 00:06:14 +02:00
Kim Kulling
fbaf89492d
bugfix: Obj-importer is now able to deal with 3d-texture coordinates.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-04-29 00:04:54 +02:00
Kim Kulling
562dd01655
Merge pull request #261 from terziman/master
...
Improvement of collada exporter & bug fixes
2014-04-28 23:54:10 +02:00
Léo Terziman
2047cf6764
Merge remote-tracking branch 'official/master' into contrib
2014-04-28 09:11:40 +02:00
Kim Kulling
d49837819e
bugfix: remove WIN32-lookup for boost setup because these features are platform independent.
...
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
2014-04-26 09:59:27 +02:00
Kim Kulling
f63cf6b5c8
Merge pull request #260 from xantares/master
...
Configure assimp-config.cmake.in after Boost is discovered
2014-04-23 18:07:43 +02:00
xantares
d4f25c0096
Configure assimp-config.cmake.in after Boost is discovered as it requires the Boost version vars
2014-04-23 14:12:10 +02:00
Kim Kulling
b6bf29bdfa
Merge pull request #259 from YoheiKakiuchi/fix_build_shread_lib
...
fix typo, BUILD_SHARED_LIBS
2014-04-23 13:41:19 +02:00