[vtkusers] running opengl commands in vtk renderer.

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Jun 11 08:14:46 EDT 2008


Oops, I meant vtkCommand::EndEvent which is fired on end of rendering (not
EndRender event).

Utkarsh

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

> Dear Utkarsh,
>
> Thanks for your reply. Can you guide me how to go about doing this. I could
> not find the endrender event. Pls guide me.
>
> Rishabh
>
> On Wed, Jun 11, 2008 at 5:21 PM, Utkarsh Ayachit <
> utkarsh.ayachit at kitware.com> wrote:
>
>> 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
>>>
>>>
>>
>
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080611/592ceecb/attachment.htm>


More information about the vtkusers mailing list