Skip to content

Commit

Permalink
Add support for FBX file format #56
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacsv committed Aug 12, 2021
1 parent c92d1b7 commit 0a547f7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion website/index.html
Expand Up @@ -159,7 +159,7 @@
<div class="intro_section only_full_width only_full_height"><img src="assets/images/3dviewer_net_logo.svg" class="intro_logo"></img></div>
<div class="intro_section intro_big_text">
Drag and drop your 3D models here.<br>
<b>obj, 3ds, stl, ply, gltf, glb, 3dm, off</b>
<b>obj, 3ds, stl, ply, gltf, glb, 3dm, fbx, off</b>
</div>
<div class="intro_section">
Or you can use the browse button above.
Expand Down
15 changes: 14 additions & 1 deletion website/info/index.html
Expand Up @@ -24,7 +24,7 @@ <h1><a href=".">Online 3D Viewer Manual</a></h1>
<p>
This is the user manual for the <a href="https://3dviewer.net">3dviewer.net</a> 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.
</p>
<p>
<ol>
Expand Down Expand Up @@ -117,6 +117,19 @@ <h2 id="supported_file_formats">Supported file formats</h2>
<td class="center green">&#x2713</td>
<td>experimental</td>
</tr>
<tr>
<td rowspan="2">fbx</td>
<td>text</td>
<td class="center green">&#x2713</td>
<td class="center red">&#x2717</td>
<td>experimental with three.js loader</td>
</tr>
<tr>
<td>binary</td>
<td class="center green">&#x2713</td>
<td class="center red">&#x2717</td>
<td>experimental with three.js loader</td>
</tr>
<tr>
<td rowspan="2">off</td>
<td>text</td>
Expand Down
2 changes: 1 addition & 1 deletion website/o3dv/js/loader.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 0a547f7

Please sign in to comment.