Commit Graph

  • 9fc698bb2f Fixed a bug in the validation step - animation channels weren't validated correctly in every case. Further work on LWO materials, writes wrap amount to UV transform property now. NFFLoader generates spherical UV coordinates now (for spheres and all platonic solids except hexahedrons) Importer doesn't catch exceptions in debug builds. aramis_acg 2008-11-26 22:03:14 +00:00
  • 85a487f6b8 - Bugfix: ColladaLoader node rotation was miscalculated - ColladaLoader now supports more primitive types - ColladaLoader now honours the up-vector specification - moved Collada temporary structures to separate Helper header - fast_atof_move() now also eats localized numbers with comma separator (e.g. 0,3210) correctly ulfjorensen 2008-11-26 15:45:34 +00:00
  • edc8eda808 Added 2 more collada test files aramis_acg 2008-11-26 14:07:27 +00:00
  • 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. aramis_acg 2008-11-26 13:17:39 +00:00
  • 9ca66fb999 Added a static collada file that does not yet load correctly. aramis_acg 2008-11-25 22:17:07 +00:00
  • 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. aramis_acg 2008-11-25 22:10:56 +00:00
  • 78969d0a95 - finalized Collada mesh part - can read static models now, using dummy materials ulfjorensen 2008-11-25 17:58:11 +00:00
  • 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. ulfjorensen 2008-11-20 17:42:55 +00:00
  • 01ceeeb00b Fixed a small bug in aiGetMaterialTexture aramis_acg 2008-11-16 23:26:21 +00:00
  • 32342857d8 ASE and 3DS cleanup - face ordering improved. Further work on target camera animation support in both loaders. Some general animation problems in both formats remaining, too. Added GenUVCoords and TransformUV-steps (see ML). The latter has been fully implemented, test file are there. GenUVCoords is a dummy for the moment. Boost workaround for shared_array. Further work on the documentation. Updated material system (see ML). Bug fixing in the AC loader, lights are now supported, too. aramis_acg 2008-11-16 21:56:45 +00:00
  • 130f0f39f7 Updated test set - Modo files LXO, more UV transform images, LWo's exported from Modo. aramis_acg 2008-11-16 21:22:21 +00:00
  • 68ef00ef09 Fixed a bug in the SortByPType-step causing some models with bones to crash Fixed a bug in PretransformVertices - vertex colors caused an infinite loop sometimes. aramis_acg 2008-11-16 14:39:54 +00:00
  • 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 aramis_acg 2008-11-14 15:59:29 +00:00
  • 342ea0188a - Bugfix: handling of XFile vertex colors is more forgiving now - Bugfix: XFileImporter filters empty animation sets now. - updated VC9 project files ulfjorensen 2008-11-14 12:44:03 +00:00
  • 1083d85b2c - first draft of the Collada importer. Compiles and runs fine, but not functional yet. - added a "rotation around arbitrary axis" function to the matrix class ulfjorensen 2008-11-12 17:07:44 +00:00
  • 04ca1a72f7 Updated B3D Loader, added Mark Sibly to the list of contributors. aramis_acg 2008-11-11 19:02:51 +00:00
  • 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. aramis_acg 2008-11-09 23:17:19 +00:00
  • 06e4262f80 - Refactorized obj-material-loader: removed duplicated float separation and made it to a template. kimmi 2008-11-09 18:22:01 +00:00
  • d3e9607ab6 Kill g++ compiler warning (no newline at end of file). kimmi 2008-11-09 15:57:03 +00:00
  • df9f4130eb Further work on the IRR and IRRMESH loaders. IRR is still WIP, IRRMESH loads lightmaps correctly now. Added lightmap viewing support to the viewer. Irrlicht's tone scaling is hardcoded for the moment, a proper implementation will follow with the new viewer. aramis_acg 2008-11-05 12:26:11 +00:00
  • 7c50899481 Fixed 3DS, ASE, MD3 and Q3D orientation after Schrompf' recent changes to the RH-LH conversion. WIP version of animation support in the 3DS loader. Still hoping to find out why the pivots aren't handled correctly ... Added first draft of a B3D loader provided by Mark Sibly. Moved DeterminePType-Step to ScenePreprocessor. Small LWO fix. Still texturing problems. aramis_acg 2008-11-04 20:41:11 +00:00
  • 195d9a9cb1 - Bugfix: XFileLoader does not generate dummy bone arrays anymore. Had screwed HasBones()-Test in the viewer, making bone-less objects vanish from view - made HasFooBar()-checks more precise on the way - cleared up everyone's destructors to also delete arrays if the corresponding mNumFoo member was zero. This hopefully does not break all too much - Bugfix: meshes without bones now properly show up with DisableMaterials enabled ulfjorensen 2008-11-04 17:21:08 +00:00
  • 562050cf6d Added test models aramis_acg 2008-11-04 16:44:27 +00:00
  • 593e3e55ba - added test file for BVH file format ulfjorensen 2008-11-03 17:59:54 +00:00
  • c25e576a01 - BVH-Loader more or less final now. Reads motion capturing date which plays fine in the viewer, just mirrored ATM. - Fixed RH->LH conversion, now correctly exchanging Y and Z axis. WARNING: this might propably break face orientations and stuff... I'm to revisit this in the next days. ulfjorensen 2008-11-03 17:59:04 +00:00
  • 6ee05b6238 a first version for mdl7 loading on BE is now working (still one warning of a missed uv index) alil 2008-11-02 23:35:45 +00:00
  • 240dbfd864 Small fix to the ASE loader - workaround for bitmaps with filename "None". Further work on the IRR loader. Still work in progress. Fixed a minor issue in StandardShapes. Fixed a bug in the Q3D loader causing models without textures to load incorrectly. aramis_acg 2008-11-02 22:30:37 +00:00
  • df85f0aead added some stuff to reduce compiler warnings of unused vars alil 2008-11-02 22:22:13 +00:00
  • 49b66d47dc worked on be stuff for mdl loader alil 2008-11-02 22:21:07 +00:00
  • d54c695be4 - bone animations now also work with Disabled Materials Shader. There should be something missing, but it works. Strange... ulfjorensen 2008-11-02 21:24:27 +00:00
  • 42123de268 -Bugfix: Anim interpolation does not produce invalid floats anymore on one-frame animation tracks ulfjorensen 2008-11-02 20:49:27 +00:00
  • 0f56c48aca - finally found the last bug in the viewer animation code. Dwarf is now dwarfing, Tiny is now running correctly. ulfjorensen 2008-11-02 19:34:24 +00:00
  • d965f0d06a - Viewer: additional bugfixes while trying to get the animations to work - added anim interpolation for anim playback - Bugfix: FindInvalidDataProcess was still mixed up a bit ulfjorensen 2008-11-02 17:20:29 +00:00
  • 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. aramis_acg 2008-11-02 16:58:31 +00:00
  • 4daa0294a2 Updated VC9 workspace. aramis_acg 2008-11-02 14:36:09 +00:00
  • ba93c7ef09 Fixed x64 compilation problem cause of an int 3 asm instruction. aramis_acg 2008-11-02 14:29:46 +00:00
  • 5d2fd0ef35 Fixed some minor bugs in the Q3D loader. All test models from quick3d.org load correctly now. aramis_acg 2008-11-01 16:42:16 +00:00
  • daae32d62f - Fixed a bug in FindInvalidData causing some animation channels to be lost - Added Q3D loader. Seems to work quite well with Quick 3D 4.0 - Updated makefile, fixed GCC compilation error cause of packed matrix fields aramis_acg 2008-11-01 15:14:00 +00:00
  • c7e6fe3d73 - Bugfix: animation scene tree is correctly created and traversed now - Bugfix: viewer should not crash anymore when loading a second asset after a first asset with bones - deactived invalid animation filtering for the moment ulfjorensen 2008-11-01 14:18:13 +00:00
  • 99e92472fc Fixed shift warning in irrxml. aramis_acg 2008-11-01 11:31:03 +00:00
  • 6b02833561 - fixed stupid little bug in the SceneAnimator - does not crash anymore on animations with empty tracks - reverted matrix operations to what I think is the correct matrix sequence. Skinned meshes still not working, though - fixed a strange runtime exception in the irrlicht mesh loader ulfjorensen 2008-10-31 23:17:43 +00:00
  • 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) aramis_acg 2008-10-31 19:32:00 +00:00
  • 2888a1099e fixed BE problems in MDLLoader MD1,3,5 (I think 1-6, but there are no test examples) now work on BE systems. alil 2008-10-30 22:42:35 +00:00
  • bed30a9b92 - fixed upload of skinning matrices to the shader. - VC9 project files updated. ulfjorensen 2008-10-30 20:41:01 +00:00
  • e1261bb9fe Small viewer fixes, at least something is visible now. aramis_acg 2008-10-30 19:51:01 +00:00
  • 9f92c7098e - further works on the viewer's way to animation country. Now really fucked up, but Aramis is going to help me fix it. ulfjorensen 2008-10-30 12:49:28 +00:00
  • cfeb8b2b2a added include <map> as the std::map is needed in this file alil 2008-10-29 22:29:07 +00:00
  • 740e22d313 removed bad be code in validate header alil 2008-10-29 22:19:14 +00:00
  • 730b77c68e - removed implementation headers from the public interface - corrected a few places that did not include those headers by other means - Bugfix: SkeletonMeshBuilder should now finally work correctly when skipping invalid node connections ulfjorensen 2008-10-29 22:02:00 +00:00
  • 7101c33401 - further changes to add dummy animation support to the viewer. Still under heavy construction, bone meshes are not rendered correctly with this version at the moment. I'm sorry. Will be fixed soon. ulfjorensen 2008-10-29 17:08:03 +00:00
  • ef3cd69ae6 worked on getting assimpl compiled on BE alil 2008-10-28 23:18:06 +00:00
  • e9dc280739 Fixed linker error reported by PuMI causing the DLL build to fail. aramis_acg 2008-10-28 12:05:11 +00:00
  • d618a57428 - Bugfix again: SkeletonMeshBuilder avoids validation warning for empty bones now. ulfjorensen 2008-10-27 22:22:05 +00:00
  • 093fa3377f - Bugfix: SkeletonMeshBuilder does not create invalid faces anymore for child nodes at local position (0, 0, 0) ulfjorensen 2008-10-27 20:27:05 +00:00
  • 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 ... ] aramis_acg 2008-10-27 00:36:26 +00:00
  • a62b94079f - Removed Boost_MultiArray-Remake - Fixed rotation matrix to quaternion conversion, hopefully final this time. ulfjorensen 2008-10-26 18:58:34 +00:00
  • 67be21715d Added a huge 'at the moment not working, sorry' mark to all build configs we don't maintain in the current development phase. aramis_acg 2008-10-25 09:01:40 +00:00
  • ce6ce098e9 Removed aiProcess_FindDegenerates from the viewer. The step seems to cause some problems that have not yet been solved. Added irrmesh (Irrlicht Mesh Format) loader to Assimp. Works quite stable, but no lightmapping support yet. Removed tinyxml, replaced it with irrxml instead. Added an IOStreamToIrrXML wrapper. aramis_acg 2008-10-24 20:37:54 +00:00
  • 44ea300651 Added irrmesh test files. aramis_acg 2008-10-24 20:04:43 +00:00
  • 383a614931 Fixed some minor issues in the AC loader. However, it still crashes with large and complicated models. Line handling is complete. Moved the code to find degenerated primitives to a separate step that is not anymore active by default. The FindInvalidData-Step isn't active by default now. It hast a flag and must be explicitly requested. Added line and point handling code to the CalcTangentsStep - not yet tested. Added support for the Sense 8 (WorldToolKit) NFF file format. The format uses the same file extension as the "Neutral File Format" (and is implemented in the same loader). Seems to work well, added test files for it. Added itoa10 function - so we have itoa on all platforms. Small optimizations in the SortByPType step. Fixed the material validation: textured meshes without uv coords cause a warning now. Fixed a minor isses with the OFF loader. Added empty unit tests for the new steps - to be filled in the next days. Added SceneCombiner.cpp. It contains utilities to join meshes and scenes. The latter will be needed by the LWS loader (LWS files contain references to external LWO files and the LWO loader is already to complicated that it would make sense to add an additional code path to it). Mesh joining is needed by some pp steps, but the code has not yet been moved to its new location. Added WIP light & camera support to the ASE loader. Works for the moment, but there's much missing. ASE parser refactored, the code is still quite long but at least cleaner. Fixed a bug that caused ASE to import invalid texture coordinates. Makefiles and VC8 solution are up-to-date. The rest isn't. aramis_acg 2008-10-22 20:06:16 +00:00
  • 013ff599a5 Dummy animation support for AssimpView - work in progress. Uses boost in a new way, just because I can. ulfjorensen 2008-10-22 15:36:54 +00:00
  • de476178cd Added cast to unsigned long in PretransformVertices.cpp. Hopefully this fixes the compiler issues with GCC4 on linux. aramis_acg 2008-10-20 11:21:45 +00:00
  • 8271164d74 - Further work at the BVH loader. Still work in progress. - Added a helper class to build a mesh for a meshless node hierarchy ulfjorensen 2008-10-19 21:44:12 +00:00
  • a34378934d Fixed a minor problem with the vertex format hash in the PretransformVertices step. Remember, the step seems still to swizzle materials in some cases. aramis_acg 2008-10-19 21:26:52 +00:00
  • 094ed7b9c0 Added missing pointer to NULL assignment in PretransformVertices. aramis_acg 2008-10-19 21:17:01 +00:00
  • c0148c090f fixed some linux issues alil 2008-10-19 19:51:24 +00:00
  • 2da2835b29 Fixed bug in the AC loader causing lines to load incorrectly. Seems to work now. Added some more essential includes to AssimpPCH.hAdded support for line and point meshes to most steps - I did nto yet adapt all unit tests, so meshes with mixed primitive types are not absolutely safe at the moment. Added camera and light support to the PretransformVert step. Fixed some small inaccuracies and fixed a bug reported by Mark Sibly causing all transformations to be invalid. However the step is nto yet completely correct, there are still some small artifacts. Updated light and camera data structures, added temporary validation code for the Renamed AI_SCENE_FLAGS_ANIM_SKELETON_ONLY to a more generic AI_SCENE_FLAGS_INCOMPLETE flag. Fixed bug in the OFF loader causing meshes with polygons to crash Added line support to the DXF loader - seems to fail for the moment cause of SortByPType. Added support for lights and cameras to NFF, implemented another NFF format subtype (file starts with 'nff'). Implemented NFF 'tpp' chunk and a corresponding texture extension. aramis_acg 2008-10-19 11:32:33 +00:00
  • 3aecad406c Added DXF test file containing lines Added Cube.off, an off files that contains more than 3 idxs per face. It crashes at the moment, but my current revision here is able to load it. aramis_acg 2008-10-18 22:52:05 +00:00
  • 38004d789c Added light & camera data structures to jAssimp and updated the list of configuration properties. However, I still had not yet the time to write the C++ binding to the Java API. aramis_acg 2008-10-18 19:52:23 +00:00
  • f2c9745b7d Added StreamReader.h aramis_acg 2008-10-18 12:19:28 +00:00
  • 888df37d0f Added stream reader interface test. aramis_acg 2008-10-17 16:26:47 +00:00
  • 75d212c793 Added a first draft of the aiCamera documentation. aramis_acg 2008-10-17 15:39:11 +00:00
  • 2d8421ed98 Added modified aiLight data structure aramis_acg 2008-10-17 14:43:53 +00:00
  • ba55c0e452 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@178 67173fc5-114c-0410-ac8e-9d2fd5bffc1f aramis_acg 2008-10-16 16:36:25 +00:00
  • c128705de9 - beginning of BVH loader, to continue working at home. Not usable, yet. ulfjorensen 2008-10-15 16:12:18 +00:00
  • 1db46c242f Added temporary boost workaround - some assimp features work with reduced functionality in this case. Added AC-loader, WIP version. PLY loader is now able to load models from blender, test model added. Refactoring. Added FindInvalidData step. Added support for precompiled headers, the release builds in VC8 are configued to use PCH now. Added separate makefile for mingw, no -FPic warning anymore, -clear works now. aramis_acg 2008-10-13 16:45:48 +00:00
  • f204ff0d45 Viewer: - additional fixed to make the viewer work without shaders. Still dummy, though, but now useful enough to allow me to work ulfjorensen 2008-10-13 15:50:12 +00:00
  • 366562e5d1 Viewer: - added hacky support for pre-shader graphics cards. Seems to work, but I'll not know for sure until I acutally test it on such a crippled hardware. ulfjorensen 2008-10-09 21:18:59 +00:00
  • 92ba3e433e - quick-fixed various shader errors to make AssimpView start again ulfjorensen 2008-10-09 20:17:46 +00:00
  • 23c99f2176 - adding fallback effects for non-shader graphics hardware. Work In Progress. ulfjorensen 2008-10-08 15:29:47 +00:00
  • 286d33d30a Updating VC9 workspaces Adding Class definitions for Assimp.NET No Documentation an Implementation so far rave3d 2008-10-07 13:31:07 +00:00
  • 8a879da320 Added tinyxml to the contrib dir. aramis_acg 2008-10-07 09:49:52 +00:00
  • cb7d509017 FIX: Material files with blanks in the filename can be loaded. kimmi 2008-10-05 13:05:53 +00:00
  • 9eee308c4a Changed "KillNormals"-Step to "RemoveVertexComponentXYZ". See ML for more details on this. aramis_acg 2008-10-02 15:22:38 +00:00
  • 927cd1cd46 Added support for point and line primitives. Added SortByPType and DeterminePType (anon.) steps Optimized ASE, fixed 3DS. Rewrite all loaders to conform to the api changes. Optimized normal computation code in LWOLoader.cpp Added new unit tests Added test file for AC3D (good old wuson again) aramis_acg 2008-09-30 20:20:56 +00:00
  • 8925813026 - renamed "bone" anims and associated structures to generic "node" anims. Breaking change, sorry for that. ulfjorensen 2008-09-30 13:05:48 +00:00
  • 832f9cf672 Added unit test for SharedPostProcessInfo aramis_acg 2008-09-27 19:26:13 +00:00
  • 9279513700 Optimized GenVertexNormal-Step. Added SharedPostProcessInfo-class to allow pp-steps to interact with each other. Used this new feature for some cross-optimization between the steps: SpatialSort is now solely computed once, not up to three times. 3DS bugfix - orientation was wrong. ASE normal vectors - although they are normally wrong and not orthonormal they are working now. Fix in fast_atof.h - 1.45E45 (major 'E') is handlded correctly now. Improvements on jAssimp, still WIP and not working. Some LightWave bugfixes, still WIP. aramis_acg 2008-09-27 16:46:05 +00:00
  • a4f2aab6c3 textures sebastianhempel 2008-09-23 13:11:30 +00:00
  • 64c431b5eb materials sebastianhempel 2008-09-23 12:38:39 +00:00
  • 23ec92092a git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@160 67173fc5-114c-0410-ac8e-9d2fd5bffc1f cgmelt 2008-09-22 08:22:36 +00:00
  • 7d665832f6 destructors implemented per mesh normals cgmelt 2008-09-22 08:16:37 +00:00
  • 12d407c974 normal per mesh, (not the whole scene) cgmelt 2008-09-22 08:15:18 +00:00
  • 31e2408732 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@157 67173fc5-114c-0410-ac8e-9d2fd5bffc1f cgmelt 2008-09-22 08:08:48 +00:00
  • 3e46a0860e Added vertex color support to the DXF loader, fixed a minor bugs. Coordinate system issue still unsolved. Modified GenVertexNormals to take always the cross product of the first and the last normal of a face as face normal. Material implementation for LWO - seems to work, but there are some issues with highly complex models. Added some LWO test models Cleaned up the ./test dir - converted some BMPs to JPG to save space, Finished the matrial property list in jAssimp, some other changes, too. The Java part of the API should be working now. aramis_acg 2008-09-20 15:55:51 +00:00
  • 0d5bb1c427 intelligent library search sebastianhempel 2008-09-19 18:06:04 +00:00
  • a79e9cf252 sample update sebastianhempel 2008-09-19 17:53:25 +00:00
  • 02f1c9c9b9 bones sebastianhempel 2008-09-19 17:52:58 +00:00
  • e1011ebaa5 Updating VC9 Workspace Adding Class Files for Assimp.NET rave3d 2008-09-18 17:20:59 +00:00
  • 398879779e searches assimp-library automatically sebastianhempel 2008-09-18 13:36:34 +00:00