Commit Graph

6695 Commits (cec163c0251151ed58eb7f5f0fa361dda0ceac15)

Author SHA1 Message Date
aramis_acg 3435623463 Fixing template instancing failure in aiMaterial::Get().
Providing explicit specialization for aiColor3D.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@470 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-23 15:46:04 +00:00
aramis_acg a251827cb9 Adding support for Unicode input files to most text file loaders (BVH and MD5 missing for now).
IrrXML receives memmapped UTF-8 input data now, it's own (faulty) conversion is not used anymore.
aiString's are explicitly UTF-8 now.
Slight refactorings and improvements.
Adding UTF-8/UTF-16 text files for ASE,obj,collada,ac3d. These contain various japanese/chinese character sequences.
Changing assimp_view's node view to display UTF-8 multibyte sequences correctly.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@469 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-21 22:49:58 +00:00
aramis_acg 3b95a1e782 Adding aiMaterial::GetTextureCount()/aiMaterialGetTextureCount().
'Removing' some MSVC compile warnings from B3D.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@468 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-21 11:26:54 +00:00
kimmi d3ff282987 - Removed dead code.
- Fixed some compiler warnings ( occurred with warning level 4 ).

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@467 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-19 20:45:51 +00:00
ulfjorensen 12070a1d52 Bugfix: made various internal structures namespace-local to avoid strange linker issues in case of name conflict
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@466 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-18 16:17:27 +00:00
aramis_acg 07428f37c7 FIX: GenFaceNormals process returns unit normals now.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@464 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-08 10:50:46 +00:00
kimmi 82bb2313f0 - Add cmake buildfile for unitests ( currently no cppunit is part of the makefile ).
- Add cmake buildfile for assimp_cmd application.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@463 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-02 20:53:30 +00:00
kimmi af725fd545 - Bugfix 2824877: Avoid handling of negative ids in face definitions.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@462 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-02 17:17:40 +00:00
kimmi eda47a6f0b - Add new helper funtion to detect end of buffer.
- Bugfix Obj-loader: If material file is not ended with a newline material loader crashes: Check for end of buffer.
- Refactoring: Rename helper function isSpace to isSeparator to make sense of function much clearer!

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@461 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-02 17:11:38 +00:00
ulfjorensen 98e53f976e - Bugfix: IrrXML loader ignores trailing whitespace on closing tags now
- Bugfix: Collada loader now filters bone vertex weights with weight zero - blame XSI collada export.
- Bugfix: Collada animation resolver now also considers IDs when searching for nodes by name

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@460 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-01 20:20:22 +00:00
ulfjorensen 3f2fa97f18 - Bugfix: Collada-Loader now also reads animations containing multiple channels
- Bugfix: Collada-Loader new resolves subelement animation channels correctly
- silenced some warnings in the B3DImporter code. There are a lot more over there, though.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@459 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-08-01 13:57:29 +00:00
klickverbot 99a6ed1bb9 Added note about the current aiGetMaterialPropetry() exporting bug to the dAssimp README.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@458 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-31 23:04:58 +00:00
klickverbot f0be9ad6f1 Renamed the texture files referenced by test/models/IRRMesh/cellar.irrmesh to the (lowercase) names which are stored in the model file.
This caused an error on case-sensitive operating systems like Linux.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@457 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-31 22:38:19 +00:00
klickverbot 0bf34ced10 A couple of small documentation fixes (spelling, missing characters, …).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@456 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-31 22:34:21 +00:00
klickverbot 746fb7549c Imported D bindings into port/dAssimp.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@455 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-31 22:30:22 +00:00
rave3d 33011627a0 Adding Importer Interface
marking some classes abstract


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@454 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-30 18:22:24 +00:00
rave3d 01fa65a759 adding some new class files
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@453 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-30 17:16:04 +00:00
rave3d e2266568d4 forgot public modifiers for classes
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@452 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-30 17:14:22 +00:00
rave3d 91284765c2 adding interface definition for AssimpNET
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@451 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-30 17:08:50 +00:00
aramis_acg 6674f1587d Updating code sample for aiGetPredefinedLogStream.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@450 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-23 20:16:05 +00:00
aramis_acg 8b3b63a5b3 Some documentation fixes.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@449 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-20 18:50:51 +00:00
aramis_acg d7f7e40adb SimpleSample_OpenGL now builds under Linux
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@448 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-07-17 21:26:00 +00:00
aramis_acg c50410f487 FIX: Dump contains material index now.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@447 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-29 14:58:06 +00:00
rave3d 975276d31a Adding DemoProject
Adding some License Informations to the header files


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@446 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-23 16:02:29 +00:00
aramis_acg 2d994c514c Changing 3DS parsing routines to work iteratively instead of recursively. This hopefully avoids unwanted stack overflowing with deeply-nested model hierarchies.
Updating revision number.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@445 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-23 12:25:35 +00:00
aramis_acg adb4ab602e Adding Importer::ReadFileFromMemory to make Chromanoid happy.
Updating unit test suite to verify the newly added stuff for correctness.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@444 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-21 19:44:48 +00:00
aramis_acg a4d7871096 [2805689] GCC 4.4 compatibility.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@443 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-20 14:54:50 +00:00
aramis_acg cc96f55c61 Adding samples/SimpleOpenGL.
Adding basic math functions to the C API. This functionality is exposed to C++ users via operator overloading of aiMatrix4x4, aiMatrix3x3, aiVector3D.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@442 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-20 14:49:49 +00:00
rave3d 5b2c7d060a git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@441 67173fc5-114c-0410-ac8e-9d2fd5bffc1f 2009-06-17 18:35:55 +00:00
rave3d 53f7120c20 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@440 67173fc5-114c-0410-ac8e-9d2fd5bffc1f 2009-06-17 18:35:35 +00:00
rave3d 4c5a9ae67f adding Assimp.NET to vc9 workspace
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@439 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-17 18:33:41 +00:00
rave3d 09c1fdef9d New Assimp.NET workspace (now Managed C++, Only Vc9 Workspace :( )
Added Empty classes for Assimp.NET

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@438 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-17 18:32:39 +00:00
rave3d 1b4a6d054d delete old assimp.net
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@437 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-17 17:40:51 +00:00
marksibly 99af04ec64 Fixed bug with multi mesh objects
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@436 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-08 23:32:16 +00:00
aramis_acg 298babe1bb Adding two animated B3D test files. Thanks to the webmaster of psionic3D.co.uk for the permission to use them.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@435 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-05 16:36:16 +00:00
aramis_acg a534c364b2 AssimpView now finds textures stored with their full path in the asset's directory.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@434 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-05 01:47:55 +00:00
aramis_acg 9070dc1f3c Further work on jAssimp. Still WIP and NOT USABLE, but interface getting stable now, most JNI code written.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@433 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-04 17:44:51 +00:00
aramis_acg 31f7adbed8 Deleting unused jAssimp stuff.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@432 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-04 17:42:03 +00:00
aramis_acg 703d11b5c4 Adding WIP stuff to jAssimp.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@431 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-04 17:40:48 +00:00
aramis_acg 3b03839d46 Adding doc dir to JAssimp.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@430 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-04 17:34:34 +00:00
aramis_acg c029c5e142 Deleting unused jAssimp stuff.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@429 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-04 17:33:57 +00:00
ulfjorensen fe58fa6603 - Bugfix: Collada loader now loads meshes with mixed textured / non-textured parts correctly. At least I hope so, the example files load fine now.
- Bugfix: implemented Collada Look-At transformation type. Untested due to lack of testing material

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@428 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-02 20:03:08 +00:00
marksibly a241829149 Implemented anims/bones
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@427 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-06-02 05:08:24 +00:00
kimmi 7ae85f56fa Bugfix: Remove local header from CMake script.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@426 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-05-28 17:32:36 +00:00
aramis_acg d881a16402 Logging functions are now available to C-Users, too. Cleaning up headers.
Changing spelling of some enums to camel.
Ply loader loads tristrips correctly now.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@425 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-05-28 11:32:54 +00:00
aramis_acg 1aa80ca8da Adding Importer::ApplyPostProcessing(), uncommenting RegisterPPStep() and UnregisterPPStep().
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@423 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-05-25 17:19:20 +00:00
aramis_acg de14e06805 FIX: Nasty debug-only bug in FindInstancesProcess.
FIX: Crash at ReplaceCurrentTexture().
FIX: Crash at 'compute smooth normals' in AssimpView.
FIX: Obj shininess is now scaled by 4.0.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@421 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-05-16 15:33:01 +00:00
aramis_acg 13804abf2e FIX: ObjLoader reads opacity now.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@419 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-05-10 00:08:06 +00:00
aramis_acg 077511b1a0 FIX: WaveFront MTL files will no line break at the end will now read properly.
Manually removing the line break from a test file for regression testing.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@418 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-05-09 23:54:16 +00:00
aramis_acg 84c6b4fde6 AssimpView:
- postprocessing configuration is no (partially) configurable.
 - adding linsk to Assimp homepage/bugtracker/forums.
 - updating about dialog.  
 - fixing colors of texture view (tiny array overrun ...).
 - minor UI theme adjustments.
 - 'setup file extensions' works again.
 - normal smooth limit is now used for primary import, too.
 - minor spelling fixes in the UI.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@417 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2009-05-09 23:27:48 +00:00