Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher 6f07d406f8 (CI) move compile-web-wasm to own step 2025-07-03 16:05:49 +08:00
Nick Fisher bf5551e278 update Makefile to download wasm release libs 2025-07-03 15:51:23 +08:00
Nick Fisher 64577af352 (CI): update web build 2025-07-03 15:27:54 +08:00
Nick Fisher 951894be41 update CHANGELOG 2025-07-03 15:25:14 +08:00
Nick Fisher c64b2b8659 docs: update showcase 2025-07-03 15:10:11 +08:00
Nick Fisher 322e77d2b7 add additional camera geometry object 2025-07-03 15:00:02 +08:00
Nick Fisher a8a52bb2f4 docs: update quickstart/getting started/viewer docs 2025-07-03 14:32:07 +08:00
Nick Fisher c7dfd293e2 (web) add cplusplus guards for material header 2025-07-03 14:22:26 +08:00
Nick Fisher cf2498b45f (docs) update web 2025-07-03 14:22:08 +08:00
Nick Fisher edb7538c36 (example) update viewer example + docs 2025-07-03 14:22:01 +08:00
Nick Fisher b023e2fb97 chore(release): publish packages
- thermion_dart@0.3.0
 - thermion_flutter@0.3.0
 - thermion_flutter_method_channel@0.3.0
 - thermion_flutter_web@0.3.0
 - thermion_flutter_platform_interface@0.3.0
2025-07-03 13:33:19 +08:00
Nick Fisher b51cc4b1d1 (flutter) remove direct local dependency in pubspec.yaml 2025-07-03 13:16:06 +08:00
Nick Fisher d995ed8843 (flutter) cleanup widgets to satisfy pub.dev analyzer 2025-07-03 13:15:50 +08:00
Nick Fisher b0d34bf6a8 (flutter) rename setExposure method in camera widget 2025-07-03 13:13:04 +08:00
Nick Fisher 2e28b0379d bump min Dart constraint to satisfy pub.dev 2025-07-03 13:09:36 +08:00
Nick Fisher c899e30a7b chore(release): publish packages
- thermion_dart@0.3.0
 - thermion_flutter@0.3.0
 - thermion_flutter_method_channel@0.3.0
 - thermion_flutter_web@0.3.0
 - thermion_flutter_platform_interface@0.3.0
2025-07-03 13:04:44 +08:00
Nick Fisher 37f8558794 add stub method for resizeWebCanvas to make pub.dev happy 2025-07-03 13:04:24 +08:00
Nick Fisher 3cfa26d284 (web) add package:logging to pubspec to make pub.dev happy 2025-07-03 13:00:41 +08:00
Nick Fisher b22a82e181 delete swift bindings from thermion_dart package 2025-07-03 12:59:28 +08:00
Nick Fisher 3d072594b5 chore(release): publish packages
- thermion_dart@0.3.0
 - thermion_flutter@0.3.0
 - thermion_flutter_method_channel@0.3.0
 - thermion_flutter_web@0.3.0
 - thermion_flutter_platform_interface@0.3.0
