Commit Graph

181 Commits

Author SHA1 Message Date
Nick Fisher
c712804bb1 add createLight method to FilamentApp 2025-05-22 15:09:36 +08:00
Nick Fisher
1373ce5a32 use flush() instead of manually invoking different methods for wasm/native 2025-05-22 15:08:29 +08:00
Nick Fisher
943de8f77b add createCamera method to FilamentApp 2025-05-22 15:07:23 +08:00
Nick Fisher
9a4fd1141e remove logging 2025-05-22 15:06:27 +08:00
Nick Fisher
1fb68b20e9 separate Gltf/Morph/BoneAnimationComponentManager definitions
move gltf animation instantiation to GltfAnimationComponentManager (this helps ensure we are creating the component on the correct entity)
2025-05-20 14:57:26 +08:00
Nick Fisher
dc5cdcb7e1 update all void callbacks to accept an integer requestId 2025-05-18 15:08:47 +08:00
Nick Fisher
d3ec825688 rename relativeResourcePath to resourceUri
move resource loader from viewer to FilamentApp
2025-05-17 21:50:58 +08:00
Nick Fisher
27eb117466 remove old WASM viewer 2025-05-17 10:04:49 +08:00
Nick Fisher
6d95180870 remove old JS shim/bridge classes 2025-05-17 10:04:19 +08:00
Nick Fisher
2f16908992 feat! js_interop improvements 2025-05-07 17:06:38 +08:00
Nick Fisher
63e2dcd0ca add getter for Aabb3 directly (getBoundingBox) on ThermionAsset 2025-05-07 16:53:16 +08:00
Nick Fisher
2a5a149e83 update bindings 2025-04-19 09:49:35 +08:00
Nick Fisher
4cb725d47e add Engine_destroyCamera 2025-04-19 09:49:19 +08:00
Nick Fisher
8228486ef3 remove asset from internal list when destroyAsset is called 2025-04-19 09:48:17 +08:00
Nick Fisher
c66dc40bab separate getter/create method for boundingBoxAsset 2025-04-19 09:47:18 +08:00
Nick Fisher
4f1a9fb0d5 update stub + generated bindings 2025-04-17 13:36:16 +08:00
Nick Fisher
454ec14b40 allow relativeResourcePath to be null for loadGltfFromBuffer 2025-04-17 13:36:02 +08:00
Nick Fisher
b4f3d865b4 call updateRenderOrder when setRenderable is called on View 2025-04-17 13:35:41 +08:00
Nick Fisher
e1d5d14ff7 add RenderTarget_destroyRenderThread 2025-04-17 13:35:07 +08:00
Nick Fisher
1be1979c05 rename requestAnimationFrame to requestFrame 2025-04-17 13:34:18 +08:00
Nick Fisher
7d369ad813 change setBoundingBoxVisibility to getBoundingBoxAsset 2025-04-17 13:32:16 +08:00
Nick Fisher
81a28a2f2e change setBoundingBoxVisibility to getBoundingBoxAsset 2025-04-17 13:31:59 +08:00
Nick Fisher
12b6a8c8a5 use render thread methods for all async gltf loading 2025-04-16 19:08:34 +08:00
Nick Fisher
4002425c0d add withFloatCallback handler 2025-04-16 19:07:47 +08:00
Nick Fisher
2b00d374e0 update generated bindings 2025-04-16 18:01:47 +08:00
Nick Fisher
e7092c416b call render thread method for asyncBeginLoad 2025-04-16 18:00:06 +08:00
Nick Fisher
aeb644cf16 make swapChain an optional parameter when calling capture() (if not specified, first swapchain will be used) 2025-04-16 17:23:55 +08:00
Nick Fisher
2d4342607d add async gltf resource loading 2025-04-16 17:06:51 +08:00
Nick Fisher
b160932ff3 logging 2025-04-16 14:00:30 +08:00
Nick Fisher
f9c5ee5896 remove pick() from FFI viewer / add setLayerVisibility 2025-04-16 13:59:42 +08:00
Nick Fisher
10dd66c7f8 remove pick() from viewer interface and add setLayerVisibility 2025-04-16 13:58:52 +08:00
Nick Fisher
ec3e7ed3ba implement pick() for FFIView with fixed native callable 2025-04-16 13:32:12 +08:00
Nick Fisher
9d593b8c3b add getHorizontalFieldOfView/getVerticalFieldOfView methods to (Dart) Camera class 2025-04-16 13:29:24 +08:00
Nick Fisher
303174117f destroy background image on viewer dispose 2025-04-02 23:01:13 +08:00
Nick Fisher
a3f05e353d remove view from registered swapchain list on destroy 2025-04-02 23:00:04 +08:00
Nick Fisher
e0b2e1c3b9 add onDestroy hooks for FilamentApp 2025-04-02 22:27:12 +08:00
Nick Fisher
968e2e508d set FilamentApp.instance to null on disposal 2025-03-28 15:55:35 +08:00
Nick Fisher
ecb8d8672a fix instancing so that gltf assets always fill the first instance slot 2025-03-28 13:06:36 +08:00
Nick Fisher
a79e1a86f8 update stub 2025-03-28 11:48:52 +08:00
Nick Fisher
7960b55dbd in ThermionViewerFFI, set view renderable by default 2025-03-28 11:48:26 +08:00
Nick Fisher
77465baaf4 cleanup imports 2025-03-28 11:48:08 +08:00
Nick Fisher
289749115b add flush() method on FilamentApp 2025-03-28 10:01:26 +08:00
Nick Fisher
aebaa8425c cleanup 2025-03-25 11:34:24 +08:00
Nick Fisher
1b902e36f4 expose setBlendMode on View 2025-03-25 11:34:08 +08:00
Nick Fisher
999b1e613f refactoring + texture projection 2025-03-25 09:39:02 +08:00
Nick Fisher
0cbbc058e0 refactoring 2025-03-22 10:49:24 +08:00
Nick Fisher
a67f42f0de refactoring 2025-03-21 17:18:16 +08:00
Nick Fisher
255c0edd49 refactoring 2025-03-21 14:56:20 +08:00
Nick Fisher
e6bdcb687a refactoring 2025-03-20 18:48:04 +08:00
Nick Fisher
cbff4cd805 refactoring 2025-03-20 11:07:16 +08:00