Commit 53b1c837 authored by Allison Vacanti's avatar Allison Vacanti

Rearrange test scene to fit smaller window.

The original 1600x250 window was truncated on 1024x768
displays. The new scene is rendered to 600x600.
parent 9f0d9525
......@@ -495,15 +495,15 @@ int TestVTKMLevelOfDetail(int argc, char *argv[])
mappers[i]->SetInputConnection(surfaces[i]->GetOutputPort());
actors[i]->SetMapper(mappers[i]);
actors[i]->SetPosition( i * 10, 0, 0);
actors[i]->SetPosition((i % 2) * 10, -(i / 2) * 10, 0);
ren->AddActor(actors[i]);
}
ren->SetBackground(0.1, 0.2, 0.4);
ren->ResetCamera();
ren->GetActiveCamera()->Zoom(6.);
renWin->SetSize(1600, 250);
ren->GetActiveCamera()->Zoom(1.3);
renWin->SetSize(600, 600);
renWin->Render();
......
e96dee63440b556807076219866d4172cc562ed42fd8c0291527a2724ebac10953e229dc9e29001c57689328c8965883700753e0e3f0776381e4eba07a31fe02
b763cc14592591f805136b8d1d28e18c50caa4291ad771b25b8a91b87be67414ddaf3e66961533af096ce6662c35cc2c16e5df9d17a5a293feeada64a05b5b11
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