Commit Graph

6695 Commits (cec163c0251151ed58eb7f5f0fa361dda0ceac15)

Author SHA1 Message Date
ulfjorensen 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.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@202 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-29 17:08:03 +00:00
alil ef3cd69ae6 worked on getting assimpl compiled on BE
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@201 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-28 23:18:06 +00:00
aramis_acg e9dc280739 Fixed linker error reported by PuMI causing the DLL build to fail.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@200 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-28 12:05:11 +00:00
ulfjorensen d618a57428 - Bugfix again: SkeletonMeshBuilder avoids validation warning for empty bones now.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@199 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-27 22:22:05 +00:00
ulfjorensen 093fa3377f - Bugfix: SkeletonMeshBuilder does not create invalid faces anymore for child nodes at local position (0, 0, 0)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@198 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-27 20:27:05 +00:00
aramis_acg 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 ... ]

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@197 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-27 00:36:26 +00:00
ulfjorensen a62b94079f - Removed Boost_MultiArray-Remake
- Fixed rotation matrix to quaternion conversion, hopefully final this time.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@196 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-26 18:58:34 +00:00
aramis_acg 67be21715d Added a huge 'at the moment not working, sorry' mark to all build configs we don't maintain in the current development phase.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@195 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-25 09:01:40 +00:00
aramis_acg 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.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@194 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-24 20:37:54 +00:00
aramis_acg 44ea300651 Added irrmesh test files.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@193 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-24 20:04:43 +00:00
aramis_acg 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.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@192 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-22 20:06:16 +00:00
ulfjorensen 013ff599a5 Dummy animation support for AssimpView - work in progress. Uses boost in a new way, just because I can.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@191 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-22 15:36:54 +00:00
aramis_acg de476178cd Added cast to unsigned long in PretransformVertices.cpp. Hopefully this fixes the compiler issues with GCC4 on linux.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@190 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-20 11:21:45 +00:00
ulfjorensen 8271164d74 - Further work at the BVH loader. Still work in progress.
- Added a helper class to build a mesh for a meshless node hierarchy

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@189 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-19 21:44:12 +00:00
aramis_acg 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.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@188 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-19 21:26:52 +00:00
aramis_acg 094ed7b9c0 Added missing pointer to NULL assignment in PretransformVertices.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@187 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-19 21:17:01 +00:00
alil c0148c090f fixed some linux issues
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@186 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-19 19:51:24 +00:00
aramis_acg 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.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@185 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-19 11:32:33 +00:00
aramis_acg 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.


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@184 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-18 22:52:05 +00:00
aramis_acg 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.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@183 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-18 19:52:23 +00:00
aramis_acg f2c9745b7d Added StreamReader.h
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@182 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-18 12:19:28 +00:00
aramis_acg 888df37d0f Added stream reader interface test.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@181 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-17 16:26:47 +00:00
aramis_acg 75d212c793 Added a first draft of the aiCamera documentation.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@180 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-17 15:39:11 +00:00
aramis_acg 2d8421ed98 Added modified aiLight data structure
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@179 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-17 14:43:53 +00:00
aramis_acg ba55c0e452 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@178 67173fc5-114c-0410-ac8e-9d2fd5bffc1f 2008-10-16 16:36:25 +00:00
ulfjorensen c128705de9 - beginning of BVH loader, to continue working at home. Not usable, yet.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@177 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-15 16:12:18 +00:00
aramis_acg 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.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@176 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-13 16:45:48 +00:00
ulfjorensen f204ff0d45 Viewer:
- additional fixed to make the viewer work without shaders. Still dummy, though, but now useful enough to allow me to work

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@175 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-13 15:50:12 +00:00
ulfjorensen 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.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@174 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-09 21:18:59 +00:00
ulfjorensen 92ba3e433e - quick-fixed various shader errors to make AssimpView start again
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@173 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-09 20:17:46 +00:00
ulfjorensen 23c99f2176 - adding fallback effects for non-shader graphics hardware. Work In Progress.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@172 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-08 15:29:47 +00:00
rave3d 286d33d30a Updating VC9 workspaces
Adding Class definitions for Assimp.NET
No Documentation an Implementation so far

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@171 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-07 13:31:07 +00:00
aramis_acg 8a879da320 Added tinyxml to the contrib dir.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@170 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-07 09:49:52 +00:00
kimmi cb7d509017 FIX: Material files with blanks in the filename can be loaded.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@169 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-05 13:05:53 +00:00
aramis_acg 9eee308c4a Changed "KillNormals"-Step to "RemoveVertexComponentXYZ". See ML for more details on this.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@168 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-10-02 15:22:38 +00:00
aramis_acg 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)
 

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@167 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-30 20:20:56 +00:00
ulfjorensen 8925813026 - renamed "bone" anims and associated structures to generic "node" anims. Breaking change, sorry for that.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@166 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-30 13:05:48 +00:00
aramis_acg 832f9cf672 Added unit test for SharedPostProcessInfo
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@165 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-27 19:26:13 +00:00
aramis_acg 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.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@164 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-27 16:46:05 +00:00
sebastianhempel a4f2aab6c3 textures
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@162 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-23 13:11:30 +00:00
sebastianhempel 64c431b5eb materials
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@161 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-23 12:38:39 +00:00
cgmelt 23ec92092a git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@160 67173fc5-114c-0410-ac8e-9d2fd5bffc1f 2008-09-22 08:22:36 +00:00
cgmelt 7d665832f6 destructors implemented
per mesh normals

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@159 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-22 08:16:37 +00:00
cgmelt 12d407c974 normal per mesh, (not the whole scene)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@158 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-22 08:15:18 +00:00
cgmelt 31e2408732 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@157 67173fc5-114c-0410-ac8e-9d2fd5bffc1f 2008-09-22 08:08:48 +00:00
aramis_acg 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.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@156 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-20 15:55:51 +00:00
sebastianhempel 0d5bb1c427 intelligent library search
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@155 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-19 18:06:04 +00:00
sebastianhempel a79e9cf252 sample update
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@154 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-19 17:53:25 +00:00
sebastianhempel 02f1c9c9b9 bones
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@153 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-19 17:52:58 +00:00
rave3d e1011ebaa5 Updating VC9 Workspace
Adding Class Files for Assimp.NET

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@152 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-09-18 17:20:59 +00:00