diff --git a/application/testing/CMakeLists.txt b/application/testing/CMakeLists.txt index a49c0462ee..88cc1f296d 100644 --- a/application/testing/CMakeLists.txt +++ b/application/testing/CMakeLists.txt @@ -126,6 +126,7 @@ f3d_test(NAME TestVTS DATA bluntfin.vts) f3d_test(NAME TestVTM DATA mb.vtm) f3d_test(NAME TestVTK DATA cow.vtk) f3d_test(NAME TestNRRD DATA beach.nrrd ARGS -s) +f3d_test(NAME TestSPLAT DATA small.splat ARGS -osy --up=-Y --point-size=1) f3d_test(NAME TestGridX DATA suzanne.ply ARGS -g --up=+X) f3d_test(NAME TestGridY DATA suzanne.ply ARGS -g --up=+Y) f3d_test(NAME TestGridZ DATA suzanne.ply ARGS -g --up=+Z) @@ -287,6 +288,8 @@ endif() if(VTK_VERSION VERSION_GREATER_EQUAL 9.3.20240203) if(NOT APPLE) # MacOS does not support compute shaders f3d_test(NAME Test3DGaussiansSplatting DATA small.splat ARGS -osy --up=-Y --point-size=1 --point-type=gaussian --camera-position=-3.6,0.5,-4.2) + f3d_test(NAME TestDefaultConfigFileSPLAT DATA small.splat CONFIG config_build LONG_TIMEOUT) + f3d_test(NAME TestThumbnailConfigFileSPLAT DATA small.splat CONFIG thumbnail_build LONG_TIMEOUT) endif() endif() diff --git a/plugins/native/configs/config.d/10_native.json b/plugins/native/configs/config.d/10_native.json index add5b8f60b..9c9b55e856 100644 --- a/plugins/native/configs/config.d/10_native.json +++ b/plugins/native/configs/config.d/10_native.json @@ -28,7 +28,8 @@ "point-sprites": true, "point-size": 1, "point-type": "gaussian", - "scalars": "color", + "scalar-coloring": true, + "coloring-array": "color", "comp": "-2", "bg-color": "0, 0, 0", "up": "-Y", diff --git a/plugins/native/configs/thumbnail.d/10_native.json b/plugins/native/configs/thumbnail.d/10_native.json index f876443978..3f7eff8d60 100644 --- a/plugins/native/configs/thumbnail.d/10_native.json +++ b/plugins/native/configs/thumbnail.d/10_native.json @@ -18,7 +18,8 @@ "point-sprites": true, "point-size": 1, "point-type": "gaussian", - "scalars": "color", + "scalar-coloring": true, + "coloring-array": "color", "comp": "-2", "up": "-Y", "camera-position": "0,1,-5.2", diff --git a/testing/baselines/TestDefaultConfigFileSPLAT.png b/testing/baselines/TestDefaultConfigFileSPLAT.png new file mode 100644 index 0000000000..605d74f688 --- /dev/null +++ b/testing/baselines/TestDefaultConfigFileSPLAT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b1a587823042dda34a9c7728b5665aa8fe82d096708c9688473dd78d2a0c25a +size 117566 diff --git a/testing/baselines/TestSPLAT.png b/testing/baselines/TestSPLAT.png new file mode 100644 index 0000000000..ebe2552c16 --- /dev/null +++ b/testing/baselines/TestSPLAT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:362b9ed40973849b1747b24403c33f311cfbdb7549fe03050800548625205ba0 +size 26532 diff --git a/testing/baselines/TestThumbnailConfigFileSPLAT.png b/testing/baselines/TestThumbnailConfigFileSPLAT.png new file mode 100644 index 0000000000..c5e9b3d1f1 --- /dev/null +++ b/testing/baselines/TestThumbnailConfigFileSPLAT.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b81f3c0dbc6fceed7b08a726c6e70ecddb662fa75a2883f67f1abee4026bb27e +size 149588