2025-07-03 12:56:51 +08:00
Nick Fisher 75590c5dde (CI) fix android build 2025-07-03 12:20:17 +08:00
Nick Fisher b52d47bb41 (CI) temporarily disable ios build 2025-07-03 12:13:07 +08:00
Nick Fisher 397c575631 (CI) add android/ios builds to runner 2025-07-03 12:01:35 +08:00
Nick Fisher ddc5af376a update grid material 2025-07-03 11:54:06 +08:00
Nick Fisher 77f843568f return true in listener widget when key handled 2025-07-03 11:53:54 +08:00
Nick Fisher f706f54eb2 update outline material 2025-07-03 11:53:06 +08:00
Nick Fisher c12ec892f3 add bbCenter to outline material 2025-07-03 11:52:50 +08:00
Nick Fisher 8e88252337 attach highlight to all entities, not the ultimate owning asset entity 2025-07-03 11:51:42 +08:00
Nick Fisher 23e34e6da4 expose isRenderable 2025-07-03 11:50:18 +08:00
Nick Fisher 5aa14ff5f6 update bindings 2025-07-01 17:00:34 +08:00
Nick Fisher c0cc9fc26a use premultiplied alpha for grid material 2025-07-01 16:59:48 +08:00
Nick Fisher 946a6ae9d2 use premultiplied alpha for grid material 2025-07-01 16:59:19 +08:00
Nick Fisher 73e6597301 replace overlay render target when viewport resizes 2025-07-01 16:58:46 +08:00
Nick Fisher e731556e6f add scale parameter to outline material 2025-07-01 14:28:19 +08:00
Nick Fisher f9a7ac49a1 expose View methods for transparent picking 2025-07-01 14:20:02 +08:00
Nick Fisher 83e4a5142a (CI) update golden ref 2025-07-01 13:27:52 +08:00
Nick Fisher bb913644f4 (example) add web folder for materials_and_textures example 2025-07-01 13:16:31 +08:00
Nick Fisher 4b9870244a fix material headers for web 2025-07-01 13:16:07 +08:00
Nick Fisher ce2dc9b1cb update FFI/JS bindings 2025-07-01 13:11:24 +08:00
Nick Fisher 1a2b3b7b59 (test) pass-through render arg to capture() 2025-07-01 13:10:15 +08:00
Nick Fisher c0ed7cbc90 (test) remove stencil highlight from scene_test.dart 2025-07-01 13:10:02 +08:00
Nick Fisher a5eab305da add bool render argument to capture() 2025-07-01 13:09:42 +08:00
Nick Fisher c467e3ca69 (test) add stencil highlight to view_tests 2025-07-01 13:09:20 +08:00
Nick Fisher e984d8cf71 don't pass View to readPixels (only width/height, x/y offsets needed, and optionally rendertarget) 2025-07-01 13:03:06 +08:00
Nick Fisher 0693a2a95b update overlay tests 2025-07-01 12:17:17 +08:00
Nick Fisher a2883fbee9 update overlay tests 2025-07-01 12:17:09 +08:00
Nick Fisher dbcf463fd1 use buildMode from user defines (if present) 2025-07-01 12:14:53 +08:00
Nick Fisher 6ab1411801 (example) add Android support for materials_and_textures example 2025-07-01 12:12:59 +08:00
Nick Fisher a9b5ca786e update grid material 2025-07-01 12:12:33 +08:00
Nick Fisher 4379313932 move grid material instantiation to GridOverlay 2025-07-01 11:07:44 +08:00
Nick Fisher 8a997d533a remove stencil highlight on remove from scene or destroyAsset 2025-07-01 11:07:17 +08:00
Nick Fisher b7e79b1ac5 move outline material to embedded binary 2025-07-01 11:07:01 +08:00
Nick Fisher 9a5b737391 move outline material to embedded binary 2025-07-01 11:06:51 +08:00
Nick Fisher 215515a4fc use RenderTarget nativeHandle and don't cast to FFIMaterialInstance 2025-07-01 10:52:04 +08:00
Nick Fisher 3ca1cc0747 add OverlayComponentManager destructor 2025-07-01 10:51:00 +08:00
Nick Fisher 0c2e4e6faa (material) set gridColor when instantiating grid material 2025-07-01 10:42:42 +08:00
Nick Fisher e50a1b6002 implement RenderTicker::removeSwapChain 2025-07-01 10:42:21 +08:00
Nick Fisher 70c67b59f7 (test) use DEPTH24_STENCIL8 2025-07-01 10:41:32 +08:00
Nick Fisher 2022fa97cc use DEPTH24_STENCIL8 as depth attachment for render target.
I'm not sure this is even used; the backend always allocate its own internal depth/stencil buffer. There may be a final blit from the internal buffer to the render target buffer, but I haven't actually confirmed this yet
2025-07-01 10:28:36 +08:00
Nick Fisher 809f84e1fa logging 2025-07-01 10:27:00 +08:00
Nick Fisher 932971c872 use generic parameter in FilamentApp for renderableManager/transformManager/etc, and only expose as getters in the interface 2025-07-01 10:26:30 +08:00
Nick Fisher 7ed120e854 call removeSwapChain when swapChain is destroyed 2025-07-01 10:25:36 +08:00
Nick Fisher 45c4cea6aa add setBackgroundImageFromTexture method to ThermionViewer 2025-07-01 10:23:25 +08:00
Nick Fisher 2545bbbd35 move set/remove stencilHighlight to View and implement via OverlayManager 2025-07-01 10:22:15 +08:00
Nick Fisher 5b41d594da on macOS/windows, always create stencil buffer by default 2025-07-01 10:22:07 +08:00
Nick Fisher 584abd6086 on macOS, always create stencil buffer by default 2025-07-01 10:21:39 +08:00
Nick Fisher 4b9c20eaa6 move set/remove stencilHighlight to View and implement via OverlayManager 2025-07-01 10:15:41 +08:00
Nick Fisher d35a7a6de2 remove uv0 requirement from unlit.mat 2025-07-01 10:15:07 +08:00
Nick Fisher 0f9d2492e6 move set/remove stencilHighlight to View and implement via OverlayManager 2025-07-01 10:13:47 +08:00
Nick Fisher 96ef070be7 add linear_depth material 2025-07-01 10:08:36 +08:00
Nick Fisher 506d2fb562 expose Material->getFeautureLevel 2025-07-01 10:07:35 +08:00
Nick Fisher 0b18caf4ff expose Engine->getSupportedFeatureLevel() 2025-07-01 10:07:10 +08:00
Nick Fisher b3b0e2bae1 Material now implements NativeHandle 2025-07-01 10:06:05 +08:00
Nick Fisher 35369b890f Camera now implements NativeHandle 2025-07-01 10:05:47 +08:00
Nick Fisher 53a2a116aa RenderTarget now implements NativeHandle 2025-07-01 10:04:33 +08:00
Nick Fisher 80ceb5988e RenderTarget now implements NativeHandle 2025-07-01 10:04:13 +08:00
Nick Fisher 9dc81781d1 (doc) debugging fix 2025-06-27 13:52:33 +08:00
Nick Fisher 3e8189ecd4 (CI) update goldens 2025-06-27 13:52:21 +08:00
Nick Fisher 31acdecedf (CI) disable overlay tests 2025-06-27 13:42:54 +08:00
Nick Fisher feeb757a10 use render thread method for creating grid overlay & reinstate overlay tests 2025-06-27 13:34:01 +08:00
Nick Fisher 1bbf9d26ac (doc): fix debugging docs 2025-06-27 11:34:24 +08:00
Nick Fisher 40e206fc94 expose setScene on View 2025-06-27 11:34:01 +08:00
Nick Fisher 48b631b0a8 add generic parameter to NativeHandle, rather than getNativeHandle() 2025-06-27 11:33:50 +08:00
Nick Fisher 5ac4da5075 (CI) add picking_tests.dart and disable overlay_tests.dart (latter seems to have some issue on Linux 2025-06-27 09:36:59 +08:00
Nick Fisher bc392bd933 use getNativeHandle for MaterialInstance 2025-06-27 09:36:20 +08:00
Nick Fisher ceba3915a7 (test) add dithering to postprocessing test 2025-06-27 09:26:26 +08:00
Nick Fisher c46ac2383c (test) add dithering to postprocessing test 2025-06-27 09:25:43 +08:00
Nick Fisher a9083d9ba0 update overlay_tests to check if CI is the problem with rendering 2025-06-26 22:30:22 +08:00
Nick Fisher d9436b8141 (CI) update goldens 2025-06-26 22:16:53 +08:00
Nick Fisher 72cc9b932a add containsChild method to ThermionAsset 2025-06-26 22:11:36 +08:00
Nick Fisher 2c7425fbdb (CI) add overlay_tests.dart 2025-06-26 22:11:13 +08:00
Nick Fisher b5e699c781 (CI) add scene_tests to CI run 2025-06-26 15:32:27 +08:00
Nick Fisher a7b0ed6f21 don't share a single material instance for all highlighted objects
destroy highlight material instances on highlight asset destroyed
expose highlight instances on Scene via getAssetForHighlight
2025-06-26 15:32:05 +08:00
Nick Fisher b5d9a06422 update goldens 2025-06-26 10:45:40 +08:00
Nick Fisher 6b9b13682b (CI) update list of tests 2025-06-26 10:31:13 +08:00
Nick Fisher fab3240ecf clamp pixel values in image conversion 2025-06-26 10:30:32 +08:00
Nick Fisher 2613ba2423 (example) fix initialInstances arg 2025-06-26 10:25:59 +08:00
Nick Fisher 85e3c98b28 (CI) update goldens 2025-06-26 10:20:10 +08:00
Nick Fisher 9d4802c270 (CI) remove update_goldens step - image artifacts are uploaded for every run, when updating goldens, edit dart.yml to point to the correct run/artifact ID 2025-06-26 10:14:43 +08:00
Nick Fisher e7227d5f91 (CI) remove update_goldens step - image artifacts are uploaded for every run, when updating goldens, edit dart.yml to point to the correct run/artifact ID 2025-06-26 10:13:36 +08:00