Commit 1303f082 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell

Comment out the animated PDB renders

These are great for some basic benchmarks, but cause timeouts on some
Gerrit hosts using Mesa at least. Commenting out for now.

Change-Id: Ia68fc6c3c26b367bcd3d04ab7ac93b0ff050b56b
parent f8692285
......@@ -70,13 +70,14 @@ int TestPDBBallAndStick(int argc, char *argv[])
win->SetSize(450, 450);
vtkNew<vtkTimerLog> timer;
int numRenders = 15;
timer->StartTimer();
win->Render();
timer->StopTimer();
double firstRender = timer->GetElapsedTime();
cerr << "first render time: " << firstRender << endl;
/*
int numRenders = 15;
timer->StartTimer();
for (int i = 0; i < numRenders; ++i)
{
......@@ -95,7 +96,7 @@ int TestPDBBallAndStick(int argc, char *argv[])
ren->GetActiveCamera()->Zoom(1.7);
win->Render();
*/
// Finally render the scene and compare the image to a reference image
win->SetMultiSamples(0);
win->GetInteractor()->Initialize();
......
Markdown is supported
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