[vtkusers] rotating vtkCamera

Mark Wyszomierski markww at gmail.com
Thu Apr 19 10:53:18 EDT 2007


Hi,

Is there a method of vtkCamera to rotate about the focal point? Something like:

for (int i = 0; i < 64; i++) {
     double dPitch = i * (360.0 / 64);
     pCamera->Pitch(dPitch);
     // render..
}

The effect I'm looking for is to have the camera orbit around its
focal point in the direction of its view up.

Thanks,
Mark



More information about the vtkusers mailing list