[vtkusers] [vtk-developers] OpenGL2 - Broken vtkTexturedButtonRepresentation2D/vtkButtonWidget

Ken Martin ken.martin at kitware.com
Fri Oct 30 09:38:06 EDT 2015


Thanks Simon, could you check and see if the attached patch fixes your
issue?



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.



*From:* vtk-developers [mailto:vtk-developers-bounces at vtk.org] *On Behalf
Of *Simon ESNEAULT
*Sent:* Tuesday, October 27, 2015 1:52 PM
*To:* vtkusers at vtk.org; VTK Developers
*Subject:* [vtk-developers] [vtkusers] OpenGL2 - Broken
vtkTexturedButtonRepresentation2D/vtkButtonWidget



Hello All,

Following our migration to the brand new OpenGL2 backend, the ButtonWidget
seem's broken, the button display's a gray texture instead of an image with
the new backend. This is visible in all our tested platform (Windows or OSX
box)

The following VTK wiki example reproduce the problem :

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/TexturedButtonWidget



OpenGL1 backend result :
http://picpaste.com/pics/OGL1_1.1445968197.png

OpenGL2 backend result :
http://picpaste.com/pics/OGL2_1.1445968221.png


Is it a known issue ? Any clue ? In our application we try to load a png
image, but it always show a gray/white rectangle instead

Thanks
Simon

















-- 

------------------------------------------------------------------
Simon Esneault

Rennes, France
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151030/3b273470/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: balloon.patch
Type: application/octet-stream
Size: 1707 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151030/3b273470/attachment.obj>


More information about the vtkusers mailing list