Commit Graph

2831 Commits

Author SHA1 Message Date
Nick Fisher
3e44716e8c try and use Dart path directly 2025-05-23 17:09:51 +08:00
Nick Fisher
bf295394a8 try and use Dart path directly 2025-05-23 17:06:45 +08:00
Nick Fisher
64bc7f8bf3 update GitHub actions to use flutter action 2025-05-23 17:03:07 +08:00
Nick Fisher
63ba231996 update GitHub actions to remove upload logs step (unavailable on macos?) 2025-05-23 16:59:28 +08:00
Nick Fisher
562c221461 update GitHub actions to remove upload logs step (unavailable on macos?) 2025-05-23 16:58:48 +08:00
Nick Fisher
f123bbf930 update GitHub actions 2025-05-23 16:57:53 +08:00
Nick Fisher
1765350cbe update GitHub actions to run tests on macos 2025-05-23 16:50:13 +08:00
Nick Fisher
94683ab5a9 (test) ensure aspect ratio is correctly set if viewport is not square 2025-05-23 16:28:32 +08:00
Nick Fisher
5a74345fe1 specify texture flags for render target in flutter 2025-05-23 16:28:09 +08:00
Nick Fisher
195a625738 when getMaterialInstance/setMaterialInstance are called, if entity is not renderable, return false
if no entity is passed, iterate through all entities and use the first renderable entity
2025-05-23 16:27:38 +08:00
Nick Fisher
725f36a860 (test) use RGBA32F when creating render target in TestHelper 2025-05-22 15:23:30 +08:00
Nick Fisher
51212bdeed (test) cleanup imports 2025-05-22 15:22:32 +08:00
Nick Fisher
96694be017 remove register/unregister swapchain/view in TextureProjection
since we are rendering each view separately, this is no longer necessary
2025-05-22 15:22:15 +08:00
Nick Fisher
a31f11151e check for beginFrame returning false in project() and correctly calculate numChannels/channelSize 2025-05-22 15:19:03 +08:00
Nick Fisher
10136c8cde use flush() instead of directly calling executeRenderThread (wasm) or flushAndWait (native) 2025-05-22 15:18:19 +08:00
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
1b3d46533c remove unnecessary import 2025-05-22 15:08:02 +08:00
Nick Fisher
5733bc125b add addEntity method to Scene 2025-05-22 15:07:43 +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
2bf77f123f remove unused sampledDepth parameter from capture_uv material 2025-05-22 15:03:52 +08:00
Nick Fisher
9785576866 reinstate View tests 2025-05-22 15:03:22 +08:00
Nick Fisher
3007dec127 TextureProjection now makes a separate render pass for each View.
This is needed because changing material properties between beginFrame/endFrame is unsupported
2025-05-22 15:03:06 +08:00
Nick Fisher
1008452198 (test) formatting 2025-05-21 13:16:20 +08:00
Nick Fisher
1f58c13179 (test) formatting 2025-05-21 13:16:06 +08:00
Nick Fisher
5ce2efa638 (web) remove console logging 2025-05-21 13:15:43 +08:00
Nick Fisher
e75805ba06 change output dir for generated swift lib 2025-05-21 13:15:14 +08:00
Nick Fisher
73f04eb0d4 update test helper setup for new objective_c package 2025-05-21 13:14:46 +08:00
Nick Fisher
097d991ea8 move precompiled Swift lib to test/generated and add precompiled objc 2025-05-21 13:14:31 +08:00
Nick Fisher
5cf494def9 remove old input handler test 2025-05-21 12:03:20 +08:00
Nick Fisher
23d6e3a819 (example) update picking example 2025-05-21 12:02:29 +08:00
Nick Fisher
9a6bacc73f pass both logical key & physical key to input handler on keyboard keypress 2025-05-21 12:01:50 +08:00
Nick Fisher
e432b0be1d update tests 2025-05-21 11:58:32 +08:00
Nick Fisher
2dad04a354 (examples) remove logging 2025-05-20 14:57:41 +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
d61723dee2 update Emscripten build instructions for macOS compat 2025-05-18 15:13:02 +08:00
Nick Fisher
1afd5ff257 clean up FixedOrbitCameraDelegate 2025-05-18 15:11:52 +08:00
Nick Fisher
04b8b333d4 update materials_and_textures sample 2025-05-18 15:11:52 +08:00
Nick Fisher
fdd3853121 add await to inputHandler calls in ThermionListenerWidget 2025-05-18 15:11:52 +08:00
Nick Fisher
bdba92c842 set emscripten main thread to nullptr when RenderThread is stopped 2025-05-18 15:11:52 +08:00
Nick Fisher
66f3e20489 copy input events before passing to delegate 2025-05-18 15:11:52 +08:00
Nick Fisher
871a327d99 implement js_interop withUint32Callback 2025-05-18 15:11:52 +08:00
Nick Fisher
c53266f12f move ThermionFlutterWebOptions to platform_interface package 2025-05-18 15:11:52 +08:00
Nick Fisher
11ff6c9053 remove TMaterialKey struct and pass directly as function params 2025-05-18 15:11:50 +08:00
Nick Fisher
d392daa2e6 fix Makefile 2025-05-18 15:09:05 +08:00
Nick Fisher
fc75aab94b add bindings for View_pickRenderThread 2025-05-18 15:09:05 +08:00
Nick Fisher
760ae8ed8b add makeInt32List method (to create an Int32List actually backed by heap-allocated memory 2025-05-18 15:09:05 +08:00
Nick Fisher
25ada92574 add View_pickRenderThread method (only used in WASM builds so we can proxy the callback to the main thread 2025-05-18 15:09:05 +08:00
Nick Fisher
12c8031f2b update JS bindings 2025-05-18 15:09:04 +08:00