[vtkusers] vtk 6.3.0 | Using OpenGL2?

Ken Martin ken.martin at kitware.com
Mon Sep 21 09:25:56 EDT 2015


You select OpenGL2 by setting VTK_RENDERING_BACKEND to OpenGL2

Libraries should all be the same as the old OpenGL just with the name
changed to OpenGL2 with the exception of LIC changing to LICOpenGL2 if you
are using LIC. If you build with CMake using VTK in the standard way I
believe most of this is handled for you. The classes to instantiate
depends on your application but in general they should not change.
vtkActor, vtkPolyDataMapper, vtkRenderWindow, etc.

Thanks
Ken

Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
ken.martin at kitware.com
919 869-8871 (w)


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.


-----Original Message-----
From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Audrius
Stundzia
Sent: Saturday, September 19, 2015 4:36 PM
To: Ben Boeckel
Cc: VTK Users
Subject: Re: [vtkusers] vtk 6.3.0 | Using OpenGL2?



On Wed, Sep 16, 2015, at 18:02, Ben Boeckel wrote:
> On Thu, Sep 10, 2015 at 12:19:21 -0400, Audrius Stundzia wrote:
> > VTK_MODULE_INIT(vtkRenderingFreeTypeOpenGL2);
>
> ...
>
> > only generates new link error messages of the type
> >
> > 1>stdafx.obj : error LNK2019: unresolved external symbol "void
> > 1>__cdecl
> >   vtkRenderingFreeTypeOpenGL2_AutoInit_Construct(void)"
> >   (?vtkRenderingFreeTypeOpenGL2_AutoInit_Construct@@YAXXZ) referenced
in
> >   function "public: __cdecl
vtkRenderingFreeTypeOpenGL2_ModuleInit::vtk-
> >   RenderingFreeTypeOpenGL2_ModuleInit(void)"
> >   (??0vtkRenderingFreeTypeOpenGL2_ModuleInit@@QEAA at XZ)
>
> This module does not exist (and the vtkRenderingFreeTypeOpenGL module
> is also gone).
>
> --Be

Understood. Thanks.

Is there a summary page for vtk "OpenGL2" that summarizes what is required
to get it running?

Which CMake switches to set and which to turn off?

Which vtk dlls to load?

Which classes to instantiate?

Thank you in advance.

_______________________________________________
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


More information about the vtkusers mailing list