[vtkusers] vtk, wx, MacOSX

Sander Niemeijer niemeijer at science-and-technology.nl
Fri Feb 11 06:11:06 EST 2005


Which versions of wxPython/VTK are you using?
And are you using Carbon, Cocoa, or X11 (Gtk or Gtk2)?

Best regards,
Sander

On vrijdag, feb 11, 2005, at 11:00 Europe/Amsterdam, Torsten Sadowski 
wrote:

> Unluckily that is not the reason. The PyOpenGL demos and the wxPython 
> demo
> work happily from the command line with pythonw.
>
> Torsten
>
> On Fri, 11 Feb 2005, Lachlan Blackhall wrote:
>
>> You might try enclosing the script within a .app package.
>>
>> It seems this is necessary to allow proper registration of the 
>> graphics
>> components with the operating system.
>>
>> Another option is to use a program like playtpus (free from version
>> tracker) to wrap
>> the code which should also ensure correct operating system 
>> registration
>> of the program.
>>
>> hope it helps
>>
>> Lachlan
>>
>> On 11/02/2005, at 9:53 AM, Torsten Sadowski wrote:
>>
>>> Hi,
>>>
>>> I'm trying to use my wx/vtk app under MacOSX and have the Problem 
>>> that
>>> I
>>> don't get any OpenGL output. I just get a blank window (the same with
>>> wxVTKRenderWindow.py). Some investigations with Apple's OpenGL 
>>> Profiler
>>> showed that 2 (two) OpenGL Contexts exist with only one used and
>>> probably
>>> the other one displayed. It seems that vtk doesn't get the wx GL
>>> Context
>>> and creates its own. Any Ideas why this is happening and how I could
>>> find
>>> a solution?
>>>
>>> Torsten
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>> _______________________________________________
>> 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
>>
>>
> _______________________________________________
> 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
>




More information about the vtkusers mailing list