construct from vtkCamera from opengl Variables

Elhassan Abdou <[email protected]>
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CAK-92qB4X7XTH91BccgF1vV1J61hYb--ipSm5bRLepnUrn7M5g@mail.gmail.com>
Dear All,

I have a scene that I constructed using OpenGL and I want to rewrite the
code using VTK.
So I have view matrix (compose of, scaling in z, and translation in the
x,y,z).
I know I am rendering using perspective mode, so I have near plane, far
plane and horizontal  fov.

I tried to use vtkExternalOpenGL, but nothing is rendered.

Can anyone give me help on how to adjust vtkOpenGLCamera to use these
parameters to render the scene?

Regards
Elhassan

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.