[vtk-developers] vtkGenericOpenGLRenderWindow thoughts

Francois Bertel francois.bertel at kitware.com
Tue May 25 13:39:12 EDT 2010


Hi,

Can you please elaborate about the OpenGL functionality in Qt you want to use?

How would you do a vtkGenericOpenGLRenderWindow? How to pass context
information? How would you implement MakeCurrent(), for example?

On Tue, May 25, 2010 at 1:27 PM, Clinton Stimpson <clinton at elemtech.com> wrote:
> Hi,
>
> Does anyone see any issues with having a class vtkGenericOpenGLRenderWindow in
> VTK which would allow one to render a VTK scene into a drawable & context of
> their own?
>
> The reason I'm looking at this is because there is a great deal of OpenGL
> functionality in Qt that can easily be used with this approach.  The code in
> interest is not in a public api and is accessible only through using Qt's
> classes that manage drawables and contexts.
>
> I wonder if it'll be an issue as I'm seeing code in vtkCameraPass::Render that
> checks if its drawing to a framebuffer object, when it couldn't know if it is
> drawing to a framebuffer object created on the Qt side.
>
> Any thoughts?
>
> Thanks,
> Clint
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtk-developers mailing list