a01bf36576
use ENABLE_TRACING from user defines
Nick Fisher2025-06-21 10:14:43 +08:00
5f92c7feab
expose addToScene argument in interface for loadGltfFromBuffer (this was already exposed in the implementation)
Nick Fisher2025-06-21 09:25:44 +08:00
e1cb517417
allow creating more glTF instances than pre-allocated
Nick Fisher2025-06-20 18:46:36 +08:00
37c35906d6
add propagateEvents arg to ThermionListenerWidget expose physical/logical key maps dont await InputHandler.handle - this no longer returns a future
Nick Fisher2025-06-20 18:36:31 +08:00
9436666d34
(example) update quickstart web to import canvas as widget
Nick Fisher2025-06-11 11:08:31 +08:00
32fe54ac09
(web) on Emscripten builds, use static global wrapper function for texture upload complete callbacks (this is needed because all callbacks need to be proxied to the main thread
Nick Fisher2025-06-11 11:08:13 +08:00
0461bb364a
use getPrimitiveCount method on FilamentApp, rather than direct FFI method
Nick Fisher2025-06-11 09:52:57 +08:00
8f1da5e7bd
separate skybox/ibl creation from KTX decoding
Nick Fisher2025-06-11 09:48:17 +08:00
641d92515e
move VoidCallback typedef to APIBoundaryTypes (now used outside the render thread header for texture upload callbacks)
Nick Fisher2025-06-11 09:45:23 +08:00
d447fb8e2a
add RenderableManager_getBoundingBox
Nick Fisher2025-06-11 09:44:46 +08:00
ac87420a87
add setPriority to FilamentApp interface
Nick Fisher2025-06-10 11:49:17 +08:00
5669ac5c55
Dart wrappers for View/Scene are now stateful
Nick Fisher2025-06-10 11:48:31 +08:00
ae9ce197c1
move setStencilHighlight/removeStencilHighlight to Scene
Nick Fisher2025-06-10 10:27:03 +08:00
37c67c2da8
(macos) create render target texture with isStencil:false
Nick Fisher2025-06-10 10:24:01 +08:00
66d3bf65fd
add view test for multiple views rendering into the same render target
Nick Fisher2025-06-10 09:08:30 +08:00
fef48940fc
add implementation methods for getPrimitiveCount, setMaterialInstancesFromMap, getMaterialInstancesAsMap and setMaterialInstanceForAll
Nick Fisher2025-06-09 18:28:33 +08:00
4086c9bd01
add interface methods for getPrimitiveCount, setMaterialInstancesFromMap, getMaterialInstancesAsMap and setMaterialInstanceForAll
Nick Fisher2025-06-09 18:26:36 +08:00
928517f80f
update gitignore with generated Swift dylib
Nick Fisher2025-06-09 18:25:53 +08:00
4a9b91c411
(test) update helper to add createStencilBuffer flag
Nick Fisher2025-06-09 18:25:39 +08:00
9054879722
update Swift bindings and remove dylib from repository (should be recompiled when running via CI/CD?)
Nick Fisher2025-06-09 18:25:18 +08:00
4c95bc5b70
(macos) add isStencil argument for creating depth texture on macOS (if true, creates texture with .depth24Unorm_stencil8
Nick Fisher2025-06-09 18:24:15 +08:00
8866ffe210
(test) update helper to add createStencilBuffer flag
Nick Fisher2025-06-09 18:23:22 +08:00
c33eaef713
replace direct FFI View_ calls with calls to corresponding (Dart) methods on View
Nick Fisher2025-06-09 18:18:58 +08:00
78e14574ef
split stencil/depth tests from unlit material tests
Nick Fisher2025-06-09 18:15:17 +08:00
0dd64a07bb
add helper method to convert between TStencilFace and MaterialInstance::StencilFace (not strictly necessary, but will help if something upstream changes in future
Nick Fisher2025-06-09 18:12:17 +08:00
6055bd3fa7
fix FFIMaterial so it correctly translates between StencilFace (Dart) and TStencilFace (Dart FFI) enums
Nick Fisher2025-06-09 18:10:07 +08:00
f3a576005a
expose setShadowsEnabled method on View/FFIView
Nick Fisher2025-06-09 18:09:27 +08:00
ab4743da90
pass keepData flag to instances of FFIAsset when creating geometry
Nick Fisher2025-06-04 11:14:02 +08:00
7406662853
add nullptr check when loading gltf assets
Nick Fisher2025-06-04 11:13:39 +08:00
aa2f19442b
surround frame request hooks with try/catch, and add a check to avoid concurrency exceptions when adding/removing hooks
Nick Fisher2025-06-04 11:13:15 +08:00
cc99905eb8
pass through keepData flag when creating geometry via viewer
Nick Fisher2025-06-04 11:11:42 +08:00
1d697037c0
gltf animation names are immutable, so cache these in a local copy in FFIAsset
Nick Fisher2025-06-04 11:10:45 +08:00
c024efb8cd
store reference to keepData in each FFIAsset and throw exception if an instance is attempted to be created when keepData is false
Nick Fisher2025-06-04 11:09:28 +08:00
150c0227c8
(test) remove group from asset_tests
Nick Fisher2025-06-04 11:08:13 +08:00
e594a42496
add test for create/destroy geometry instances
Nick Fisher2025-06-04 11:07:58 +08:00