Skip to content

Commit 39ca4d3

Browse files
committed
Merge pull request #101 from andyque/v4
add fbx-conv
2 parents 05bc89f + 4fbbf62 commit 39ca4d3

4 files changed

Lines changed: 33 additions & 0 deletions

File tree

fbx-conv/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
fbxconverter version 0.4
2+
It is for cocos2d-x after version v3.3
3+
4+
Convert .fbx to .c3t used by cocos2d-x. Thanks to libgdx fbx-conv. We use their code and do some change.
5+
6+
You can get the source code from the address below:
7+
https://github.com/lvlonggame/cocos2d-x-3rd-party-libs-src
8+
9+
USAGE:
10+
11+
Open a command line and enter into the fbx-conv directory, and then input the full path fbx-conv file (you can drag fbx-conv to command line directly) and then enter the parameters -a (-a means export both of c3t and c3b file, if parameter is empty we export c3b file by default), and then enter the file name which you want to convert.
12+
13+
Command line:
14+
cd [path of fbx-conv]
15+
xx/xx/fbx-conv [options] <input>
16+
17+
For example:
18+
1. cd /Users/xx/cocos2d-x-3rd-party-libs-bin/fbx-conv/mac
19+
2. /Users/xx/cocos2d-x-3rd-party-libs-bin/fbx-conv/mac/fbx-conv -a boss.FBX
20+
21+
You can use the -? option to see more help information.
22+
23+
Note:
24+
25+
1. Model need to have a material that contain one texture in the diffuse-channel at least.
26+
27+
2. About animation, we just support skeletal animation.
28+
29+
3. Just one skeletal animation object and no support multiple skeleton.
30+
31+
4. You can export multiple static model , so you can support a static scene.
32+
33+
5. The maximum amount of vertices or indices a mesh should less than 32767.

fbx-conv/mac/fbx-conv

356 KB
Binary file not shown.

fbx-conv/mac/libfbxsdk.dylib

30.3 MB
Binary file not shown.

fbx-conv/win/fbx-conv.exe

5.39 MB
Binary file not shown.

0 commit comments

Comments
 (0)