38a5395c78
chore(release): publish packages
Nick Fisher
2024-09-25 21:51:19 +08:00
85dcd5a5b9
fix!: (web/wasm) free pick callbacks on dispose
Nick Fisher
2024-09-25 21:50:31 +08:00
92fbe2e5d5
chore!: restructure viewer folders as libraries to only export the public interface
Nick Fisher
2024-09-25 21:49:15 +08:00
779d5cba1c
chore(release): publish packages
Nick Fisher
2024-09-25 21:20:54 +08:00
f4217401e2
chore: add path to dev deps
Nick Fisher
2024-09-25 21:20:34 +08:00
e99bf6b14b
chore!: (flutter) cleanup for pub.dev publishing
Nick Fisher
2024-09-25 21:20:04 +08:00
84775f7e2a
fix!: remove EntityControllerMouseWidget (replace with GestureHandler)
Nick Fisher
2024-09-25 21:19:41 +08:00
8c6bc456a8
chore(release): publish packages
Nick Fisher
2024-09-25 21:18:00 +08:00
d58d8bbc35
chore: (flutter) web packaging fixes (use logger)
Nick Fisher
2024-09-25 21:17:38 +08:00
0738f32751
chore: (flutter) web packaging fixes
Nick Fisher
2024-09-25 21:17:20 +08:00
110962cc37
chore: (flutter) web packaging fixes
Nick Fisher
2024-09-25 21:17:09 +08:00
70e529605c
chore: (flutter) add package:web to flutter deps
Nick Fisher
2024-09-25 21:16:48 +08:00
aa02e04091
chore!: remove EntityListWidget - will replace with new Scene
Nick Fisher
2024-09-25 21:16:24 +08:00
a670ce1cf0
chore(release): publish packages
Nick Fisher
2024-09-25 21:06:28 +08:00
f552e61157
rename Android plugin class in pubspec.yaml
Nick Fisher
2024-09-25 19:27:38 +08:00
e397b68060
add namespace for build.gradle
Nick Fisher
2024-09-25 19:27:19 +08:00
cb5580d770
add namespace for AndroidManifest.xml
Nick Fisher
2024-09-25 19:27:04 +08:00
0cd4ecf701
rename Android package/paths
Nick Fisher
2024-09-25 19:26:51 +08:00
46291d4a63
(flutter) provide nicer implementation of FixedOrbitCameraRotationDelegate
Nick Fisher
2024-09-25 19:26:19 +08:00
1344d1c424
(flutter) update FreeFlight camera delegate
Nick Fisher
2024-09-24 14:24:29 +08:00
bb0f3d417f
add PickDelegate to DelegateGestureHandler
Nick Fisher
2024-09-24 14:21:13 +08:00
0f6d02a83f
add PICK_ENTITY to GestureAction
Nick Fisher
2024-09-24 14:20:49 +08:00
56e00c9c55
add background color tests
Nick Fisher
2024-09-24 14:20:33 +08:00
943ca26eae
normalize direction in addLight
Nick Fisher
2024-09-24 14:20:14 +08:00
8e1c611e92
set clearOptions to true
Nick Fisher
2024-09-23 13:51:18 +08:00
ed5f23faf2
introduce stronger native typing, camera projection/culling methods, update tests
Nick Fisher
2024-09-21 11:36:41 +08:00
60bd7498ea
(flutter) use scheduleFrameCallback to invoke requestFrame to match Flutter/vsync
Nick Fisher
2024-09-21 10:22:49 +08:00
ab1de78b74
rename from *FFI to *RenderThread, return bool from render() to check frame timings, update render loop to wait on condition variable, add requestFrame() method
Nick Fisher
2024-09-21 10:21:46 +08:00
493d547c7b
add Dart Camera type
Nick Fisher
2024-09-21 10:18:36 +08:00
7bcfd0f805
rename CameraPtr to TCamera and use named arguments for setCameraLensProjection
Nick Fisher
2024-09-20 18:31:20 +08:00
3e1b151488
move MaterialInstance methods to own class
Nick Fisher
2024-09-20 18:18:08 +08:00
820ad7cb28
rename setLayerEnabled to setLayerVisibility, add setVisibilityLayer method
Nick Fisher
2024-09-20 17:34:17 +08:00
686b4800aa
add PickDelegate
Nick Fisher
2024-09-20 14:54:18 +08:00
cb7828820d
add ThermionPickResult typedef
Nick Fisher
2024-09-20 14:53:48 +08:00
a6d457f664
update bindings
Nick Fisher
2024-09-20 14:53:34 +08:00
fd95c634f1
add setMaterialDepthWrite method
Nick Fisher
2024-09-20 14:53:16 +08:00
df0a744cc9
add setMaterialDepthWrite method
Nick Fisher
2024-09-20 14:53:06 +08:00
af55ef56c9
update tests
Nick Fisher
2024-09-20 14:08:47 +08:00
6c6991f0a9
update stub
Nick Fisher
2024-09-20 14:08:26 +08:00
d248a85aee
add createUnlitMaterialInstance, setMaterialPropertyInt methods to viewer interface
Nick Fisher
2024-09-20 14:08:16 +08:00
64642204fc
update bindings
Nick Fisher
2024-09-20 14:07:37 +08:00
5bb84618c3
replace some async methods with futures, fix setMaterialProperty4, update unproject, setMaterialPropertyInt, createUnlitMaterialInstance
Nick Fisher
2024-09-20 14:06:42 +08:00
fc5cce71b7
export geometry from thermion_dart
Nick Fisher
2024-09-20 14:05:14 +08:00
b00aa0696f
remove image.mat from LFS
Nick Fisher
2024-09-20 14:04:59 +08:00
02aa14d7b7
remove image.mat from LFS
Nick Fisher
2024-09-20 14:04:43 +08:00
f9dfb68e9f
update built unlit material
Nick Fisher
2024-09-20 14:04:27 +08:00
208eb4ad06
remove old default paramsf rom UnlitMaterialProvider
Nick Fisher
2024-09-20 14:04:11 +08:00
5608abdf79
add setMaterialProperty for int, add create_unlit_material_instance, use double4 instead of float4
Nick Fisher
2024-09-20 14:03:50 +08:00
2e404f2087
add setMaterialProperty for int, add create_unlit_material_instance
Nick Fisher
2024-09-20 14:03:29 +08:00
024201a7b7
set default layer for loadGlb to 0,. add setMaterialProperty for int, add SceneManager::createUnlitMaterialInstance
Nick Fisher
2024-09-20 14:02:30 +08:00
7dde3b5d27
add base color/texture to unlit
Nick Fisher
2024-09-20 14:01:59 +08:00
834726b49e
set default layer for loadGlb to 0,. add setMaterialProperty for int
Nick Fisher
2024-09-20 14:01:41 +08:00
204f8204f1
change float4 to double4
Nick Fisher
2024-09-20 14:01:02 +08:00
3cf4790148
update tests
Nick Fisher
2024-09-19 21:10:42 +08:00
180f3f08dc
update unproject texture to accept input texture
Nick Fisher
2024-09-19 21:10:28 +08:00
67698775a3
update unproject texture to accept input texture
Nick Fisher
2024-09-19 21:10:22 +08:00
22f97beeaa
update unproject texture to accept input texture
Nick Fisher
2024-09-19 21:10:10 +08:00
9f98f21d38
update unproject texture to accept input texture
Nick Fisher
2024-09-19 21:09:23 +08:00
94ff71281f
don't call clearBackgroundImage when setBackgroundImage is called (would deadlock)
Nick Fisher
2024-09-19 21:08:55 +08:00
4a96df1574
set default material for geometry to baseColorIndex 0
Nick Fisher
2024-09-19 17:08:06 +08:00
80448d4a24
depth pre-pass when projecting texture
Nick Fisher
2024-09-19 16:59:01 +08:00
257c4b29f2
add spot constructor
Nick Fisher
2024-09-19 13:44:17 +08:00
3f9db33340
add test cube texture image
Nick Fisher
2024-09-19 13:02:51 +08:00
2c42fbd38d
update test
Nick Fisher
2024-09-19 13:00:40 +08:00
8eca3ec76b
add image methods to test helper
Nick Fisher
2024-09-19 12:53:44 +08:00
0b64bc580d
update showcase
Nick Fisher
2024-09-19 12:53:30 +08:00
ce2266d0ed
test updates
Nick Fisher
2024-09-19 12:52:27 +08:00
60530fad6b
widget updates
Nick Fisher
2024-09-19 12:52:16 +08:00
b8f94ed8a9
increase min Dart SDK to 3.5 for .address FFI accessors
Nick Fisher
2024-09-19 12:51:30 +08:00
330b1ca5d8
update ffigen with new headers
Nick Fisher
2024-09-19 12:51:09 +08:00
40a7f86cef
fixes for createMaterialInstance
Nick Fisher
2024-09-19 12:50:57 +08:00
a9b3050265
gesture detector fixes
Nick Fisher
2024-09-19 09:19:23 +08:00
b7e64b3abe
ThermionViewer: add create/destroy materialinstance, add MaterialInstance property to createGeometry, priority/layer to loadGlbFromBuffer
Nick Fisher
2024-09-19 09:17:45 +08:00
56baa44c99
widget cleanup
Nick Fisher
2024-09-19 09:16:45 +08:00
357d815489
use TMaterialInstance for FFI API, add priority/layer params to load_glb_from_buffer
Nick Fisher
2024-09-19 09:16:06 +08:00
e542855639
add priority/layer to FFI viewer, use struct for model matrix, add createUbershaderMaterialInstance and destroyMaterialInstance
Nick Fisher
2024-09-19 09:14:55 +08:00
6fc3f49152
update bindings
Nick Fisher
2024-09-19 09:14:10 +08:00
e67c77b322
use SceneManager::LAYERS enum for Overlay, set priority/layer in loadGlbFromBuffer, add create/destroy material instance
Nick Fisher
2024-09-19 09:12:57 +08:00
c3291f672e
use SceneManager::LAYERS enum for Overlay
Nick Fisher
2024-09-19 09:12:16 +08:00
176036402a
use SceneManager::LAYERS enum for gizmo
Nick Fisher
2024-09-19 09:12:02 +08:00
9d5488b82d
add priority/layer to load_glb_from_buffer
Nick Fisher
2024-09-19 09:11:40 +08:00
a2618dab31
native types, add create/destroy material instance, add SceneManager::LAYERS enum
Nick Fisher
2024-09-19 09:11:20 +08:00
bb46241f98
refactor: native types
Nick Fisher
2024-09-19 09:10:24 +08:00
ff7fee2d94
refactor: native types
Nick Fisher
2024-09-19 09:09:42 +08:00
9a23a24bd3
refactor: move native types to own header, add methods for create/destroy material instance, add priority/layer to load_glb_from_buffer
Nick Fisher
2024-09-19 09:09:16 +08:00
a62762be92
refactor: Dart types
Nick Fisher
2024-09-19 09:07:35 +08:00