[vtkusers] running opengl commands in vtk renderer.

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Jun 11 07:51:53 EDT 2008


One possibility is to listen to the EndRender event fired by the
vtkRenderWindow (or vtkRenderer) and then make OpenGL calls in the callback.

Utkarsh

On Wed, Jun 11, 2008 at 7:35 AM, Rishabh Kapoor <kapoorrishabh at gmail.com>
wrote:

> Hi all.
>
> Is there a way in vtk in which I can execute opengl commands in the vtk
> renderer. we have code written in opengl and now we want to use vtk . So is
> there a way in which we can combine the two to render the scene.  I mean
> render both vtk and opengl commands in the same window.
>
> Thanks..
>
> --
> Rishabh Kapoor
> Medical Physics Consultant
> 202 Ashok Bhavan
> 93 Nehru Place
> New Delhi 110019
> Ph. +91-11-26423266, +91-11-26420136.
> Mobile: 9910772490
> EMail: tsgintegrations at gmail.com
> Web: www.tsgintegrations.com
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080611/2bb3dbd0/attachment.htm>


More information about the vtkusers mailing list