Alexander Gessler
4aac334358
- fbx: bugfix node chain generation, was omitting some nodes.
2012-07-27 19:20:05 +02:00
Alexander Gessler
54be52ea28
- fbx: add option to detect dummy animation tracks and to remove them. Actually, this is mostly a debugging aid (and it cuts down memory usage).
2012-07-27 18:45:02 +02:00
Alexander Gessler
0d2cb96092
- fbx: re-enable FixNodeName(), forgot that a commit ago.
2012-07-27 17:58:34 +02:00
Alexander Gessler
bb8e8c6673
- fbx: ignore IKEffector nodes.
2012-07-27 17:57:30 +02:00
Alexander Gessler
44259f0c23
- fbx: fix small typo with big effect.
2012-07-27 17:57:19 +02:00
Alexander Gessler
bead86a830
- fbx: take care not to drop transformation chain nodes that have node animations assigned, even if they specify identity transform in bind pose.
2012-07-27 16:18:47 +02:00
Alexander Gessler
80e7e18e28
- fbx: refactor animation code.
2012-07-27 15:53:17 +02:00
Alexander Gessler
ffd084a7a7
- fbx: generate inverse nodeanim channels for pivots.
2012-07-27 15:42:06 +02:00
Alexander Gessler
3c37c8e7da
- fbx: generate node anims for complex transformation chains with pivots and offsets.
2012-07-27 15:31:02 +02:00
Alexander Gessler
94e1e78c55
- fbx: work on converting animations for complex transformation chains (i.e. chains that contain pivots and offsets). (WIP)
2012-07-27 04:55:56 +02:00
Alexander Gessler
7f082e0aae
- fbx: revamp transformation code to support rotation/scaling pivots and offsets. The information is encoded in additional nodes in the scene hierarchy, which are tagged with a special naming scheme to make them easy for users to identify and map to their systems.
2012-07-27 03:00:16 +02:00
Alexander Gessler
23c62f07f7
- fbx: fix memleak in exception cases.
2012-07-27 01:49:02 +02:00
Alexander Gessler
916947327f
- fbx: fix weight conversion for multi-mesh geometry.
2012-07-27 00:50:58 +02:00
Alexander Gessler
f230ac2f60
- fbx: further work and bugfixes on deformer conversion.
2012-07-26 23:45:07 +02:00
Alexander Gessler
d194c83ed8
- fbx: bugfix Model -> Cluster connections.
2012-07-26 22:58:48 +02:00
Alexander Gessler
3e3eb6fb7c
- fbx: permit empty deformers.
2012-07-26 22:57:52 +02:00
Alexander Gessler
666f2776d7
- fbx: convert fbx deformers to assimp bones.
2012-07-26 22:53:31 +02:00
Alexander Gessler
05ec3c2e90
- fbx: read Geometry -> Skin and Model -> Cluster connections. Improve logging, some refactoring.
2012-07-26 19:13:19 +02:00
Alexander Gessler
06acead438
- fbx: read deformers (Skin and Cluster).
2012-07-26 18:05:24 +02:00
Alexander Gessler
8d1db6229c
- fbx: drop empty animation stacks to pass assimp validation.
2012-07-26 04:13:16 +02:00
Alexander Gessler
6ea67963ba
- fbx: fix parsing of CameraSwitcher.CameraIndexName.
2012-07-26 04:07:29 +02:00
Alexander Gessler
44606a1e53
- fbx: fix 64 bit compile warning.
2012-07-26 04:04:29 +02:00
Alexander Gessler
c882ef841f
- fbx: fix boost compile error.
2012-07-26 04:03:55 +02:00
Alexander Gessler
d5c05c7d84
- fbx: NodeAttribute can now be target for AnimCurveNode.
...
- fbx: rename Camera -> CameraSwitcher.
2012-07-26 03:58:42 +02:00
Alexander Gessler
cab713b4c5
- fbx: attach node attachments to their nodes.
2012-07-26 03:45:37 +02:00
Alexander Gessler
b66dfc85e1
- fbx: read NodeAttribute and Camera.
2012-07-26 03:42:02 +02:00
Alexander Gessler
38be981151
- set aiNodeAnim.mNodeName
2012-07-26 03:11:14 +02:00
Alexander Gessler
776d8e339b
Merge branch 'master' of https://github.com/assimp/assimp
2012-07-24 03:30:47 +02:00
Alexander Gessler
8747614e89
- fbx: ensure node names are converted consistently and with no ambiguity.
2012-07-22 02:12:38 +02:00
Alexander Gessler
29057096fd
- add extra check whether the keyframes are well-ordered.
2012-07-22 01:23:23 +02:00
Alexander Gessler
5ff8c90a35
- fbx: set animation duration.
2012-07-21 23:48:52 +02:00
Alexander Gessler
f617e766b1
- fbx: add "strict" import mode (only accept 2012,2013 files).
2012-07-21 23:08:48 +02:00
Alexander Gessler
b7456307dd
- fbx: fix "could not read property name" warn message.
2012-07-21 22:45:23 +02:00
Alexander Gessler
fd828a1b44
- fbx: always set all tracks in aiNodeAnim to pass validation.
2012-07-21 22:29:42 +02:00
Alexander Gessler
e4305149be
- fbx: bugfix animation interpolation code, fix various quirks.
2012-07-21 21:28:02 +02:00
Alexander Gessler
09aaaba7b8
- fbx: improved DOM object construction and dependency resolution.
2012-07-21 20:02:00 +02:00
Alexander Gessler
5db5634494
- fbx: add utility functions to filter connections to other objects by their type.
2012-07-21 18:02:10 +02:00
Alexander Gessler
4f6dbac919
- fbx: prevent infinite recursion when resolving objects with cyclic references.
2012-07-21 17:13:03 +02:00
Alexander Gessler
378bc93593
- fbx: resolve target node for node animations.
2012-07-21 17:12:04 +02:00
Alexander Gessler
ae3007b42b
- fbx: better size estimate for keyframe buffer.
2012-07-21 16:19:46 +02:00
Alexander Gessler
382f4619ad
- fbx: animation conversion from fbx's representation to assimp's. This involves evaluating animation layers etc.
2012-07-21 04:15:10 +02:00
Alexander Gessler
711878567a
- more fine-grained import settings.
2012-07-21 01:00:26 +02:00
Alexander Gessler
67c55990cd
- fbx: initial code to read animations plus the accompanying DOM classes.
2012-07-21 00:45:37 +02: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
aramis_acg
d8c2295962
- blend: compute parent inverses on your own instead of trusting the blend input. Thanks to Kalmár Dániel for the patch.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1291 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-17 22:18:10 +00:00
kimmi
3f47ac3fe2
Bugfix : Fix an invalid getName function. Thanks to cyrilchampier.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1290 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-17 21:48:03 +00:00
aramis_acg
56bf755c4b
- Ifc: fix handling of curves with RADIAN parameters.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1289 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-12 00:20:28 +00:00
aramis_acg
d7fe61c255
- Ifc: improved subsampling of curves for IfcSweptDiskSolid entities.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1288 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-11 23:08:44 +00:00
aramis_acg
d7410e6f08
- Ifc: implement basic support for IfcSweptDiskSolid elements.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1287 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-11 22:11:16 +00:00
aramis_acg
c70646912c
- add IFCZIP support to IFC loader.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1286 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-07-11 19:18:51 +00:00
Alexander Gessler
ab93c6f38e
Merge branch 'master' of github.com:acgessler/assimp-gsoc2012-fbx
2012-07-08 01:29:49 +02:00
acgessler
879f2ed177
- fix some -Wall warnings
2012-07-08 03:28:14 +02:00
acgessler
8ec96d88c5
update CMake build
2012-07-07 21:11:09 +02:00
Alexander Gessler
30422fa683
- fix confusion between ASSIMP_BUILD_NO_COLLADA_IMPORTER and ASSIMP_BUILD_NO_DAE_IMPORTER (in favour of the first).
2012-07-07 20:53:24 +02:00
acgessler
e56b39ecaf
fbx: gcc 4.6 compile fixes
2012-07-07 20:46:29 +02:00
Alexander Gessler
1a9790ae9a
- fbx: read first set of header properties (format version, timestamp etc).
2012-07-06 22:46:19 +02:00
Alexander Gessler
e4aee83c5b
- fbx: set mesh names, drop prefix from root node, simplify mesh splitting logic.
2012-07-06 19:32:41 +02:00
Alexander Gessler
6441f9d984
- fbx: strip prefixes from Material and Mesh names. Don't set empty material names.
2012-07-06 17:08:02 +02:00
Alexander Gessler
72f1734f82
- fbx: fix another stupid bug in the multi-mesh splitting code.
2012-07-06 17:00:59 +02:00
Alexander Gessler
2d2a87b70c
- fbx: fix stupid bug that kills the node hierarchy.
2012-07-06 16:55:25 +02:00
Alexander Gessler
4bfd5c11d7
- fbx: bugfix multi-material splitting.
2012-07-06 16:48:09 +02:00
Alexander Gessler
d6e929b670
- fbx: accidentially passed a wrong predicate for sorting Connections to std::sort.
2012-07-05 17:18:54 +02:00
Alexander Gessler
4db113395c
- fbx: read local transforms (different modes of rotation not yet implemented, though).
2012-07-05 17:06:15 +02:00
Alexander Gessler
3179e949bb
- fbx: set default material when no material layer is assigned to a mesh.
2012-07-05 16:37:13 +02:00
Alexander Gessler
61c6c37e30
- fbx: implement mesh splitting for meshes with multiple materials.
2012-07-05 16:35:08 +02:00
Alexander Gessler
cfb05376d2
- fbx: fix diffuse material color.
2012-07-05 14:26:26 +02:00
Alexander Gessler
04c77029e8
- fbx: fix boost build errors (was building with BOOST_WORKAROUND for a while).
2012-07-04 17:06:55 +02:00
Alexander Gessler
6e6dbe97de
- fbx: fix bug that caused normals to be wrong.
2012-07-04 16:47:10 +02:00
Alexander Gessler
0d2f04d50a
- fbx: fix recursive node construction.
2012-07-04 16:38:12 +02:00
Alexander Gessler
89d5380c81
- fbx: argh. forgot to add FBXModel.cpp
2012-07-04 16:33:46 +02:00
Alexander Gessler
bf79c83bf2
- fbx: read node hierarchy and assign model material indices. Cache already converted materials and meshes to make FBX instancing work as intended.
2012-07-04 16:33:21 +02:00
Alexander Gessler
17629f1ff1
- fbx: work on resolving material links.
2012-07-04 15:07:57 +02:00
Alexander Gessler
2f5ec6f136
- fbx: fix bug that caused textures to be ignored in some cases.
2012-07-04 01:45:15 +02:00
Alexander Gessler
c7ee6fd70f
- fbx: texture conversion & UV channel mapping.
2012-07-03 20:41:21 +02:00
Alexander Gessler
a0c45f9190
- fbx: read texture -> material connections.
2012-07-03 19:42:14 +02:00
Alexander Gessler
effcaf066a
- fbx: Objects now carry their ID.
2012-07-03 19:36:38 +02:00
Alexander Gessler
8a12b179a6
- fbx: add utility functions to get object connections in sequential (i.e. insertion) order.
2012-07-03 17:57:21 +02:00
Alexander Gessler
fd451f7ba6
- fbx: read object-object and object-property connections.
2012-07-03 16:50:58 +02:00
Alexander Gessler
23914685f9
- fbx: read textures.
2012-07-03 14:59:40 +02:00
Alexander Gessler
97b69364ad
- fbx: refactor code for fetching property templates.
2012-07-03 14:40:45 +02:00
Alexander Gessler
ec50632f2e
- fbx: fix bug that caused vertex colors to be not loaded correctly.
2012-07-03 00:26:40 +02:00
Alexander Gessler
990e6bdf3f
- fbx: better conversion of material colors.
2012-07-02 23:31:48 +02:00
acgessler
3f811f4a62
- fbx: DOM Material -> aiMaterial converter (WIP!).
2012-07-02 19:59:31 +02:00
acgessler
131008cea1
- fbx: read materials.
2012-07-02 17:37:00 +02:00
acgessler
b49cf16bc2
- fbx: change const semantics for PropertyTable's. Lazy parsing of properties no longer affects logical constness.
2012-07-02 17:09:32 +02:00
acgessler
97e1761ecd
- fbx: support more property data types (there are way more, though - don't know yet how to handle them, fbx files don't seem to have overly strong semantics for properties).
2012-07-02 17:00:56 +02:00
acgessler
21713841d3
- fbx: read property templates. Fix some memory leaks.
2012-07-02 16:51:19 +02:00
acgessler
00f249b8dd
- fbx: add property system
2012-07-02 15:57:51 +02:00
acgessler
6ddb1c9aa7
- fbx: refactor code
2012-07-01 14:38:14 +02:00
Alexander Gessler
7a3e3b1353
- fbx: create dummy root node and assign converted meshes. This is a temporary solution to be able to test mesh reading.
2012-06-28 23:44:23 +02:00
Alexander Gessler
524285c90d
- fbx: converter now handles FBX mesh to aiMesh conversion.
2012-06-28 23:24:46 +02:00
Alexander Gessler
0c0c9bce66
- update CMakeLists
2012-06-28 20:03:29 +02:00
Alexander Gessler
d7270aa278
- fbx: skeleton for DOM -> aiScene converter.
2012-06-28 20:02:09 +02:00
Alexander Gessler
e945998fc8
- fbx: warn about empty meshes and ignore them.
2012-06-28 19:23:08 +02:00
Alexander Gessler
d61c86081c
- fbx: depending on settings.readAllLayers, the loader now scans through all geometry layers and pulls in all vertex data channels that fit into the output data structure.
2012-06-28 19:20:44 +02:00
Alexander Gessler
05bc8ab684
- fbx: add ImportSettings to keep track of fbx-specific import settings. The settings are generated by the importer instance and injected into parser and DOM.
2012-06-28 19:16:14 +02:00
Alexander Gessler
3f10314656
- fbx: support ByPolygon mapping for materials, refactor code to read material indices.
2012-06-28 17:13:13 +02:00
Alexander Gessler
e821988c64
- fbx: also read vertex colors, tangents and binormals.
2012-06-28 16:51:55 +02:00
Alexander Gessler
ffe0ed7926
- fbx: refactor code to handle FBX vertex data access. Support the same access & indexing types for UVs and normals.
2012-06-28 02:06:24 +02:00
Alexander Gessler
026cec7d7b
- fbx: UVs, normals and materials arw now read properly. Fix bug related to reading vertices.
2012-06-28 01:49:52 +02:00
Alexander Gessler
fcdb2fc6b8
- fbx: work on reading normals, UVs and material channels.
2012-06-28 00:35:40 +02:00
Alexander Gessler
f9e310edfb
- fbx: work on reading vertex data.
2012-06-27 23:02:00 +02:00
Alexander Gessler
f354d8d7c7
- fbx: add some utility functions to parse tokens to values and to handle errors automatically.
2012-06-27 21:55:28 +02:00
jonathanklein
e658a7f98f
Added Animationoverview diagram to documentation
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1270 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-06-26 19:46:18 +00:00
Alexander Gessler
7108713238
- fbx: work on reading the first layer of geometry data channels.
2012-06-26 21:35:16 +02:00
aramis_acg
79711b018a
- blend: patch for material importer, read emissive color. Thanks to Laurent Belcour for the patch!
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1269 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-06-26 19:16:09 +00:00
Alexander Gessler
a996ecba75
- fbx: add helper functions to read FBX data arrays.
2012-06-26 20:05:24 +02:00
Alexander Gessler
c0af603f0c
- fbx: further work on DOM, start work on geometry extraction.
2012-06-26 19:19:13 +02:00
Alexander Gessler
25dfbdf58d
- fbx: add DOM layer to represent the parsed FBX file in-memory, capturing the essential semantics we need for importing.
2012-06-26 18:31:19 +02:00
Alexander Gessler
05b98c279b
- fbx: fix tab width when logging columns.
2012-06-26 15:43:31 +02:00
Alexander Gessler
4c30c00585
# fbx: forgot a <Windows.h> in my code.
2012-06-26 15:40:16 +02:00
Alexander Gessler
ecd79b3cc3
- fbx: fix infinite recursion when parsing nested Scope's.
2012-06-26 03:31:34 +02:00
Alexander Gessler
c9d9fcdfd1
- fbx: parser working now. Drop shared_ptr's in favour of raw pointers to reduce memory overhead (a pity - I want unique_ptr and move semantics in C++03).
2012-06-25 23:03:06 +02:00
acgessler
ff995307ac
- fbx: further work on broadphase tokenization.
2012-06-25 16:10:35 +02:00
acgessler
b6d0f05143
- update CMakeLists.
2012-06-23 03:38:44 +02:00
acgessler
18b2aebcb1
- FBX importer: basic interface and importer skeleton. Start tokenizer and parser.
2012-06-23 03:36:55 +02:00
Alexander Gessler
4e9a0bba20
+ add AI_CONFIG_IMPORT_NO_SKELETON_MESHES flag to control skeleton mesh visualization. No need for this in Blender, and difficult to just ignore the geometry created by it.
2012-06-21 17:24:50 +02:00
aramis_acg
1d7018c826
# fix bug in STEPFileReader, loader fails if string literals contain more than one ". Thanks to Juha Vesanen for the patch.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1258 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-06-17 12:15:49 +00:00
kimmi
526150a8e3
Update: Debian-related cmake changes ( I changed the revision to 1256 instead of 1251 ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1256 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-06-11 11:49:08 +00:00
kimmi
97995e41f4
Debian-specific adapting cmake.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1255 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-06-05 19:30:45 +00:00
jonathanklein
29243071fa
Ogre: Importerproperty to set Texture Mode from Filename (bla_n.png -> Normalmap etc.)
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1254 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-06-03 18:01:32 +00:00
jonathanklein
5b462d484b
Ogre: small tweaks
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1253 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-06-03 11:06:47 +00:00
kimmi
7384ce4005
Bugfix: Fix gcc 4.4 compilation error on r1251, thanks to Rosen Diankov for that.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1252 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-06-03 06:10:26 +00:00
kimmi
8441ecf6bf
Bugfix : Fix a compiler issue with OSX and Linux.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1250 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-05-28 10:19:50 +00:00
ulfjorensen
0693df00c5
- Bugfix: catched a null pointer crash when post processing removed everything from an invalid scene
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1249 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-05-23 09:25:40 +00:00
jonathanklein
d9d57804fa
Ogre: Support for multiple texcoords
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1248 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-05-23 09:23:34 +00:00
kimmi
1ac5a47c5d
Bugfix : Fix a compiler bug for iOS arm, thanks to Brian Miller.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1247 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-05-20 20:41:06 +00:00
ulfjorensen
6d2857ed4a
Bugfix: collada loader now preserves empty data arrays to work around stupid exporters writing empty animation channels
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1246 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-05-05 07:38:14 +00:00
kimmi
7cb9438522
Refactoring : Move sources into one source variable to avoid redundant code.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1245 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-05-01 10:33:55 +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
ec6c62e005
- consistent use of ai_assert instead of assert.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1241 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-22 23:22:40 +00:00
aramis_acg
adfef670cc
- rename assert.h to ai_assert.h. See also https://sourceforge.net/tracker/?func=detail&atid=1067632&aid=3520178&group_id=226462
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1240 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-22 23:14:39 +00:00
aramis_acg
53665faacf
- make BaseImporter::GetExtensionList more robust, improve error checking.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1237 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-22 22:59:47 +00:00
aramis_acg
078c1cd621
# bugfix Importer::GetImporterIndex
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1236 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-22 22:59:15 +00:00
aramis_acg
68d2b71893
Patch [3520194] Fix compiler warning for non-virtual destructor by Andy Maloney.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1235 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-22 22:33:43 +00:00
aramis_acg
5a81b42ebe
- add mFileExtensions field to aiImporterDesc, BaseImporter::GetExtensionList is now longer virtual since this would be redundant.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1234 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-22 22:26:26 +00:00
aramis_acg
93c3723da5
# Remove Experimental flag from blender loader.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1233 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-18 23:23:14 +00:00
aramis_acg
e479355d0a
+ add aiImporterDesc API to hold importer meta information.
...
- cleanup some Importer APIs: FindLoader -> GetImporter, add some utility APIs. Note that this is a breaking API change.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1232 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-18 23:07:52 +00:00
ulfjorensen
5975f3eff2
- Bugfix: fixed Collada parser to accept empty data elements again
...
- Workaround: added a little extra code to handle texture filenames of Maxon Cinema Collada Exporter
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1231 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-04-02 10:43:18 +00:00
aramis_acg
07841c3e13
# Blender: fix memory leaking due to cycle refs. Thanks to Vitalii Trubchaninov for pointing this out.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1230 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-27 22:09:09 +00:00
kimmi
6caf98d945
Bugfix : Changed ColladaParser to be non-const in ColladaLoader::BuildMaterials. ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1229 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-21 22:17:42 +00:00
jonathanklein
0e5ae5145b
Ogre Importer: Small fixes
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1228 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-21 08:49:46 +00:00
kimmi
6c1cb4f159
Bugfix : Fixed some compiler warnings and some C99 and C++11 specific syntax. ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1225 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 21:31:56 +00:00
kimmi
d17071746d
Bugfix : Removed some unnecessary const_casts. ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1223 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 21:11:05 +00:00
kimmi
fa71305e07
Bugfix : Removed useless and weird const_cast from TokenMatch. ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1222 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 21:03:14 +00:00
kimmi
d7341094ca
Bugfix : Fixed the Subdivision input mesh to be non-const. ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1221 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 21:00:16 +00:00
kimmi
9f6e45d651
Bugfix : Removed const_cast from CIOSystemWrapper::Exists. ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1220 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 20:54:31 +00:00
kimmi
478846c310
Bugfix : Cleaned up code and removed const_cast in DXFImporter::ConvertMeshes. ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1219 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 20:52:28 +00:00
kimmi
23381d9710
Bugfix : Refactored ImproveCacheLocalityProcess::ProcessMesh. ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1218 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 20:48:26 +00:00
kimmi
42def11d13
Bugfix : Replaced ugly (const_)casting by a better ctor and placement new. ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1217 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 20:45:33 +00:00
kimmi
cb71e6f5f2
Bugfix : pcGroupTris isn't really const, removed const and const_cast ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1216 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 20:42:16 +00:00
kimmi
f8deb8ff83
Bugfix : Replaced some new[]s with std::vectors ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1215 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 20:37:15 +00:00
kimmi
79f255bc40
Bugfix : Replaced some new[]s with std::vectors ( merged from GitHub, thanks to Riku Palomäki ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1214 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 20:35:21 +00:00
kimmi
b724ac5c2c
- Bugfix : Fix build of Obj-FileImporter ( this is currently only a work-around, loader is leaking memory, I am working on it ).
...
- Update : Merge fixes from GitHub, thanks to Riku Palomäki ( more fixes will merged soon ).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1213 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 20:31:14 +00:00
aramis_acg
397603bac0
+ add XGL/ZGL importer. Some features (includes, object refs, textures not supported yet).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1210 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 16:52:33 +00:00
aramis_acg
687a4644d6
# fast_atof: fix comma handling.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1209 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-20 16:29:57 +00:00
aramis_acg
25fbc9989c
# fix VS10 Debug Runtime check Failure due to data loss on type conversion.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1205 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-19 17:33:21 +00:00
jonathanklein
d9b8db78cd
Ogre: Animation Bug fixed (they seem to work now)
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1204 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-18 13:04:11 +00:00
aramis_acg
861974f05c
# gcc fix: Remove "OgreImporter::" prefix in OgreImporter::ProcessSubMesh(....
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1203 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-18 03:22:05 +00:00
ulfjorensen
f633437d88
- Bugfix: Collada loader writes "zero transparency" to material now
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1202 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-16 13:06:56 +00:00
aramis_acg
b908b00f96
- Collada: read falloff and hotspot_beam spotlight properties to be compatible with OpenCollada. Thanks to gargaj for the patch.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1201 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-14 02:29:17 +00:00
jonathanklein
973e3fede3
Ogre: Shared BoneWeights get loaded
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1200 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-13 16:29:29 +00:00
jonathanklein
761c974fde
Ogre: Improvements on loading Skeleton and Animation Keys (nearly working now!)
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1199 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-13 13:59:07 +00:00
jonathanklein
df7f177794
Ogre: Fix in Material Loader
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1198 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-12 13:59:51 +00:00
aramis_acg
accbcb575b
- fix off-by-one error in FileSystemFilter.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1197 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-11 20:04:35 +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
ulfjorensen
89c3aaebbc
removed accidental C++11 usage
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1194 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-09 21:11:42 +00:00
jonathanklein
830388ab90
Ogre: VertexAttributs from SharedGeometry are now loaded correctly; Material Loading is more robustly
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1193 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-09 11:43:31 +00:00
jonathanklein
005887f381
Ogre: MaterialLoader now searches for Materialfile with the MaterialName as Filename
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1192 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-09 11:42:47 +00:00
ulfjorensen
6970307b4e
- Collada Exporter id naming scheme once again revised to exclude any potential invalid chars
...
- Collada Exporter outputs proper URLs for texture file names now.
- Updated Collada Loader to understand and convert texture file name URLs
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1191 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-08 16:08:46 +00:00
jonathanklein
3ed356d3c4
Ogre Importer: Support for Shared Geometry, as exported by Blender2Ogre for Blender 2.6 (still experimental)
...
CleanUp for OgreImporter (splitted the big file in smaller ones)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1190 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-07 22:42:40 +00:00
ulfjorensen
7a0c5a431e
- filtered some more invalid characters from collada export URL generation
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1189 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-03-05 22:00:00 +00:00
ulfjorensen
9d4c46b53c
- Bugfix: ColladaExporter avoids output of empty xml elements
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1187 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-28 09:06:25 +00:00
kimmi
648e8fe924
- Bugfix: Fix two possible reasons for bug ID 3039342 : On skipping an invalid material description in obj-loader avoid creating aiMaterial instance. Release obj-specific material instances.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1186 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-26 13:36:29 +00:00
aramis_acg
df13d315db
# workaround crash in aiReleaseImport due to an suspected bug in gcc. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52339 . See assimp-discussions for the details.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1184 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-23 14:10:18 +00:00
aramis_acg
34e7ce131b
# BlenderLoader: use dna index to locate scenes, not SC tag. This fixes https://sourceforge.net/projects/assimp/forums/forum/817654/topic/5052480 .
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1183 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-23 14:02:09 +00:00
aramis_acg
6485f8d486
# OgreImporter: fix bool-to-int conversion warning.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1181 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-23 13:53:12 +00:00
jonathanklein
2743a0706e
small fix
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1179 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-21 16:46:37 +00:00
jonathanklein
8c0d3a9a31
Ogre
...
- Animations without Scaling Key supported
- when the model has more than 1 texcoord, the first one is loaded (instead of nothing)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1178 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-21 16:46:02 +00:00
jonathanklein
521088e134
Ogre:
...
- better support for OgreXmlConverter generated files
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1177 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-20 10:27:27 +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
kimmi
946b2f0354
Bugfix : Fix the extension check for the m3-loader.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1175 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-18 18:03:39 +00:00
ulfjorensen
6cb8ca9652
- Collada exporter texture references in materials are now written correctly
...
- removed various optional xml attributes from Collada Exporter which caused warnings in OpenCollada
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1174 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-18 15:20:28 +00:00
jonathanklein
eebba5348d
- Added Debug Postfix
...
- added Viewer Installer
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1172 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-18 10:55:47 +00:00
ulfjorensen
f41e106efc
- ColladaExporter filters empty meshes which fooled certain loaders - specifically Assimp's Collada Loader :-)
...
- Bugfix: ColladaExporter now writes proper URLs when referencing materials in meshes
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1170 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-17 10:48:25 +00:00
aramis_acg
08fe2e7d20
+ add Ply exporter.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1169 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-16 02:11:29 +00:00
ulfjorensen
4ebba5bdd4
Removed C++11 usage which I accidentally inserted
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1167 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-15 23:44:52 +00:00
ulfjorensen
82f027b01f
- added materials to Collada Export
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1165 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-14 17:42:25 +00:00
ulfjorensen
fa6039e1cb
Bugfix: Collada Exporter writes proper mesh references now - that makes static scenes work just fine
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1164 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-13 15:53:59 +00:00
aramis_acg
29d3a18962
Fix [3211530] heap corruption in the ms3d importer.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1163 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-05 16:10:50 +00:00
aramis_acg
58d0a89b25
- rework FileSystemFilter to scan sub-folders of the model folder recursively for external files. This should fix [3473792] ( https://sourceforge.net/tracker/?func=detail&atid=1067634&aid=3473792&group_id=226462 ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1160 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-05 15:13:39 +00:00
aramis_acg
ced8d8279a
Fix [3484066] Compilation error in Visual Studio 2011 Preview
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1159 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-05 14:38:47 +00:00
kimmi
bed6c84cb6
- Update : IMport uv- coordinates.
...
- Bugfix : Fix invvalid M3-faces.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1158 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-04 21:08:20 +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
06bfcbf22d
# [3191607] ColladaLoader error: attempt to copy-construct an iterator from a singular (see https://sourceforge.net/tracker/?func=detail&aid=3191607&group_id=226462&atid=1067632 )
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1156 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 18:05:38 +00:00
aramis_acg
d508e44030
- change major version number to 3.0. trunk is definitely no longer compatible with 2.0.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1154 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 17:39:33 +00:00
aramis_acg
4b61e27590
- TriangulateProcess: use ear cutting for quads. This fixes [3429812] ( http://sourceforge.net/tracker/?func=detail&aid=3429812&group_id=226462&atid=1067632 ).
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1153 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 17:36:07 +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
075b1acaf0
- move include/ to include/assimp/ to have consistent header locations between installed and trunk version.
...
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1148 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2012-02-03 16:25:12 +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