Commit 44ef2b80 authored by Aashish Chaudhary's avatar Aashish Chaudhary
Browse files

Setting smaller render window size. Updated test information

Change-Id: Ifbfcef7c8bdd37adea50da1e4c788646f1cfe3c9
parent 4977f9cd
...@@ -12,14 +12,9 @@ ...@@ -12,14 +12,9 @@
PURPOSE. See the above copyright notice for more information. PURPOSE. See the above copyright notice for more information.
=========================================================================*/ =========================================================================*/
/*----------------------------------------------------------------------------
Copyright (c) Sandia Corporation
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
----------------------------------------------------------------------------*/
// This test draws a sphere with the edges shown. It also turns on coincident // This test draws a sphere in anaglyphic stereo (red-blue) mode using deering
// topology resolution with a z-shift to both make sure the wireframe is // frustum.
// visible and to exercise that type of coincident topology resolution.
#include "vtkActor.h" #include "vtkActor.h"
#include "vtkCamera.h" #include "vtkCamera.h"
...@@ -86,7 +81,7 @@ int TestAnaglyphicStereo(int argc, char *argv[]) ...@@ -86,7 +81,7 @@ int TestAnaglyphicStereo(int argc, char *argv[])
VTK_CREATE(vtkRenderWindow, renwin); VTK_CREATE(vtkRenderWindow, renwin);
renwin->AddRenderer(renderer); renwin->AddRenderer(renderer);
renwin->SetSize(1080, 1080); renwin->SetSize(400, 400);
renwin->SetStereoRender(1); renwin->SetStereoRender(1);
renwin->SetStereoCapableWindow(1); renwin->SetStereoCapableWindow(1);
renwin->SetStereoTypeToRedBlue(); renwin->SetStereoTypeToRedBlue();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment