Skip to content

Commit

Permalink
Deploying to gh-pages from @ bb18f04 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Meakk committed Aug 23, 2024
1 parent a3ca119 commit a09f084
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/f3d.js

Large diffs are not rendered by default.

Binary file modified web/f3d.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h1 class="title">F3D Web</h1>
<aside class="menu">
<div class="file has-name">
<label class="file-label">
<input class="file-input" type="file" id="file-selector" accept=".gml,.gltf,.glb,.obj,.ply,.pts,.stl,.vtk,.vtp,.vtu,.3ds,.wrl,.vrml" />
<input class="file-input" type="file" id="file-selector" accept=".gml,.gltf,.glb,.obj,.ply,.pts,.stl,.vtk,.vtp,.vtu,.3ds,.wrl,.vrml,.fbx,.off,.x,.dae" />
<span class="file-cta">
<span class="file-label">Open a file...</span>
</span>
Expand Down
1 change: 1 addition & 0 deletions webassembly/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ target_link_options(f3djs PRIVATE
"SHELL:-sEMULATE_FUNCTION_POINTER_CASTS=0"
"SHELL:-sMODULARIZE=1"
"SHELL:-sUSE_PTHREADS=0"
"SHELL:-sSTACK_SIZE=1048576"
"SHELL:-sWASM=1"
"SHELL:-sFORCE_FILESYSTEM"
"SHELL:-sEXPORTED_RUNTIME_METHODS=FS"
Expand Down
2 changes: 1 addition & 1 deletion webassembly/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h1 class="title">F3D Web</h1>
<aside class="menu">
<div class="file has-name">
<label class="file-label">
<input class="file-input" type="file" id="file-selector" accept=".gml,.gltf,.glb,.obj,.ply,.pts,.stl,.vtk,.vtp,.vtu,.3ds,.wrl,.vrml" />
<input class="file-input" type="file" id="file-selector" accept=".gml,.gltf,.glb,.obj,.ply,.pts,.stl,.vtk,.vtp,.vtu,.3ds,.wrl,.vrml,.fbx,.off,.x,.dae" />
<span class="file-cta">
<span class="file-label">Open a file...</span>
</span>
Expand Down
3 changes: 2 additions & 1 deletion webassembly/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
cmake -S /src -B /build \
-DBUILD_SHARED_LIBS=OFF \
-DF3D_STRICT_BUILD=ON \
-DF3D_PLUGIN_BUILD_ASSIMP=ON \
-DF3D_PLUGIN_BUILD_EXODUS=OFF \
-DF3D_WASM_COPY_APP=ON \
-DCMAKE_BUILD_TYPE=$1 \
-DVTK_DIR:PATH=/depends/lib/cmake/vtk
-DCMAKE_FIND_ROOT_PATH:PATH=/depends/

cmake --build /build

Expand Down

0 comments on commit a09f084

Please sign in to comment.