[vtkusers] Camera ELEVATION

Matjaz Subelj matjaz at lecad.uni-lj.si
Tue Jul 23 04:13:02 EDT 2002


Do you call OrthogonalizeViewUp() after elevation change?

--matjaz

Andres Barrera wrote:
> Hello,
> 
>  I have a problem handling the camera on my vtk... I am using:
> 
>   " ...........
>    if ( rising )
>      renGeneral->GetActiveCamera()->Elevation( deltaRot );
>    else
>      renGeneral->GetActiveCamera()->Elevation(-deltaRot );
>     ...............
>   "
>  The problem is when the camera is on TOP of the actor and I increase 
> "deltaRot", or BOTTOM of the actor I decrease "deltaRot", ... it starts 
> start doing crazy things.
> 
>  There is any way of solving that without inplementing too much math and 
> trigonometry?
> 
>  Thanks you all.
> 
>   Note: I dont have any problem with
>   "renGeneral->GetActiveCamera()->Azimuth ( deltaRot )"
> 
> 
>      Andres
> 
> 
> 
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list