Unluckily I have had no success so far. glFinish is in OpenGL.GL but the OpenGL module is not directly used. They use wx.glcanvas.GLCanvas and with it GLContext. Obviously everything works and nothing happens.
Using the OpenGL Profiler I found that I get 2 GL Contexts. One with a bunch of actions and one empty. So maybe VTK fails to get the wxPython GL Context, creates its own and the empty wx context is displayed. Torsten On Mon, 7 Feb 2005, Bob Ippolito wrote: > > On Feb 7, 2005, at 7:53, Torsten Sadowski wrote: > > > does anyone have an idea how to debug a (probably) OpenGL problem on > > Mac > > OSX? I have the latest wxPython with working PyOpenGL (which is > > probably > > not used) and VTK 4.4. When I try to run anything which would give me > > a 3D > > output, like pythonw wxVTKRenderWindow.py, I get nothing. I would > > suspect > > something with Apples triple buffering but where is the best point to > > start looking? > > Most of the time OpenGL contexts are only double buffered. This sounds > like a bug or incompatibility in VTK or wx. You could try calling > glFinish() at the end of the render loop, but I don't have VTK > installed here so I can't look to see what's wrong with it. > > -bob > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig