[vtkusers] Cocoa, Python, VTK and wx embedded window problems

John Donker j.h.donker at home.nl
Wed Oct 15 17:01:32 EDT 2008


I tried tried that earlier and it was completely unstable but  
displayed correctly.

On Oct 15, 2008, at 10:52 PM, Michael Jackson wrote:

> I am going to take a stab in the dark here and suggest you recompile  
> with Carbon=ON and Cocoa=OFF and see what happens.
>
>
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
>
> On Oct 15, 2008, at 4:42 PM, John Donker wrote:
>
>> Hi,
>>
>> I am working  on a project that is using VTK with wxWidgets and  
>> Python. And on OS X (10.5) something very strange happens. When I  
>> try to embed the VTK window (like in the example  
>> wxvtkWindowRender.py in wrapping/python/vtk/wx) I get two windows  
>> of the same size. One displays the VTK openGL output and the other  
>> responds to events.  The openGL output responds correctly, except  
>> that it's rendering in a different window.
>>
>> The same python code works on Windows Vista without any problems.  
>> In the terminal some messages appear that the window can't be  
>> remapped because it's unsupported.  A quick check in the headers  
>> confirms this. But I have seen embedded VTK windows in other apps  
>> so this unlikely. Since I have very limited experience with OpenGL  
>> and Cocoa I don't really have an idea where to look to solve this  
>> problem.
>>
>> I am compiling from the command-line with shared_libs,  
>> python_wrapping and cocoa.  Is this a known bug?
>>
>> Sincerely,
>>
>> John Donker
>>
>>
>>
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>

John Donker
j







More information about the vtkusers mailing list