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, 禁止轉載 🈲️,侵權必究⚠️!



免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM