[vtkusers] vtk-7.1 openGL 2.0 crash

satwik k satwik.k8 at gmail.com
Wed Jul 19 22:03:38 EDT 2017


Is thr any way to find out OpenGL version in VTK .
 So that system which supports OpenGL 2.0 can make use of VTK 7.0 OpenGL
2.0 as Rendering backed.

System which won't support OpenGL 2.0 can make use of OpenGL as Rendering
backend.



Regards,
Satwik k

On 20-Jul-2017 00:08, "Ken Martin" <ken.martin at kitware.com> wrote:

> Two options I know of
>
> 1) build your executable against Mesa so it will run everywhere
>
> 2) gracefully test if the hardware supports OpenGL2 and gracefully exit if
> not. In current VTK you can do this but I think in 7.1 it may not work.
> Basically call renWin->GetSupportsOpenGL() and handle accordingly.
>
>
>
> On Wed, Jul 19, 2017 at 7:58 AM, Satwik <satwik.k8 at gmail.com> wrote:
>
>> Hi,
>>
>> I configured VTK-7.1 with *openGL2* as Rendering Backend.
>>
>> But, When i tried to run Volume Rendering or any VTK applications in the
>> machine which is not having openGL2.0. *Application is getting crashed*.
>>
>> How well can i handle this..????
>>
>>
>> Regards,
>> satwik k
>>
>>
>>
>> --
>> View this message in context: http://vtk.1045678.n5.nabble.c
>> om/vtk-7-1-openGL-2-0-crash-tp5744014.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170720/88dc4982/attachment.html>


More information about the vtkusers mailing list