Commit Graph
100 Commits
Author SHA1 Message Date
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
Nick Fisher 86779cb629 reinstate GizmoInputHandler 2025-04-17 13:35:22 +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 2b6693a826 change default PixelDataType to FLOAT for capture() 2025-04-17 13:32:35 +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 6b008bd433 change setBoundingBoxVisibility to getBoundingBoxAsset 2025-04-17 13:31:47 +08:00
Nick Fisher 241c0fe07c recompile materials 2025-04-16 19:08:55 +08:00
Nick Fisher 12b6a8c8a5 use render thread methods for all async gltf loading 2025-04-16 19:08:34 +08:00
Nick Fisher 426d6c4ed6 use render thread methods for all async gltf loading 2025-04-16 19:07:55 +08:00
Nick Fisher 4002425c0d add withFloatCallback handler 2025-04-16 19:07:47 +08:00
Nick Fisher 230bb5f9f6 use render thread methods for all async gltf loading 2025-04-16 19:07:31 +08:00
Nick Fisher 8a35060653 write sources to temp dir for Windows 2025-04-16 18:05:03 +08:00
Nick Fisher 2b00d374e0 update generated bindings 2025-04-16 18:01:47 +08:00
Nick Fisher da87442b3a add async gltf test 2025-04-16 18:01:31 +08:00
Nick Fisher 3c68731fe0 ensure __FILENAME__ is defined even if ENABLE_TRACING is off 2025-04-16 18:00:50 +08:00
Nick Fisher ef775b2e2c add GltfResourceLoader_asyncBeginLoadRenderThread 2025-04-16 18:00:31 +08:00
Nick Fisher 0759590f4c test fix 2025-04-16 18:00:17 +08:00
Nick Fisher e7092c416b call render thread method for asyncBeginLoad 2025-04-16 18:00:06 +08:00
Nick Fisher f272410803 update ffigen/objective_c dependencies 2025-04-16 17:59:46 +08:00
Nick Fisher b128f385e5 unused unlit material 2025-04-16 17:23:56 +08:00
Nick Fisher a4227df098 test cleanup 2025-04-16 17:23:56 +08:00
Nick Fisher 230af0ae17 remove unused import 2025-04-16 17:23:55 +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 c3e583ac5a 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 48654f0e8f documentation 2025-04-16 17:23:55 +08:00
Nick Fisher a772b86f09 export light options and layers 2025-04-16 17:23:53 +08:00
Nick Fisher 026893d2fe update BUILDING 2025-04-16 17:23:38 +08:00
Nick Fisher 2d4342607d add async gltf resource loading 2025-04-16 17:06:51 +08:00
Nick Fisher 02b6bc4ee6 update camera_manipulation example to use new API 2025-04-16 16:02:46 +08:00
Nick Fisher 0194eb5cd5 update camera_manipulation example to add local thermion_flutter_web in dependency_overrides 2025-04-16 16:02:23 +08:00
Nick Fisher 9ceedb4e1c default to release mode builds 2025-04-16 16:01:49 +08:00
Nick Fisher 85a0451f1b remove outdated resource loader methods for iOS/macOS/Android 2025-04-16 14:01:47 +08:00
Nick Fisher dfda0eb476 update DefaultPickDelegate to use pick() on view 2025-04-16 14:00:47 +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 5097373a22 export layers in package 2025-04-16 13:59:06 +08:00
Nick Fisher 10dd66c7f8 remove pick() from viewer interface and add setLayerVisibility 2025-04-16 13:58:52 +08:00
Nick Fisher b6e5d2c834 update Windows/Vulkan sample app 2025-04-16 13:58:02 +08:00
Nick Fisher 726f9b8c80 OK to return Flutter texture handle even if width or height don't match 2025-04-16 13:54:10 +08:00
Nick Fisher 7349fa2298 rename utils.h etc to vulkan_utils.h to avoid filename clashes 2025-04-16 13:48:00 +08:00
Nick Fisher 143c4a436d return nullptr if D3D device cannot create render target view 2025-04-16 13:46:04 +08:00
Nick Fisher 60e025e78d cleanup 2025-04-16 13:36:39 +08:00
Nick Fisher de5bc5c02e cleanup 2025-04-16 13:36:26 +08:00
Nick Fisher a1ab4186b4 logging on error and return NULL if vkTexture cannot be created 2025-04-16 13:36:08 +08:00
Nick Fisher d3b9ae45cf (Windows) properly destroy swapchain and don't un-set current unless the swapchain being destroyed is the current swapchain 2025-04-16 13:35:40 +08:00
Nick Fisher 7dfb8a4b19 logging/header path changes 2025-04-16 13:34:45 +08:00
Nick Fisher 2bd64805a9 logging on Windows 2025-04-16 13:34:08 +08:00