[vtkusers] Example of ExternalOpenGL
Ram Sampath
ram at centroidpic.com
Wed Apr 1 20:28:39 EDT 2015
Hi Aashish,
The code is part of a large repository - but I have managed to extract the
section which is appropriate. Hope its ok. I am using QOpenGLWidget and
perhaps paintEvent callback from that - perhaps that's causing some
conflicts ?
Anyway, I have attached the header file and the source file - kindly let
me know if there's anything wrong you see in that. Perhaps I should write a
very simple glut application and see if this works first before integrating
it into our complex package.
Thank you again.
Ram.
On Wed, Apr 1, 2015 at 10:11 PM, Aashish Chaudhary <
aashish.chaudhary at kitware.com> wrote:
> Hi Ram,
>
> We are looking into the example that you have posted earlier. Is it
> possible to share the complete code with us? I am assuming that it it small
> enough.
>
> - aashish
>
>
> On Wed, Apr 1, 2015 at 8:37 AM, Ram Sampath <ram at centroidpic.com> wrote:
>
>>
>> Hello:
>>
>> Can anyone give an example of how the ExternalOpenGL and related classes
>> are used in VTK 6.2 to render VTK into an existing opengl context ?
>>
>> I tried to do it and it doesn't seem to work as expected.
>>
>> Thanks
>> Ram.
>>
>> _______________________________________________
>> 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:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
>
>
>
> *| Aashish Chaudhary | Technical Leader | Kitware Inc. *
> *| http://www.kitware.com/company/team/chaudhary.html
> <http://www.kitware.com/company/team/chaudhary.html>*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150402/3bfaeb7f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VisWidget.cpp
Type: text/x-c++src
Size: 4062 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150402/3bfaeb7f/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VisWidget.h
Type: text/x-chdr
Size: 2633 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150402/3bfaeb7f/attachment.h>
More information about the vtkusers
mailing list