Commit Graph

105 Commits

Author SHA1 Message Date
Nick Fisher
a52f835288 move standalone Windows file to extras 2024-10-23 14:45:21 +08:00
Nick Fisher
bd9295bc90 cleanup 2024-10-23 14:45:21 +08:00
Nick Fisher
a43ee8fa3a don't call endFrame() if no views were rendered 2024-10-23 14:45:21 +08:00
Nick Fisher
d8a42a4136 add files to run standalone Windows 2024-10-23 14:45:21 +08:00
Nick Fisher
e2d11014d0 fix Windows build.dart to avoid native_assets fork; add implementations for ThermionFlutterWindows 2024-10-23 14:45:20 +08:00
Nick Fisher
056ba55f1c use condition_variable for render thread requestFrame as well as tasks 2024-10-23 14:45:19 +08:00
Nick Fisher
ae91e09943 add option for async loading glTF resources 2024-10-23 14:45:19 +08:00
Nick Fisher
5087cc48f5 return View when picking, use uint32_t for morphIndices 2024-10-23 14:45:19 +08:00
Nick Fisher
f7da303d29 set bloom enabled by default, but 0 strength 2024-10-23 14:45:19 +08:00
Nick Fisher
4f012662e6 feat: camera and resizing improvements 2024-10-23 14:45:18 +08:00
Nick Fisher
4adcf7bca5 chore: remove EMSCRIPTEN ifdefs in *RenderThread methods (no longer used) 2024-10-23 14:45:18 +08:00
Nick Fisher
8ddaf24a94 chore: cleanup 2024-10-23 14:45:18 +08:00
Nick Fisher
50ed0bdfda feat: support multiple ThermionWidget on Android 2024-10-23 14:45:18 +08:00
Nick Fisher
e1efd5e4e0 feat: use imported texture on iOS 2024-10-23 14:45:18 +08:00
Nick Fisher
fbd54a2a09 feat: working implementation of multiple widgets on macos 2024-10-23 14:45:14 +08:00
Nick Fisher
22020d8607 refactor: continual refactor to support multiple render targets 2024-10-23 14:45:04 +08:00
Nick Fisher
3596723d3d chore: refactoring and cleanup for Gizmo 2024-10-23 14:45:04 +08:00
Nick Fisher
03ab646713 feat: more work on multiple views/swapchains 2024-10-23 14:45:04 +08:00
Nick Fisher
a5ca6132f0 refactor!: refactor to support multiple Views/Render Targets 2024-10-23 14:45:04 +08:00
Nick Fisher
ef5b12af4f feat!: big refactor to support multiple swapchains 2024-10-23 14:45:04 +08:00
Nick Fisher
11f668e163 chore: don't keep superfluous handle to rtDepth and rtColor 2024-10-23 14:45:04 +08:00
Nick Fisher
e2eb1137d2 refactor!: remove RenderThread methods no longer needed 2024-10-23 14:45:03 +08:00
Nick Fisher
b5d47ae2a5 fix!: replace queuePosition/Rotation with queueTransforms 2024-10-23 14:45:03 +08:00
Nick Fisher
c2b1d8660e fix!: replace queuePosition/Rotation with queueTransforms 2024-10-23 14:45:03 +08:00
Nick Fisher
41432a07ed chore: getter for native camera view matrix 2024-10-23 14:45:03 +08:00
Nick Fisher
2408104bd0 more camera work 2024-10-23 14:45:03 +08:00
Nick Fisher
d1cd68cda6 more camera work 2024-10-23 14:45:03 +08:00
Nick Fisher
256d5d4eb1 feat: set camera model matrix directly 2024-10-23 14:45:03 +08:00
Nick Fisher
758704d464 renaming/refactoring and allow creating new cameras 2024-10-23 14:45:02 +08:00
Nick Fisher
9639caf019 feat: expose more camera methods 2024-10-23 14:45:02 +08:00
Nick Fisher
8e1c611e92 set clearOptions to true 2024-10-23 14:45:00 +08:00
Nick Fisher
ed5f23faf2 introduce stronger native typing, camera projection/culling methods, update tests 2024-10-23 14:45:00 +08:00
Nick Fisher
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 2024-10-23 14:45:00 +08:00
Nick Fisher
7bcfd0f805 rename CameraPtr to TCamera and use named arguments for setCameraLensProjection 2024-10-23 14:45:00 +08:00
Nick Fisher
3e1b151488 move MaterialInstance methods to own class 2024-10-23 14:45:00 +08:00
Nick Fisher
820ad7cb28 rename setLayerEnabled to setLayerVisibility, add setVisibilityLayer method 2024-10-23 14:45:00 +08:00
Nick Fisher
df0a744cc9 add setMaterialDepthWrite method 2024-10-23 14:44:59 +08:00
Nick Fisher
2e404f2087 add setMaterialProperty for int, add create_unlit_material_instance 2024-10-23 14:44:59 +08:00
Nick Fisher
024201a7b7 set default layer for loadGlb to 0,. add setMaterialProperty for int, add SceneManager::createUnlitMaterialInstance 2024-10-23 14:44:58 +08:00
Nick Fisher
22f97beeaa update unproject texture to accept input texture 2024-10-23 14:44:58 +08:00
Nick Fisher
94ff71281f don't call clearBackgroundImage when setBackgroundImage is called (would deadlock) 2024-10-23 14:44:58 +08:00
Nick Fisher
4a96df1574 set default material for geometry to baseColorIndex 0 2024-10-23 14:44:58 +08:00
Nick Fisher
80448d4a24 depth pre-pass when projecting texture 2024-10-23 14:44:58 +08:00
Nick Fisher
40a7f86cef fixes for createMaterialInstance 2024-10-23 14:44:57 +08:00
Nick Fisher
357d815489 use TMaterialInstance for FFI API, add priority/layer params to load_glb_from_buffer 2024-10-23 14:44:57 +08:00
Nick Fisher
e67c77b322 use SceneManager::LAYERS enum for Overlay, set priority/layer in loadGlbFromBuffer, add create/destroy material instance 2024-10-23 14:44:57 +08:00
Nick Fisher
c3291f672e use SceneManager::LAYERS enum for Overlay 2024-10-23 14:44:57 +08:00
Nick Fisher
176036402a use SceneManager::LAYERS enum for gizmo 2024-10-23 14:44:57 +08:00
Nick Fisher
60dbc4ffd6 add texture methods (including unproject) 2024-10-23 14:44:39 +08:00
Nick Fisher
b714d421f6 remove using namespace filament* 2024-10-23 14:44:38 +08:00