dmsurti / AssimpKit

A library (macOS, iOS) that converts the files supported by Assimp to Scene Kit scenes.
http://assimpkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
477 stars 54 forks source link

fbx not supported #84

Closed cissusnar closed 7 years ago

cissusnar commented 7 years ago

when I load a fbx file, it will print following errors:

2017-11-02 14:50:19.971128+0800 OSX-Example[12918:245460] errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 "query cancelled" UserInfo={NSLocalizedDescription=query cancelled}

dmsurti commented 7 years ago

FBX is supported. Please attach the fbx file or a sample fbx file that demonstrates this error for further investigation. Thanks.

cissusnar commented 7 years ago

sorry, just forgot upload sample. :P

Sapphiart_model.fbx.zip

dmsurti commented 7 years ago

No worries. I just checked and it is a problem with the assimp library that AssimpKit uses to import the models.

The error reported is:

Scene importing failed with error FBX-Tokenize (offset 0x34) block offset is out of range

I have reported this error upstream to assimp. Once it is fixed there, AssimpKit will handle it fine. Closing this for now as it is dependent on a fix upstream.