Skip to content
Snippets Groups Projects
Commit 94a8fe73 authored by Spiros Tsalikis's avatar Spiros Tsalikis
Browse files

Update tests that render lines along with their baselines

Set multi samples to 0 to avoid using anti-aliasing since not
all machines support it. This is needed when rendering lines.
The result is consistent on all machines.
parent 7eb9aa3f
No related branches found
No related tags found
No related merge requests found
b40197e4e71dba28f96f67c71abef6a064ca0b0be16f1df4bcf7aed4fc3e44bb855385fae2b6094fd8dd131a4e04f4e6b670a6cb397db122094e386c3b6b6b69
b5de0f8a7b7abb8ad81fe26ff4bd06be2c55fac3f4580626cafeae0091b5d6a0efb3ed950c3a83a67144df384cc2cad041a71a08a9e04c34894dcb57323abc0a
1444075746eca4a816a3f79c1b03f99ae0590068038463f12ec581c3b45dca5193e1ac8f2412b84a134de53091e27c059a698cda085e5a7bfcc169f5a4c25d74
9a4c3822ff82e46c280f8ae9d50639dacff48050a807be2534bc32d7913b45d8d49766e7478661498cc1e7a6a37e1c210ce9323ad1900e6435e6b45419e75447
ba96f18415e05d044aec6453e8182aa31c361bc164264cc8dafad0050116b69ca2a6565985b306ba7b0aa5a7b35a9d2be6062935a07d70b559c9d9c77bda3441
3040926ca02fee1d9c64dd7ee7512fa34cc129ce54585fad95e6b2a4bcd17e71c63f7530386a43303fa2a7bfc038bb455c6a89a7b42a58d0b7b56a17db6f225f
......@@ -86,6 +86,7 @@ class TestCellGridCellCenters(Testing.vtkTest):
ren.AddActor(centerActor)
rw = vtkRenderWindow()
rw.SetMultiSamples(0) # when rendering lines ensure same output since anti-aliasing is not supported on all machines
rw.AddRenderer(ren)
ren.SetBackground(1.0, 1.0, 1.0)
#ren.SetBackground(0.5, 0.4, 0.3)
......
......@@ -83,6 +83,7 @@ class TestCellGridTransform(Testing.vtkTest):
ren.AddActor(glyphActor)
rw = vtkRenderWindow()
rw.SetMultiSamples(0) # when rendering lines ensure same output since anti-aliasing is not supported on all machines
rw.AddRenderer(ren)
ren.SetBackground(1.0, 1.0, 1.0)
......
c22735aacca486eb356bfbab7c5e20033d894b9575094b8cea65d9a8f9f5558a4664bf1744a2388846c1696fd5133ada8c79de75cc4572fe9d930f64434b22c2
6076464da2cb3aaa38a0bf82f0315d3283aba34b4e17315f74e43e36ffdfe244275799ae732010b8a212d525f1ed4db863926f31b7259c39f9670240f8d7cc20
......@@ -49,6 +49,7 @@ class contourQuadraticTetra(vtkmodules.test.Testing.vtkTest):
ren1 = vtkRenderer()
ren1.GetCullers().RemoveAllItems()
renWin = vtkRenderWindow()
renWin.SetMultiSamples(0) # when rendering lines ensure same output since anti-aliasing is not supported on all machines
renWin.AddRenderer(ren1)
iren = vtkRenderWindowInteractor()
iren.SetRenderWindow(renWin)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment