具有高质量渲染和 glTF2.0/GLB 导出功能的 3D 模型查看器
基于 ClayGL 和 glTF2.0/GLB 导出的高质量渲染的 3D 模型查看器。
在 Windows 和 macOS 上下载 应用程序,支持 FBX/DAE/OBj 导入和 glTF2.0/GLB 导出。将其用作通用的模型预览工具!
…这里 是完整的图形配置
ClayGL 提供了一个 Python 工具,用于将 FBX 转换为 glTF 2.0。 https://github.com/pissang/claygl/blob/master/tools/fbx2gltf.py 需要 python3.3 和 FBX SDK 2018.1.1
…导出场景
# exclude animation
fbx2gltf2.py -e animation -p 0 xxx.fbx导出动画
# exclude scene, 0 to 20 second, 20 framerate.
fbx2gltf2.py -e scene -t 0,20 -f 20 -o xxx_ani.gltf xxx.fbx异步加载场景和动画
viewer.loadModel('asset/xiniu/xiniu.gltf')
// Model loaded. not include textures.
.on('loadmodel', function (modelStat) {
viewer.start();
// Load extra animation glTF
viewer.loadAnimation('asset/xiniu/xiniu_ani.gltf');
});npm install
# Build loader
npm run build
# Build editor
webpack --config editor/webpack.config.js暂无开放 Issues,或尚未同步最近议题。