[vtkusers] To synchronize two camera
amit shrivastava
s_amit4u at rediffmail.com
Fri Jun 13 08:48:07 EDT 2003
Hi All,
To synchronize (should have the same DOP, same View up Vector or should the have same elevation, azimuth & roll ) two camera i am using following code.
float *orientation1 = pCamera1->GetOrientation();
float *orientation2 = pCamera2>GetOrientation();
pCamera2->Elevation(-(orientation2[0] - orientation1[0]));
pCamera2->Azimuth(orientation2[1] - orientation1[1]);
pCamera2->Roll(-(orientation2[2] - orientation1[2]));
but it is not working ...
has any body encountered the same problem before?
any help?
thanks
amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030613/2c8bf6b1/attachment.htm>
More information about the vtkusers
mailing list