From 0a547f7239ff12386a494115ff2ea5828b1db60e Mon Sep 17 00:00:00 2001 From: kovacsv Date: Thu, 12 Aug 2021 08:21:13 +0200 Subject: [PATCH] Add support for FBX file format #56 --- README.md | 1 + website/index.html | 2 +- website/info/index.html | 15 ++++++++++++++- website/o3dv/js/loader.js | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fe18d406..c61d252d 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ The repository is separated into two parts. See more information in the [Develop - ply (text and binary) - gltf (text and binary) - 3dm (experimental) +- fbx (experimental) - off (text only) ### Export diff --git a/website/index.html b/website/index.html index bc3817d1..624ff53c 100644 --- a/website/index.html +++ b/website/index.html @@ -159,7 +159,7 @@
Drag and drop your 3D models here.
- obj, 3ds, stl, ply, gltf, glb, 3dm, off + obj, 3ds, stl, ply, gltf, glb, 3dm, fbx, off
Or you can use the browse button above. diff --git a/website/info/index.html b/website/info/index.html index f16c0744..dd0b32f0 100644 --- a/website/info/index.html +++ b/website/info/index.html @@ -24,7 +24,7 @@

Online 3D Viewer Manual

This is the user manual for the 3dviewer.net website. The website can open several 3D file formats and visualize the model in your browser. - Supported file formats: obj, 3ds, stl, ply, gltf, glb, 3dm, and off. + Supported file formats: obj, 3ds, stl, ply, gltf, glb, 3dm, fbx, and off.

    @@ -117,6 +117,19 @@

    Supported file formats

    ✓ experimental + + fbx + text + ✓ + ✗ + experimental with three.js loader + + + binary + ✓ + ✗ + experimental with three.js loader + off text diff --git a/website/o3dv/js/loader.js b/website/o3dv/js/loader.js index 6c0509e0..58772786 100644 --- a/website/o3dv/js/loader.js +++ b/website/o3dv/js/loader.js @@ -5,7 +5,7 @@ OV.InitModelLoader = function (modelLoader, callbacks) if (importError.code === OV.ImportErrorCode.NoImportableFile) { return OV.ShowMessageDialog ( 'Something went wrong', - 'No importable file found. You can open obj, 3ds, stl, ply, gltf, glb, 3dm, and off files.', + 'No importable file found. You can open obj, 3ds, stl, ply, gltf, glb, 3dm, fbx, and off files.', importError.message ); } else if (importError.code === OV.ImportErrorCode.ImportFailed) {