3D model viewer with high quality rendering and glTF2.0/GLB export
3D model viewer with high quality rendering and glTF2.0/GLB export
3D model viewer with high quality rendering based on ClayGL and glTF2.0/GLB export.
Download App on Windows and macOS with FBX/DAE/OBj import and glTF2.0/GLB export. Use it as a common model preview tool!
…Here is the full graphic configuration
ClayGL provide a python tool for converting FBX to glTF 2.0.
https://github.com/pissang/claygl/blob/master/tools/fbx2gltf.py
Needs python3.3 and FBX SDK 2018.1.1
…Export scene
# exclude animation
fbx2gltf2.py -e animation -p 0 xxx.fbxExport animation
# exclude scene, 0 to 20 second, 20 framerate.
fbx2gltf2.py -e scene -t 0,20 -f 20 -o xxx_ani.gltf xxx.fbxLoad scene and animation asynchronously
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.jsNo open issues yet, or sync has not completed.