[vtkusers] vtk, wx, MacOSX

Torsten Sadowski moehl at akaflieg.extern.tu-berlin.de
Fri Feb 11 05:00:05 EST 2005


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
>
>



More information about the vtkusers mailing list