[PyOpenGL-Users] Re[2]: Profiling PyOpenGL
Brought to you by:
mcfletch
|
From: K. B. ( W. ) <wa...@st...> - 2001-10-12 17:10:08
|
Hello Mike,
thanks a lot - it works for me. And now I know much more...
Best regards,
Kerim mailto:wa...@st...
Friday, October 12, 2001, 8:26:38 PM, you wrote:
MF> Sorry about the confusion:
MF> OpenGLContext -> My little testing/demo project that tries to simplify
MF> creating PyOpenGL projects. It supports a number of GUI libraries, with the
MF> ability to choose which library is being used (== forcing the request, as
MF> opposed to using the user's preferred GUI). It's available off the PyOpenGL
MF> homepage.
MF> PyGame -> A cross-platform game-development library which includes a basic
MF> GUI environment. It can display an OpenGL context and is one of the GUI
MF> libraries supported by OpenGLContext.
MF> Here's what the phrase amounted to in real code:
MF> from OpenGLContext import testingcontext
MF> BaseContext, MainFunction = testingcontext.getInteractive( ('pygame',) )
MF> # stuff that's the same as any of the
MF> # OpenGLContext tests
MF> ...
MF> # the other changed section
MF> if __name__ == "__main__":
MF> import profile
MF> profile.run( "MainFunction ( TestContext)")
MF> HTH,
MF> Mike
MF> -----Original Message-----
MF> From: Kerim Borchaev ( WarKiD ) [mailto:wa...@st...]
MF> Sent: October 12, 2001 04:19
MF> To: Mike Fletcher
MF> Cc: pyt...@py...; PyOpenGL (E-mail)
MF> Subject: Re[2]: Profiling PyOpenGL
MF> Thanks you (and Georg) for clarifying this glutMainLoop thing.
MF> But I didn't quite understand this phrase:
>> forcing a request for a PyGame context in one of the OpenGLContext
>> tests
MF> (sorry for sounding dumb but I'm just starting to learn (Py)OpenGl )
MF> Best regards,
MF> Kerim mailto:wa...@st...
MF> ...
|