提供一个模型查看器,
具体使用方法:
ModelViewer version 0.1
It is for cocos2d-x after version v3.3
support to view .c3t/.c3b/.obj Model
You can get the code from here,
https://github.com/songchengjiang/cocos2d-x-ModelViewer
USAGE:
Command line
MAC:
cd
xx/xx/ModelViewer MODELFILEPATH
For example: /Users/lvlong/Desktop/model-viewer/mac/ModelViewer res/orc.c3b
Note:
LEFT_MOUSE_BUTTON — Rotate Camera
RIGHT_MOUSE_BUTTON — Translate Camera
MIDDLE_MOUSE_BUTTON — Scale Camera
SPACE_KEYBOARD — Reset Camera
