aerys / minko

3D framework for web, desktop and mobile devices.
http://minko.io
Other
905 stars 210 forks source link

minko assimp plugin fails to load LWO format #168

Closed miniduck closed 8 years ago

miniduck commented 10 years ago

I cannot get lwo,lxo working with the assimp plugin in windows64 debug/release. ascii formats like dae, obj, dxf, 3ds are working fine.

I tried building assimp non-boost standalone and it was working fine reading the files.

Tried latest minko master/dev

Breaking in Importer.cpp, SetIOHandler()

First-chance exception at 0x000007FEFD3E940D in minko-example-assimp.exe: Microsoft C++ exception: minko::file::ParserError at memory location 0x000000000022D770. First-chance exception at 0x000000013FCCB62B in minko-example-assimp.exe: 0xC0000005: Access violation reading location 0x0000000000000020. Unhandled exception at 0x000000013FCCB62B in minko-example-assimp.exe: 0xC0000005: Access violation reading location 0x0000000000000020.

minko-example-assimp.exe!std::list<std::pair<float,std::function<void cdecl(std::shared_ptr,std::shared_ptrminko::file::AbstractParser)> >,std::allocator<std::pair<float,std::function<void cdecl(std::shared_ptr,std::shared_ptrminko::file::AbstractParser)> > > >::size() Line 1236 C++ minko-example-assimp.exe!minko::Signalstd::shared_ptr<minko::file::AssetLibrary,std::shared_ptrminko::file::AbstractParser >::numCallbacks() Line 117 C++ minko-example-assimp.exe!minko::file::AssetLibrary::loaderCompleteHandler'::1'::catch$0() Line 397 C++ [External Code] minko-example-assimp.exe!minko::file::AssetLibrary::loaderCompleteHandler(std::shared_ptrminko::file::AbstractLoader loader) Line 393 C++ [External Code] minko-example-assimp.exe!minko::Signalstd::shared_ptr::execute(std::shared_ptrminko::file::AbstractLoader ) Line 164 C++ minko-example-assimp.exe!minko::file::FileLoader::load(const std::basic_string<char,std::char_traits,std::allocator > & filename, std::shared_ptrminko::file::Options options) Line 113 C++ minko-example-assimp.exe!minko::file::AssetLibrary::load(bool executeCompleteSignal) Line 348 C++ minko-example-assimp.exe!main(int argc, char * * argv) Line 93 C++

miniduck commented 10 years ago

minko has assimp defined to exclude lwo format, enabled it and working as expected in windows but fails to load under html5. Any ideas?

warrenseine commented 10 years ago

It is disabled for 3 reasons:

The unclear error message will however be improved in future betas.

JMLX42 commented 10 years ago

We've recently updated ASSIMP to the latest version. It should soon be shipped on the dev branch. It should fix a lot of issues. Maybe this one too.

miniduck commented 10 years ago

hope so! lwo and lxo are binary formats - all other which are ascii are working

JMLX42 commented 9 years ago

Have you tested with the latest version on master?