191 Commits

Author SHA1 Message Date
Nick Fisher
a561c847a7 (test) don't load dylib on macos in testing 2025-07-09 10:47:22 +08:00
Nick Fisher
e731556e6f add scale parameter to outline material 2025-07-01 14:28:19 +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
c467e3ca69 (test) add stencil highlight to view_tests 2025-07-01 13:09:20 +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
70c67b59f7 (test) use DEPTH24_STENCIL8 2025-07-01 10:41:32 +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
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
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
ced0667a21 (test) add python script to compare goldens 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
3657428025 (test) write PNGs, not BMP 2025-06-25 13:31:57 +08:00
Nick Fisher
e9f0d5b745 use OpenGL backend on Linux tests 2025-06-25 11:13:07 +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
bec34e5b0b (test) update image path 2025-06-24 15:34:12 +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
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
c81f2f225c (test) add simple capture test 2025-06-23 12:41:56 +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
e1cb517417 allow creating more glTF instances than pre-allocated 2025-06-20 18:46:36 +08:00
Nick Fisher
0a9b1a82e2 update instancing tests 2025-06-19 11:01:16 +08:00
Nick Fisher
65ca59ff22 merge native setImage with setImageWithDepth 2025-06-17 13:25:53 +08:00
Nick Fisher
4bde3d34cf (test) add test to create indirect light from irradiance texture 2025-06-12 11:34:17 +08:00
Nick Fisher
7f2ad7c4e4 (test) rename background_tests.dart to image_tests.dart 2025-06-12 11:33:57 +08:00
Nick Fisher
ad26fc4563 add Dart IndirectLight and Ktx1Bundle classes, and separate KTX decoding from skybox/IBL creation 2025-06-12 11:31:44 +08:00
Nick Fisher
f78c6f258f add test for getBoundingBox 2025-06-11 09:51:24 +08:00
Nick Fisher
b0796f493f (test) move IBL tests to light_tests 2025-06-11 09:51:14 +08:00
Nick Fisher
ae9ce197c1 move setStencilHighlight/removeStencilHighlight to Scene 2025-06-10 10:27:03 +08:00
Nick Fisher
66d3bf65fd add view test for multiple views rendering into the same render target 2025-06-10 09:08:30 +08:00
Nick Fisher
dba40fb82b update instancing tests 2025-06-09 18:28:58 +08:00
Nick Fisher
4a9b91c411 (test) update helper to add createStencilBuffer flag 2025-06-09 18:25:39 +08:00
Nick Fisher
9054879722 update Swift bindings and remove dylib from repository (should be recompiled when running via CI/CD?) 2025-06-09 18:25:18 +08:00
Nick Fisher
8866ffe210 (test) update helper to add createStencilBuffer flag 2025-06-09 18:23:22 +08:00
Nick Fisher
78e14574ef split stencil/depth tests from unlit material tests 2025-06-09 18:15:17 +08:00
Nick Fisher
150c0227c8 (test) remove group from asset_tests 2025-06-04 11:08:13 +08:00
Nick Fisher
e594a42496 add test for create/destroy geometry instances 2025-06-04 11:07:58 +08:00
Nick Fisher
886a4a37aa (test) log to stdout by default when using TestHelper 2025-06-04 10:46:55 +08:00
Nick Fisher
3c9b607109 add geometry tests for destroyAssets 2025-06-02 10:13:08 +08:00
Nick Fisher
2f7f363db9 pass shared NameComponentManager to gltfio AssetLoader 2025-05-31 11:21:57 +08:00
Nick Fisher
764fea836b move tests to unlit_material_tests.dart 2025-05-29 22:29:04 +08:00
Nick Fisher
27d6bd0f4a update projection tests to use aspect-ratio other than 1 2025-05-29 22:28:50 +08:00
Nick Fisher
7e810b8265 remove old tests 2025-05-29 22:27:39 +08:00
Nick Fisher
6ad3bfab13 remove old material_tests.dart 2025-05-29 22:27:31 +08:00
Nick Fisher
94eacec27e Texture improvements: generateMipmaps(), add levels to createTexture, tests to check auto mip level selection 2025-05-29 18:38:57 +08:00
Nick Fisher
11f7ac459b separate material_tests into ubershader & unlit 2025-05-29 18:02:21 +08:00