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
Nick Fisher
8c78e8e629
update JS interop to accept requestId for VoidCallback
2025-05-18 15:09:03 +08:00
Nick Fisher
dc5cdcb7e1
update all void callbacks to accept an integer requestId
2025-05-18 15:08:47 +08:00
Nick Fisher
383fc221d9
add web docs
2025-05-18 15:08:47 +08:00
Nick Fisher
e4942bad2f
add web docs
2025-05-18 15:08:47 +08:00
Nick Fisher
460000308a
remove custom camera delegate
2025-05-18 15:08:47 +08:00
Nick Fisher
826a22f348
wip
2025-05-18 15:08:45 +08:00
Nick Fisher
43442e10de
update picking index.html
2025-05-18 14:46:56 +08:00
Nick Fisher
b710e0ace3
regenerate JS bindings
2025-05-18 14:46:48 +08:00
Nick Fisher
b0087d8d54
rename loadResource in ThermionFlutterWeb
2025-05-18 14:46:39 +08:00
Nick Fisher
dcef1a5749
symlink cube_with_morph_targets.glb to example assets
2025-05-17 22:23:39 +08:00
Nick Fisher
1c0a7f6b1e
update BUILDING.md
2025-05-17 22:23:00 +08:00
Nick Fisher
2444e9a980
add example animations project
2025-05-17 22:19:47 +08:00
Nick Fisher
417ee4648f
(flutter) rename resourceLoader to loadResource and don't pass to ThermionViewerFFI
2025-05-17 22:19:09 +08:00
Nick Fisher
4b2342979f
update tests + bindings
2025-05-17 21:52:21 +08:00
Nick Fisher
ee306549d8
rename relativeResourcePath to resourceUri
...
move resource loader from viewer to FilamentApp
2025-05-17 21:51:51 +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
fe11479b08
remove relativeResourcePath from gltf resource loading;
...
all external resources should be added on the Dart side, Filament should never attempt to load these directly from the filesystem.
relativeResourcePath (called gltfPath on the Filament side) is only used for desktop loading, so this is now irrelevant.
Note that Filament must be compiled with GLTFIO_USE_FILESYSTEM=0
2025-05-17 21:48:18 +08:00
Nick Fisher
c98e604e76
split animation components into GltfAnimation/MorphAnimation/BoneAnimation
2025-05-17 10:11:55 +08:00
Nick Fisher
f9d09e17ef
return false from AnimationManager_ methods if provided sceneAsset is not a glTF asset
...
rename playAnimation to playGltfAnimation etc where appropriate
2025-05-17 10:06:12 +08:00
Nick Fisher
27eb117466
remove old WASM viewer
2025-05-17 10:04:49 +08:00
Nick Fisher
46e87fb6a4
add sources to native CMakeLists.txt
2025-05-17 10:04:33 +08:00
Nick Fisher
6d95180870
remove old JS shim/bridge classes
2025-05-17 10:04:19 +08:00
Nick Fisher
c7ad70b81c
add glTF animation track to test cube
2025-05-17 10:03:51 +08:00
Nick Fisher
62bf3876f8
update materials_and_textures example
2025-05-13 18:06:33 +08:00
Nick Fisher
cff0893d53
await future in ThermionListenerWidget
2025-05-13 16:42:50 +08:00
Nick Fisher
6135c5eecc
(android) use flutter.ndkVersion in thermion_flutter build.gradle
2025-05-13 16:42:32 +08:00
Nick Fisher
170fb4bf6d
removing processing check in DelegateInputHandler
2025-05-13 16:41:58 +08:00
Nick Fisher
2f5ce65684
add JNI_OnLoad to Android library. This is needed to manually call ::filament::backend::VirtualMachineEnv::JNI_OnLoad
2025-05-12 14:15:11 +08:00
Nick Fisher
bb272f2579
update web input handler
2025-05-12 10:15:41 +08:00
Nick Fisher
56e132ec15
update picking example for web
2025-05-12 10:15:27 +08:00
Nick Fisher
5379ae7d74
update js/wasm example pubspec
2025-05-12 10:15:06 +08:00
Nick Fisher
9d7e96e996
update Makefile for web
2025-05-12 10:14:51 +08:00
Nick Fisher
8bbe2f0dfb
remove manual stack allocation/copy for struct args
2025-05-12 10:14:41 +08:00
Nick Fisher
0794e0ad84
comments
2025-05-12 09:36:12 +08:00
Nick Fisher
3f0f15b441
add _ready check to FixedOrbitCameraDelegate
2025-05-10 12:16:49 +08:00
Nick Fisher
90f17e3bc9
rename camera_manipulation sample to picking
2025-05-10 12:16:16 +08:00
Nick Fisher
8311c95100
update delegates to accept a List<InputEvent>, not Set
2025-05-10 09:08:59 +08:00
Nick Fisher
97da08ae8b
explicitly state type
2025-05-10 09:07:52 +08:00
Nick Fisher
12a96cceee
InputHandler now accepts a List of events, not a Set
...
add batch argument to DelegateInputHandler
2025-05-10 09:07:28 +08:00
Nick Fisher
fac7e9a894
transformToUnitCube returns bool (false when transform instance can't be found)
2025-05-10 09:06:53 +08:00
Nick Fisher
c47cfe9b57
transformToUnitCube returns bool (false when transform instance can't be found)
2025-05-10 09:04:06 +08:00
Nick Fisher
671949a5cd
transformToUnitCube returns bool (false when transform instance can't be found)
2025-05-10 09:03:46 +08:00
Nick Fisher
602e220024
update ThermionListenerWidget to use newer InputHandler interface
2025-05-09 11:24:28 +08:00
Nick Fisher
ebab1f528d
only set mRendered to true when a frame was actually rendered
2025-05-09 11:23:13 +08:00
Nick Fisher
4a5a1d0157
remove debug printing
2025-05-09 11:22:25 +08:00
Nick Fisher
906f5bf931
remove redundant make_render_callback_fn_pointer definition
2025-05-09 11:22:08 +08:00
Nick Fisher
9ef6d46958
update iOS/Android/MacOS project files
2025-05-09 11:21:47 +08:00
Nick Fisher
50c1c871a8
return false from RenderTicker when frame skipped
2025-05-09 11:20:21 +08:00
Nick Fisher
8a6ba637a7
store last render time in RenderTicker
2025-05-09 11:19:13 +08:00
Nick Fisher
abde201bda
update bindings
2025-05-09 11:18:33 +08:00
Nick Fisher
428a613b65
update iOS build instructions
2025-05-09 11:18:20 +08:00
Nick Fisher
1ddeac2d31
refactor InputHandler interface/DelegateInputHandler implementation
2025-05-09 11:18:07 +08:00
Nick Fisher
7961ed06f7
exclude libfilamat from iOS and gltfio from iOS/Android
2025-05-09 11:15:20 +08:00
Nick Fisher
cedcb45484
feat!: change default near/far to 0.1/100.0
2025-05-08 17:27:49 +08:00
Nick Fisher
cf6abdcf01
exclude libgltfio from Android (only gltfio_core is available)
2025-05-08 17:27:23 +08:00
Nick Fisher
04d3aee2e9
don't actually invoke markTextureFrameAvailable on Android (the swapchain is attached to the window so this is not necessary
2025-05-08 17:25:54 +08:00
Nick Fisher
5af18cb99b
[android] update docs
2025-05-08 16:48:01 +08:00
Nick Fisher
87396ec859
[android] remove legacy references to ResourceBuffer/RenderCallback and switch from JNA to JNI for getting native window handle
2025-05-08 16:47:39 +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
afd8bff58e
remove superseded Linux resource loader
2025-05-07 16:53:16 +08:00
Nick Fisher
2ab56b86bc
remove old CMake script
2025-05-07 16:53:16 +08:00
Nick Fisher
e9628511fc
remove C++ includes from C headers
2025-05-07 16:53:15 +08:00
Nick Fisher
3402c02d6a
Update README.md
2025-04-19 12:38:22 +08:00
Nick Fisher
e5b75debed
add test for destroy camera
2025-04-19 09:50:18 +08:00
Nick Fisher
eedfbbb934
remove unused material input src files from native CMakeLists
2025-04-19 09:49:59 +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