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
Nick Fisher
ccc0a53abc
rename numInstances to initialInstances in loadGltf methods.
...
when initialInstances > 0, don't wait for createInstance to be called to create corresponding GltfSceneAsset
2025-06-26 10:11:29 +08:00
Nick Fisher
b983c6bb90
(CI) download goldens artifact directly
2025-06-26 09:25:16 +08:00
Nick Fisher
854f1545d3
(CI) use artifact ID for golden download
2025-06-26 09:15:12 +08:00
Nick Fisher
ca110b2b01
(CI) update goldens SHA
2025-06-26 09:03:39 +08:00
Nick Fisher
ced0667a21
(test) add python script to compare goldens
2025-06-26 08:48:20 +08:00
Nick Fisher
240a2d5345
(CI) add dart-tests job
2025-06-26 08:48:20 +08:00
Nick Fisher
cb4479d8ce
(CI) factor out shared setup into standalone action
2025-06-26 08:48:20 +08:00
Nick Fisher
f4b473b9ae
disable physics test in instancing
2025-06-26 08:47:22 +08:00
Nick Fisher
fac0c727e4
don't track/remove assets when addToScene/removeFromScene is called
2025-06-25 16:51:21 +08:00
Nick Fisher
f0cf20d904
(docs) fix links
2025-06-25 15:56:21 +08:00
Nick Fisher
ebb73a29e1
(docs) add Linux docs
2025-06-25 15:54:08 +08:00
Nick Fisher
e92e59fab4
don't link mikktspace on Linux
2025-06-25 15:47:20 +08:00
Nick Fisher
be47ec0f8b
add Linux build dockerfile
2025-06-25 15:47:20 +08:00
Nick Fisher
3657428025
(test) write PNGs, not BMP
2025-06-25 13:31:57 +08:00
Nick Fisher
33f8faac04
(CI) use xvfb
2025-06-25 12:49:55 +08:00
Nick Fisher
e9f0d5b745
use OpenGL backend on Linux tests
2025-06-25 11:13:07 +08:00
Nick Fisher
682881e133
don't ignore .github
2025-06-25 11:06:55 +08:00
Nick Fisher
3e2405aa76
merge linux CI runner
2025-06-25 11:06:47 +08:00
Nick Fisher
52038084f3
(CI) fix workflow
2025-06-25 11:05:45 +08:00
Nick Fisher
af9c2a93dc
(Linux) remove OS check for mikktspace & geometry
2025-06-25 11:05:07 +08:00
Nick Fisher
e99ccb3100
(CI) update GitHub workflow runner for Linux
2025-06-25 11:03:48 +08:00
Nick Fisher
ed21eec66e
pass through instance owner to FFIAsset so instances can be created on instances
2025-06-24 21:31:10 +08:00
Nick Fisher
05c62d5fa0
fix for macOS support
2025-06-24 15:39:41 +08:00
Nick Fisher
bec34e5b0b
(test) update image path
2025-06-24 15:34:12 +08:00
Nick Fisher
634c6d6877
(web) only requestFrame/setState when canvas is imported as widget
2025-06-24 15:33:50 +08:00
Nick Fisher
b47e7f206c
update BUILDING.md for Linux
2025-06-24 15:33:24 +08:00
Nick Fisher
1fe1889fa2
remove STB_IMAGE_IMPLEMENTATION (this is already linked)
2025-06-24 15:30:39 +08:00
Nick Fisher
4a43c6169a
update build.dart for Linux support
2025-06-24 15:27:27 +08:00
Nick Fisher
6075608bda
(CI) fix workflow
2025-06-24 15:26:46 +08:00
Nick Fisher
8a1f320bb7
remove objective_c from dev_dependencies & change test_helper to create render target without importing textures
2025-06-24 13:37:09 +08:00
Nick Fisher
ed5fb03aa4
(CI) update GitHub workflow to add update-goldens
2025-06-24 13:27:33 +08:00
Nick Fisher
21ccb52ab9
fix missing includes for Linux compatibility
2025-06-24 12:30:33 +08:00
Nick Fisher
ff48ce94a3
update build.dart to prepare for Linux support
2025-06-24 10:46:33 +08:00
Nick Fisher
d20ff0a6f1
don't require SwapChain to be passed to viewer.render - this will just render into all registered swapchains
2025-06-24 10:36:10 +08:00
Nick Fisher
c7d4d9cb33
add NativeHandle interface and refactor SwapChain to use getNativeHandle
2025-06-24 10:35:33 +08:00
Nick Fisher
9aec83fd70
throw Exception if createInstance is called on an instance and pass through isInstance/keepData flags
2025-06-24 10:22:40 +08:00
Nick Fisher
4dbd761d16
always request stencil buffer (depth24_stencil8) on macos/ios
2025-06-23 12:48:25 +08:00
Nick Fisher
fc365744ef
(test) add cube_texture2.svg
2025-06-23 12:47:02 +08:00
Nick Fisher
900e43b5ec
(example) (web) update build_web_compilers dependency
2025-06-23 12:46:45 +08:00
Nick Fisher
c78cd45b8a
(example) (web) cleanup js_wasm example HTML when building for wasm
2025-06-23 12:46:18 +08:00
Nick Fisher
1268970ba7
(example) (web) cleanup js_wasm example
2025-06-23 12:45:59 +08:00
Nick Fisher
f93e44abd5
(web) don't hardcore 60fps timer on web
2025-06-23 12:44:37 +08:00
Nick Fisher
d41f29c06d
(web) after capture is called on emscripten builds, request the render thread to exit/resume to yield to the browser so the frame is committed
2025-06-23 12:43:40 +08:00
Nick Fisher
e27be37378
add mRestart flag to immediately request the thread exits to force a commit frame
2025-06-23 12:43:03 +08:00
Nick Fisher
a8a7f11d44
add mRestart flag to immediately request the thread exits to force a commit frame
2025-06-23 12:42:53 +08:00
Nick Fisher
c81f2f225c
(test) add simple capture test
2025-06-23 12:41:56 +08:00
Nick Fisher
a89c6d0eb3
update key map
2025-06-23 12:39:25 +08:00
Nick Fisher
34c9d5a279
(example) update metadata
2025-06-23 12:39:07 +08:00
Nick Fisher
57999bec3c
clean up TextureProjection
2025-06-23 12:38:35 +08:00
Nick Fisher
69400f8b68
update TextureProjection to accept material instances and render multiple target entities
2025-06-23 12:38:06 +08:00
Nick Fisher
18b6b2e5f0
(web) in capture, add extra call to render a frame to flush frame callbacks
2025-06-23 12:27:05 +08:00
Nick Fisher
7e802f7b23
formatting
2025-06-23 12:25:30 +08:00
Nick Fisher
ce23b9f3cd
(doc) add documentation for destroyAsset instances
2025-06-23 12:25:18 +08:00
Nick Fisher
45d8c7b929
(example) add user_defines to headless example pubspec
2025-06-23 12:24:46 +08:00
Nick Fisher
7a484ee794
update light tests for IBL from manually-created texture
2025-06-23 12:23:12 +08:00
Nick Fisher
832319ee1b
(test) add bounding box test to asset_tests
2025-06-23 12:22:13 +08:00
Nick Fisher
668c001b49
add inUse flag to assist with recycling gltf instances
2025-06-23 12:21:52 +08:00
Nick Fisher
e503dd2e8b
docstrings for GltfSceneAsset destroyInstance
2025-06-23 12:21:21 +08:00