[vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems

Luke Dodd luke.dodd at gmail.com
Wed Nov 30 10:11:15 EST 2011


Hi Clemens,

I'm really happy it's working for you! The fork sounds like a good
idea - keep me updated.

There are also issues with getting anti-aliasing to work on the
LWJGLVTKPanel, I'll look into this soon.

Hopefully out of this hacky solution a "proper" fix for our issues
will arise. If I get some time I'll look into the vtkPanel code again.
I have the feeling that there are many things that could go wrong when
creating an opengl panel in Java, and somewhere along the line vtk
does something subtly wrong (on linux) which using the lwjgl context
bypasses. I'd like to hear for the vtk devs on this, perhaps we're
just doing something silly with vtkPanel...

Best Regards,
Luke Dodd


On 30 November 2011 13:41, Clemens Müthing
<clemens.muething at uni-konstanz.de> wrote:
> Hey Luke,
>
> a thousand thanks, just put everything in my code and so far it works
> nicely,
> no crashes at all! Also, I think I'll fork your project on github and
> include
> the Interactor stuff that is still missing, I'll let you know when I am done
> if you might need that too.
>
> Cheers
>
> Clemens
>
>
>
> On Tue, 29 Nov 2011 21:30:14 +0100, Luke Dodd <luke.dodd at gmail.com> wrote:
>
>> Hi Clemens,
>>
>>> So I am very interested in trying out your solution, that would be a
>>> great
>>> help. Maybe I could even confirm some of my own theories why it crashes
>>> :)
>>
>> Here's the github: https://github.com/lukedodd/lwjgl-vtkcanvas
>>
>> This file explains what to do:
>>
>> https://github.com/lukedodd/lwjgl-vtkcanvas/blob/lwjgl-vtkcanvas/lwjglvtkcanvas/LWJGLVTKCanvas.java
>>
>> It's a bit of an abomination, but given the amount of time I'd spent
>> fighting these bugs it's creation was warranted! Let me know if you
>> need help getting it up and running, and whether it makes things worse
>> or better.
>>
>> Cheers,
>> Luke
>



More information about the vtkusers mailing list