java - LidGDX. How to load .G3D(binary) model with animation -
i use lidgdx android app. have animated blender model exported g3d binary format. according docs should use code like
assetmanager assets; assets.load("data/mymodel1.g3d", model.class); model model = assets.get("data/mymodel1.g3d", model.class);
but works when have json-based models. loaders assetmanager has json files. there no loader binary data. libgdx says binary format g3d supported. can't find way load binary model.
the old g3d file format isn't used anymore (assetmanager has never been able load .g3d files). replaced new g3db (binary json) , g3dj (textual json) file format. can use fbx-conv (https://github.com/libgdx/fbx-conv) convert fbx models 1 of these file formats. see also: http://blog.xoppa.com/loading-models-using-libgdx/.
Comments
Post a Comment