[vtkusers] Gimbal Lock?

Wes Turner wes.turner at kitware.com
Thu Apr 15 09:27:25 EDT 2010


What you are most likely running into is that the view up vector and the
view direction vector are becoming the same.  To reach 90 degrees, do it in
two stages and regenerate the view up vector after each stage.

- Wes

On Wed, Apr 14, 2010 at 7:56 PM, Robbie Banks <robbie.banks at gmail.com>wrote:

>   I’m just wondering if there is a gimbal lock issue with the vtkCamera on
> Elevation(double)??
>
>
>
> I have a 3D object which I am rotating using Elevation(), Azimuth() and
> Roll() to incrementally rotate using directional push buttons. This works
> fine for the Azimuth and Roll, but seems to lock on the Elevation when it
> hits 90 degrees.
>
>
>
> Is this a known problem?
>
>
>
> Robbie
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100415/8d3486f3/attachment.htm>


More information about the vtkusers mailing list