xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

Three.js render .max & .fbx model file All In One

Three.js render .max & .fbx model file All In One

three.js 3d model loaders

https://github.com/mrdoob/three.js/tree/dev/examples/js/loaders

https://github.com/mrdoob/three.js/blob/dev/examples/js/loaders/FBXLoader.js

3D Max

.max / .ma / .FBX / .tga / .png / .db

3dmax online viewer

https://viewer.autodesk.com/

.gltf & .glb

Where possible, we recommend using glTF (GL Transmission Format).

Both .GLB and .GLTF versions of the format are well supported.

Because glTF is focused on runtime asset delivery, it is compact to transmit and fast to load.
Features include meshes, materials, textures, skins, skeletons, morph targets, animations, lights, and cameras.

在可能的情况下,我们建议使用 glTF(GL 传输格式)。
.GLB 和 .GLTF 版本的格式都得到很好的支持。
由于 glTF 专注于运行时资产交付,因此传输紧凑且加载速度快。
功能包括网格、材质、纹理、皮肤、骨架、变形目标、动画、灯光和相机。

https://threejs.org/docs/#manual/en/introduction/Loading-3D-models

FBX2glTF


$  > FBX2glTF ~/models/butterfly.fbx

$  > FBX2glTF --binary --draco --verbose \
          --input ~/models/source/butterfly.fbx \
          --output ~/models/target/butterfly.glb

https://github.com/facebookincubator/FBX2glTF#fbx2gltf

https://github.com/facebookincubator/FBX2glTF/releases/download/v0.9.7/FBX2glTF-darwin-x64

demos

.FBX

.FBX !== .fbx

大写好使 ✅


小写不好使 ❌

refs



©xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2022-02-18 14:57  xgqfrms  阅读(376)  评论(20编辑  收藏  举报