c84b4010d1
Merge pull request #68 from nmfisher/improvements
Nick Fisher
2024-09-25 21:02:53 +08:00
b720c1294f
rename Android plugin class in pubspec.yaml
Nick Fisher
2024-09-25 19:27:38 +08:00
d442ab5ce6
add namespace for build.gradle
Nick Fisher
2024-09-25 19:27:19 +08:00
61fdf300f4
add namespace for AndroidManifest.xml
Nick Fisher
2024-09-25 19:27:04 +08:00
4dabca9160
rename Android package/paths
Nick Fisher
2024-09-25 19:26:51 +08:00
85d6946645
(flutter) provide nicer implementation of FixedOrbitCameraRotationDelegate
Nick Fisher
2024-09-25 19:26:19 +08:00
4b1d8ce729
(flutter) update FreeFlight camera delegate
Nick Fisher
2024-09-24 14:24:29 +08:00
c52b0084ce
add PickDelegate to DelegateGestureHandler
Nick Fisher
2024-09-24 14:21:13 +08:00
8db725d8bd
add PICK_ENTITY to GestureAction
Nick Fisher
2024-09-24 14:20:49 +08:00
c67d1cbbc4
add background color tests
Nick Fisher
2024-09-24 14:20:33 +08:00
3ea4062e33
normalize direction in addLight
Nick Fisher
2024-09-24 14:20:14 +08:00
65e99b9212
set clearOptions to true
Nick Fisher
2024-09-23 13:51:18 +08:00
e83193ba0d
introduce stronger native typing, camera projection/culling methods, update tests
Nick Fisher
2024-09-21 11:36:41 +08:00
835338ef63
(flutter) use scheduleFrameCallback to invoke requestFrame to match Flutter/vsync
Nick Fisher
2024-09-21 10:22:49 +08:00
57872d2e40
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
b5a7996769
add Dart Camera type
Nick Fisher
2024-09-21 10:18:36 +08:00
ddbb4ec5c6
rename CameraPtr to TCamera and use named arguments for setCameraLensProjection
Nick Fisher
2024-09-20 18:31:20 +08:00
7cb3080596
move MaterialInstance methods to own class
Nick Fisher
2024-09-20 18:18:08 +08:00
f6c91294aa
rename setLayerEnabled to setLayerVisibility, add setVisibilityLayer method
Nick Fisher
2024-09-20 17:34:17 +08:00
412d333525
add PickDelegate
Nick Fisher
2024-09-20 14:54:18 +08:00
378dede02d
add ThermionPickResult typedef
Nick Fisher
2024-09-20 14:53:48 +08:00
0e3db2635f
update bindings
Nick Fisher
2024-09-20 14:53:34 +08:00
77147cbafd
add setMaterialDepthWrite method
Nick Fisher
2024-09-20 14:53:16 +08:00
43e5fd7766
add setMaterialDepthWrite method
Nick Fisher
2024-09-20 14:53:06 +08:00
fc3ca3d6b3
update tests
Nick Fisher
2024-09-20 14:08:47 +08:00
51f52bb71b
update stub
Nick Fisher
2024-09-20 14:08:26 +08:00
033c3f632d
add createUnlitMaterialInstance, setMaterialPropertyInt methods to viewer interface
Nick Fisher
2024-09-20 14:08:16 +08:00
6d862ef36a
update bindings
Nick Fisher
2024-09-20 14:07:37 +08:00
f816274fb9
replace some async methods with futures, fix setMaterialProperty4, update unproject, setMaterialPropertyInt, createUnlitMaterialInstance
Nick Fisher
2024-09-20 14:06:42 +08:00
0816286696
export geometry from thermion_dart
Nick Fisher
2024-09-20 14:05:14 +08:00
b421df5e2f
remove image.mat from LFS
Nick Fisher
2024-09-20 14:04:59 +08:00
f6a136643d
remove image.mat from LFS
Nick Fisher
2024-09-20 14:04:43 +08:00
b5e278183a
update built unlit material
Nick Fisher
2024-09-20 14:04:27 +08:00
8e85042e37
remove old default paramsf rom UnlitMaterialProvider
Nick Fisher
2024-09-20 14:04:11 +08:00
f943756624
add setMaterialProperty for int, add create_unlit_material_instance, use double4 instead of float4
Nick Fisher
2024-09-20 14:03:50 +08:00
92814aed56
add setMaterialProperty for int, add create_unlit_material_instance
Nick Fisher
2024-09-20 14:03:29 +08:00
e8a1b976e1
set default layer for loadGlb to 0,. add setMaterialProperty for int, add SceneManager::createUnlitMaterialInstance
Nick Fisher
2024-09-20 14:02:30 +08:00
ef48dbce30
add base color/texture to unlit
Nick Fisher
2024-09-20 14:01:59 +08:00
196cc6b980
set default layer for loadGlb to 0,. add setMaterialProperty for int
Nick Fisher
2024-09-20 14:01:41 +08:00
1788c74d4c
change float4 to double4
Nick Fisher
2024-09-20 14:01:02 +08:00
74e808d1dc
update tests
Nick Fisher
2024-09-19 21:10:42 +08:00
72dacc5b21
update unproject texture to accept input texture
Nick Fisher
2024-09-19 21:10:28 +08:00
ebdaf65b89
update unproject texture to accept input texture
Nick Fisher
2024-09-19 21:10:22 +08:00
fa43149c98
update unproject texture to accept input texture
Nick Fisher
2024-09-19 21:10:10 +08:00
e8ae7193ee
update unproject texture to accept input texture
Nick Fisher
2024-09-19 21:09:23 +08:00
aa21c0fb76
don't call clearBackgroundImage when setBackgroundImage is called (would deadlock)
Nick Fisher
2024-09-19 21:08:55 +08:00
10826466a4
set default material for geometry to baseColorIndex 0
Nick Fisher
2024-09-19 17:08:06 +08:00
3b2d7d8c47
depth pre-pass when projecting texture
Nick Fisher
2024-09-19 16:59:01 +08:00
212443cb8e
add spot constructor
Nick Fisher
2024-09-19 13:44:17 +08:00
523141d54b
add test cube texture image
Nick Fisher
2024-09-19 13:02:51 +08:00
d8a0859f16
update test
Nick Fisher
2024-09-19 13:00:40 +08:00
c70cc9abb5
add image methods to test helper
Nick Fisher
2024-09-19 12:53:44 +08:00
66b626e605
update showcase
Nick Fisher
2024-09-19 12:53:30 +08:00
4b28119318
test updates
Nick Fisher
2024-09-19 12:52:27 +08:00
666506aed0
widget updates
Nick Fisher
2024-09-19 12:52:16 +08:00
a55f63a428
increase min Dart SDK to 3.5 for .address FFI accessors
Nick Fisher
2024-09-19 12:51:30 +08:00
fb441e151c
update ffigen with new headers
Nick Fisher
2024-09-19 12:51:09 +08:00
82d85386c0
fixes for createMaterialInstance
Nick Fisher
2024-09-19 12:50:57 +08:00
242b2f6faa
gesture detector fixes
Nick Fisher
2024-09-19 09:19:23 +08:00
31d31dd583
ThermionViewer: add create/destroy materialinstance, add MaterialInstance property to createGeometry, priority/layer to loadGlbFromBuffer
Nick Fisher
2024-09-19 09:17:45 +08:00
f6077012b1
widget cleanup
Nick Fisher
2024-09-19 09:16:45 +08:00
18bb45dcd8
use TMaterialInstance for FFI API, add priority/layer params to load_glb_from_buffer
Nick Fisher
2024-09-19 09:16:06 +08:00
10b919e4f4
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
98cedf821c
update bindings
Nick Fisher
2024-09-19 09:14:10 +08:00
729f72e768
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
d01861e949
use SceneManager::LAYERS enum for Overlay
Nick Fisher
2024-09-19 09:12:16 +08:00
adec48f253
use SceneManager::LAYERS enum for gizmo
Nick Fisher
2024-09-19 09:12:02 +08:00
27a8ce18d5
add priority/layer to load_glb_from_buffer
Nick Fisher
2024-09-19 09:11:40 +08:00