[vtkusers] construct from vtkCamera from opengl Variables

Elhassan Abdou elhassan.abdou at gmail.com
Sat Dec 22 17:01:35 EST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20181222/0d81956c/attachment.html>


More information about the vtkusers mailing list