Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher d442ab5ce6 add namespace for build.gradle 2024-09-25 19:27:19 +08:00
Nick Fisher 61fdf300f4 add namespace for AndroidManifest.xml 2024-09-25 19:27:04 +08:00
Nick Fisher 4dabca9160 rename Android package/paths 2024-09-25 19:26:51 +08:00
Nick Fisher 85d6946645 (flutter) provide nicer implementation of FixedOrbitCameraRotationDelegate 2024-09-25 19:26:19 +08:00
Nick Fisher 4b1d8ce729 (flutter) update FreeFlight camera delegate 2024-09-24 14:24:29 +08:00
Nick Fisher c52b0084ce add PickDelegate to DelegateGestureHandler 2024-09-24 14:21:13 +08:00
Nick Fisher 8db725d8bd add PICK_ENTITY to GestureAction 2024-09-24 14:20:49 +08:00
Nick Fisher c67d1cbbc4 add background color tests 2024-09-24 14:20:33 +08:00
Nick Fisher 3ea4062e33 normalize direction in addLight 2024-09-24 14:20:14 +08:00
Nick Fisher 65e99b9212 set clearOptions to true 2024-09-23 13:51:18 +08:00
Nick Fisher e83193ba0d introduce stronger native typing, camera projection/culling methods, update tests 2024-09-21 11:36:41 +08:00
Nick Fisher 835338ef63 (flutter) use scheduleFrameCallback to invoke requestFrame to match Flutter/vsync 2024-09-21 10:22:49 +08:00
Nick Fisher 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 2024-09-21 10:21:46 +08:00
Nick Fisher b5a7996769 add Dart Camera type 2024-09-21 10:18:36 +08:00
Nick Fisher ddbb4ec5c6 rename CameraPtr to TCamera and use named arguments for setCameraLensProjection 2024-09-20 18:31:20 +08:00
Nick Fisher 7cb3080596 move MaterialInstance methods to own class 2024-09-20 18:18:08 +08:00
Nick Fisher f6c91294aa rename setLayerEnabled to setLayerVisibility, add setVisibilityLayer method 2024-09-20 17:34:17 +08:00
Nick Fisher 412d333525 add PickDelegate 2024-09-20 14:54:18 +08:00
Nick Fisher 378dede02d add ThermionPickResult typedef 2024-09-20 14:53:48 +08:00
Nick Fisher 0e3db2635f update bindings 2024-09-20 14:53:34 +08:00
Nick Fisher 77147cbafd add setMaterialDepthWrite method 2024-09-20 14:53:16 +08:00
Nick Fisher 43e5fd7766 add setMaterialDepthWrite method 2024-09-20 14:53:06 +08:00
Nick Fisher fc3ca3d6b3 update tests 2024-09-20 14:08:47 +08:00
Nick Fisher 51f52bb71b update stub 2024-09-20 14:08:26 +08:00
Nick Fisher 033c3f632d add createUnlitMaterialInstance, setMaterialPropertyInt methods to viewer interface 2024-09-20 14:08:16 +08:00
Nick Fisher 6d862ef36a update bindings 2024-09-20 14:07:37 +08:00
Nick Fisher f816274fb9 replace some async methods with futures, fix setMaterialProperty4, update unproject, setMaterialPropertyInt, createUnlitMaterialInstance 2024-09-20 14:07:09 +08:00
Nick Fisher 0816286696 export geometry from thermion_dart 2024-09-20 14:05:14 +08:00
Nick Fisher b421df5e2f remove image.mat from LFS 2024-09-20 14:04:59 +08:00
Nick Fisher f6a136643d remove image.mat from LFS 2024-09-20 14:04:43 +08:00
Nick Fisher b5e278183a update built unlit material 2024-09-20 14:04:27 +08:00
Nick Fisher 8e85042e37 remove old default paramsf rom UnlitMaterialProvider 2024-09-20 14:04:11 +08:00
Nick Fisher f943756624 add setMaterialProperty for int, add create_unlit_material_instance, use double4 instead of float4 2024-09-20 14:03:50 +08:00
Nick Fisher 92814aed56 add setMaterialProperty for int, add create_unlit_material_instance 2024-09-20 14:03:29 +08:00
Nick Fisher e8a1b976e1 set default layer for loadGlb to 0,. add setMaterialProperty for int, add SceneManager::createUnlitMaterialInstance 2024-09-20 14:02:30 +08:00
Nick Fisher ef48dbce30 add base color/texture to unlit 2024-09-20 14:01:59 +08:00
Nick Fisher 196cc6b980 set default layer for loadGlb to 0,. add setMaterialProperty for int 2024-09-20 14:01:41 +08:00
Nick Fisher 1788c74d4c change float4 to double4 2024-09-20 14:01:02 +08:00
Nick Fisher 74e808d1dc update tests 2024-09-19 21:10:42 +08:00
Nick Fisher 72dacc5b21 update unproject texture to accept input texture 2024-09-19 21:10:28 +08:00
Nick Fisher ebdaf65b89 update unproject texture to accept input texture 2024-09-19 21:10:22 +08:00
Nick Fisher fa43149c98 update unproject texture to accept input texture 2024-09-19 21:10:10 +08:00
Nick Fisher e8ae7193ee update unproject texture to accept input texture 2024-09-19 21:09:23 +08:00
Nick Fisher aa21c0fb76 don't call clearBackgroundImage when setBackgroundImage is called (would deadlock) 2024-09-19 21:08:55 +08:00
Nick Fisher 10826466a4 set default material for geometry to baseColorIndex 0 2024-09-19 17:08:06 +08:00
Nick Fisher 3b2d7d8c47 depth pre-pass when projecting texture 2024-09-19 16:59:01 +08:00
Nick Fisher 212443cb8e add spot constructor 2024-09-19 13:44:17 +08:00
Nick Fisher 523141d54b add test cube texture image 2024-09-19 13:02:51 +08:00
Nick Fisher d8a0859f16 update test 2024-09-19 13:00:40 +08:00
Nick Fisher c70cc9abb5 add image methods to test helper 2024-09-19 12:53:44 +08:00
Nick Fisher 66b626e605 update showcase 2024-09-19 12:53:30 +08:00
Nick Fisher 4b28119318 test updates 2024-09-19 12:52:27 +08:00
Nick Fisher 666506aed0 widget updates 2024-09-19 12:52:16 +08:00
Nick Fisher a55f63a428 increase min Dart SDK to 3.5 for .address FFI accessors 2024-09-19 12:51:30 +08:00
Nick Fisher fb441e151c update ffigen with new headers 2024-09-19 12:51:09 +08:00
Nick Fisher 82d85386c0 fixes for createMaterialInstance 2024-09-19 12:50:57 +08:00
Nick Fisher 242b2f6faa gesture detector fixes 2024-09-19 09:19:23 +08:00
Nick Fisher 31d31dd583 ThermionViewer: add create/destroy materialinstance, add MaterialInstance property to createGeometry, priority/layer to loadGlbFromBuffer 2024-09-19 09:17:45 +08:00
Nick Fisher f6077012b1 widget cleanup 2024-09-19 09:16:45 +08:00
Nick Fisher 18bb45dcd8 use TMaterialInstance for FFI API, add priority/layer params to load_glb_from_buffer 2024-09-19 09:16:06 +08:00
Nick Fisher 10b919e4f4 add priority/layer to FFI viewer, use struct for model matrix, add createUbershaderMaterialInstance and destroyMaterialInstance 2024-09-19 09:15:31 +08:00
Nick Fisher 98cedf821c update bindings 2024-09-19 09:14:10 +08:00
Nick Fisher 729f72e768 use SceneManager::LAYERS enum for Overlay, set priority/layer in loadGlbFromBuffer, add create/destroy material instance 2024-09-19 09:12:57 +08:00
Nick Fisher d01861e949 use SceneManager::LAYERS enum for Overlay 2024-09-19 09:12:16 +08:00
Nick Fisher adec48f253 use SceneManager::LAYERS enum for gizmo 2024-09-19 09:12:02 +08:00
Nick Fisher 27a8ce18d5 add priority/layer to load_glb_from_buffer 2024-09-19 09:11:40 +08:00
Nick Fisher 4b740a9f5a native types, add create/destroy material instance, add SceneManager::LAYERS enum 2024-09-19 09:11:20 +08:00
Nick Fisher 0b34b4546e refactor: native types 2024-09-19 09:10:24 +08:00
Nick Fisher c17919cd97 refactor: native types 2024-09-19 09:09:42 +08:00
Nick Fisher 462f1f02bf refactor: move native types to own header, add methods for create/destroy material instance, add priority/layer to load_glb_from_buffer 2024-09-19 09:09:16 +08:00
Nick Fisher ddc433a126 refactor: Dart types 2024-09-19 09:07:35 +08:00
Nick Fisher ab649e860d update gitattr 2024-09-16 20:51:27 +08:00
Nick Fisher 676ddc3773 add texture methods (including unproject) 2024-09-16 20:51:14 +08:00
Nick Fisher 7d2cf3f91b don't store gizmo material in LFS 2024-09-16 11:25:21 +08:00
Nick Fisher 492d41d756 test update 2024-09-16 11:24:24 +08:00
Nick Fisher 191c2fd709 restructure viewer/types/helper folders, remove old WASM/web FFI interop, add SceneUpdated stream 2024-09-16 11:08:27 +08:00
Nick Fisher 027fc9ae04 update tests 2024-09-16 11:08:19 +08:00
Nick Fisher b73d0e1e96 restructure viewer/types/helper folders, remove old WASM/web FFI interop, add SceneUpdated stream 2024-09-16 11:07:54 +08:00
Nick Fisher 315f2b63b9 gesture handler & delegate improvements 2024-09-13 18:32:02 +08:00
Nick Fisher ad205679cb allow setting material property by name 2024-09-13 15:27:46 +08:00
Nick Fisher 6ef8d19e94 (flutter) export delegate gesture handler 2024-09-13 15:27:20 +08:00
Nick Fisher 6b0f25ca59 remove using namespace filament* 2024-09-13 15:27:01 +08:00
Nick Fisher 820d341f67 update bindings 2024-09-13 15:26:44 +08:00
Nick Fisher 70f904d54c allow setting material property by name 2024-09-13 15:20:45 +08:00
Nick Fisher aee607908d remove using namespace filament* 2024-09-13 15:18:01 +08:00
Nick Fisher c99c57e24d geometry receives/casts shadows by default 2024-09-13 14:52:20 +08:00
Nick Fisher 00d75be479 gesture handler improvements 2024-09-13 14:25:10 +08:00
Nick Fisher 3a9bd31919 remove superseded desktop/mobile gesture detector widget 2024-09-13 13:47:26 +08:00
Nick Fisher 51be1bce39 add pan camera implementation and fix velocity timer 2024-09-13 13:46:41 +08:00
Nick Fisher 822b8e14c1 add delegate-based implementations for gesture handlers 2024-09-13 13:30:00 +08:00
Nick Fisher 2ab30a7933 remove double sided from HighlightOverlay material 2024-09-13 11:09:09 +08:00
Nick Fisher 1be8a5e862 adjust gizmo size 2024-09-13 11:08:49 +08:00
Nick Fisher 98d61fa1b3 fix setCameraModelMatrix4 2024-09-13 10:36:24 +08:00
Nick Fisher 5b3d16a316 update bindings 2024-09-13 10:36:07 +08:00
Nick Fisher b6863828b4 initialize viewportDimensions to (0,0) in ThermionViewer 2024-09-13 10:35:57 +08:00
Nick Fisher 98fefd0e52 fix winding order in GeometryHelper 2024-09-13 10:35:33 +08:00
Nick Fisher d476d78e2b reduce size of gizmo 2024-09-13 10:35:13 +08:00
Nick Fisher 98113fb79f remove logging 2024-09-13 10:34:59 +08:00
Nick Fisher 90827ff012 culling fixes for HighlightOverlay 2024-09-13 10:34:47 +08:00
Nick Fisher 44078ba2e0 add v2 gesture handlers 2024-09-13 10:34:23 +08:00