realXtend/naali — pull request #513 by A-K (2012-08-24 13:45:29+00:00)
Title: Openassetimport2

New pull request for OpenAssetImport with cleaned history.

This pull request includes support for importing collada files through Open Asset Import Library. Although it's tested mainly with collada files, other file types that are supported by Assimp should work also (no guarantee promised). The importer is tested with Linux only. Modified core files are OgreMeshAsset.h and OgreMeshAsset.cpp.

OgreMeshAsset has been modified to use OpenAssetImport to convert collada files to ogre meshes. If collada file includes materials, OpenAssetImport generates materials in ogre, creates OgreMaterialAssets through AssetAPI and makes the ”OgreMaterialAsset.ogreMaterial” point to the generated material. If the materials in collada file have textures, OpenAssetImport loads or requests them through AssetAPI.

Small demo scenes (AssimpDemoScene) was created for testing the OpenAssetImport.