[vtkusers] VTK 7 and vtkRenderingOpenGL2 migration

Orion Poplawski orion at cora.nwra.com
Wed Feb 10 15:34:58 EST 2016


Yeah, looks like it's only on the master branch, not on release, and didn't
make it into 7.0.0 final.  That's too bad.

On 02/10/2016 12:35 PM, Ken Martin wrote:
> It is here https://gitlab.kitware.com/vtk/vtk/merge_requests/1002 but I do not
> believe it was included in the VTK 7 rc.
> 
> Ken
> 
> 
> 
> On Mon, Feb 8, 2016 at 12:25 PM, Orion Poplawski <orion at cora.nwra.com
> <mailto:orion at cora.nwra.com>> wrote:
> 
>     Thanks for the response, but I can't find any evidence of these macros in the
>     installed headers or anything else of use in that header file, except perhaps
>     the new definition of VTK_USE_GLSL_SHADERS.
> 
>     On 02/08/2016 09:59 AM, Ken Martin wrote:
>     > I believe you can do
>     >
>     > #include "vtkRenderingOpenGLConfigure.h"
>     >
>     > #ifdef VTK_OPENGL2
>     > blah
>     > #endif
>     >
>     > #ifdef VTK_OPENGL1
>     > blah
>     > #endif
>     >
>     >
>     >
>     > On Fri, Feb 5, 2016 at 11:27 AM, Orion Poplawski <orion at cora.nwra.com
>     <mailto:orion at cora.nwra.com>
>     > <mailto:orion at cora.nwra.com <mailto:orion at cora.nwra.com>>> wrote:
>     >
>     >     I'm looking at updating the Fedora VTK package to 7.0 and rebuilding
>     dependent
>     >     packages here:
>     https://copr.fedorainfracloud.org/coprs/orion/vtk7/builds/
>     >
>     >     One problem is packages (e.g. engrid) that do:
>     >
>     >     VTK_MODULE_INIT(vtkRenderingOpenGL);
>     >
>     >     It appears that with VTK 7.0 it would need to do:
>     >
>     >     VTK_MODULE_INIT(vtkRenderingOpenGL2);
>     >
>     >     What's the best way for projects to handle this automatically, as
>     the vtk they
>     >     are building against may have been built with either backend.
>     >
>     >
>     >     --
>     >     Orion Poplawski
>     >     Technical Manager                     303-415-9701 x222
>     <tel:303-415-9701%20x222>
>     >     <tel:303-415-9701%20x222>
>     >     NWRA, Boulder/CoRA Office             FAX: 303-415-9702
>     <tel:303-415-9702> <tel:303-415-9702 <tel:303-415-9702>>
>     >     3380 Mitchell Lane                       orion at nwra.com
>     <mailto:orion at nwra.com>
>     >     <mailto:orion at nwra.com <mailto:orion at nwra.com>>
>     >     Boulder, CO 80301                   http://www.nwra.com
>     >     _______________________________________________
>     >     Powered by www.kitware.com <http://www.kitware.com>
>     <http://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
>     >
>     >
>     >
>     >
>     > --
>     > Ken Martin PhD
>     > Chairman & CFO
>     > Kitware Inc.
>     > 28 Corporate Drive
>     > Clifton Park NY 12065
>     > 518 371 3971 <tel:518%20371%203971>
>     >
>     > This communication, including all attachments, contains confidential and
>     > legally privileged information, and it is intended only for the use of the
>     > addressee.  Access to this email by anyone else is unauthorized. If you are
>     > not the intended recipient, any disclosure, copying, distribution or any
>     > action taken in reliance on it is prohibited and may be unlawful. If you
>     > received this communication in error please notify us immediately and
>     destroy
>     > the original message.  Thank you.
> 
> 
>     --
>     Orion Poplawski
>     Technical Manager                     303-415-9701 x222
>     <tel:303-415-9701%20x222>
>     NWRA, Boulder/CoRA Office             FAX: 303-415-9702 <tel:303-415-9702>
>     3380 Mitchell Lane                       orion at nwra.com
>     <mailto:orion at nwra.com>
>     Boulder, CO 80301                   http://www.nwra.com
>     _______________________________________________
>     Powered by www.kitware.com <http://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
> 
> 
> 
> 
> -- 
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
> 
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and destroy
> the original message.  Thank you.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com


More information about the vtkusers mailing list