diff --git a/test/image/baselines/gl3d_tet_colorscale.png b/test/image/baselines/gl3d_tet_colorscale.png new file mode 100644 index 00000000000..0949182b9b2 Binary files /dev/null and b/test/image/baselines/gl3d_tet_colorscale.png differ diff --git a/test/image/mocks/gl3d_tet_colorscale.json b/test/image/mocks/gl3d_tet_colorscale.json new file mode 100644 index 00000000000..0319c93f8c8 --- /dev/null +++ b/test/image/mocks/gl3d_tet_colorscale.json @@ -0,0 +1,22 @@ +{ + "data": [ + { + "type":"mesh3d", + "y":[0, 0, 1, 2], + "x":[0, 1, 2, 0], + "z":[0, 2, 0, 1], + "i":[0, 0, 0, 1], + "j":[1, 2, 3, 2], + "k":[2, 3, 1, 3], + "colorscale": [ + [0, "rgb(0, 0, 0)"], + [0.33, "rgb(255, 0, 0)"], + [0.66, "rgb(0, 255, 0)"], + [1, "rgb(0, 0, 255)"] + ], + "intensity": [0, 0.33, 0.66, 1] + }], + "layout": { + "title": "Tetrahedra Custom Colorscale" + } +}