将.fbx文件转换为g3dj无法正常工作

时间:2016-04-13 16:28:15

标签: libgdx

iMac:fbx-conv me$ ./fbx-conv-mac -v -o G3DJ courier.fbx
INFO:     FBX to G3Dx converter, version 0.01.0061 x64 , FBXSDK 2014.02
STATUS:   Loading source file
PROGRESS: Import FBX 100.00%                                                             
STATUS:   Converting source file
STATUS:   Closing source file
VERBOSE:  Listing model information:
VERBOSE:  ID        : 
VERBOSE:  Version   : Hi=0, Lo=1
VERBOSE:  Meshes    : 0 (0 vertices, 0 parts, 0 indices)
VERBOSE:  Nodes     : 0 root, 0 total, 0 parts
VERBOSE:  Materials : 0 (0 textures)
STATUS:   Exporting to G3DJ file: courier.g3dj
STATUS:   Closing exported file

我正在使用maya lt将对象导出到fbx进行转换。 3d模型从maya市场站点下载,导入并导出到fbx。

返回的.g3dj文件几乎为空。将其加载到libgdx中

  

assets.load(“data / courier.g3dj”,Model.class);

也没有显示任何内容。

任何人都知道出了什么问题?

.g3dj文件:

{
    "version": [  0,   1], 
    "id": "", 
    "meshes": [], 
    "materials": [], 
    "nodes": [], 
    "animations": []
}

我尝试使用搅拌器取得了一些成功,并将其归还给我:

    iMac:fbx-conv me$ ./fbx-conv-mac -v -o G3DJ palm_tree.fbx
INFO:     FBX to G3Dx converter, version 0.01.0061 x64 , FBXSDK 2014.02
STATUS:   Loading source file
PROGRESS: Import FBX 12.50% palm_tree                                           
PROGRESS: Import FBX 25.00% 02 - Default                                       PROGRESS: Import FBX 37.50% Map #1
PROGRESS: Import FBX 50.00% Map #1
PROGRESS: Import FBX 62.50% Take 001
PROGRESS: Import FBX 75.00% BaseLayer                                  PROGRESS: Import FBX 87.50%                                           PROGRESS: Import FBX 100.00%

STATUS:   [shape(palm_tree)] Triangulating FbxMesh geometry
VERBOSE:  [shape(palm_tree)] polygons: 1032 (3096 indices), control points: 724
STATUS:   Converting source file
STATUS:   Closing source file
VERBOSE:  Listing model information:
VERBOSE:  ID        : 
VERBOSE:  Version   : Hi=0, Lo=1
VERBOSE:  Meshes    : 1 (743 vertices, 1 parts, 3096 indices)
VERBOSE:  Nodes     : 1 root, 1 total, 1 parts
VERBOSE:  Materials : 1 (1 textures)
STATUS:   Exporting to G3DJ file: palm_tree.g3dj
STATUS:   Closing exported file

0 个答案:

没有答案