Re: OpenGL win32 Python

2009-04-17 Thread Maxim Khitrov
On Fri, Apr 17, 2009 at 9:27 AM, gintare statkute wrote: > Hello, > > i foundĀ an example for OpenGL in windows. > It is incredibly helpful, but how to rewrite it to be useful in Python. > > How to give address of pfd in Python?: > iFormat = ChoosePixelFormat( hDC, &pfd ); > SetPixelFormat( hDC, iF

Re: OpenGL in TK

2009-02-17 Thread Mike C. Fletcher
Almar Klein wrote: Hi list! I am using pyOpenGL to do some 3D rendering. For now I am quite happy with the GLCanvas of wx, but I may want to publish some stuff later, and it would be nice if people would not need wx. I found that there used to be a TK widget called Togl, but it is not (anymore?

RE: OpenGL

2006-01-29 Thread Delaney, Timothy (Tim)
Mike C. Fletcher wrote: > ctypes re-re-implementation of the same Python API to OpenGL. My > intention is that the ctypes implementation will become the 3.0.0 > release when it is finished and optimised. You should be aware then that it's likely that ctypes will be included in Python 2.5. Tim D

Re: OpenGL

2006-01-23 Thread Fernando Perez
Mike C. Fletcher wrote: > OpenGL-ctypes is designed with a fairly well abstracted array-handling > API. Basically any array type can be registered with handlers that let > you tell the system how to do basic operations; get an array's size, > shape, data-type, convert to a given data-format, bui

Re: OpenGL

2006-01-22 Thread Mike C. Fletcher
[EMAIL PROTECTED] wrote: > Does that mean PyOpenGL is based on ctypes ? > PyOpenGL, the project with releases, binaries on most platforms, and lots of history is currently written in SWIG. It was originally written in pure Python C-extension code, then Tarn rewrote it using SWIG a few years

Re: OpenGL

2006-01-22 Thread seb . haase
Does that mean PyOpenGL is based on ctypes ? I thought is was using SWIG ? And on that note: I have some (old) SWIG typemaps for numarray arrays that I'm using for many years. I was always wondering how difficult it would be for me to add them into PyOpenGL ? So far I'm just using my own (one !)

Re: OpenGL

2006-01-22 Thread Mike C. Fletcher
NaeRey wrote: > If you notice the project died, being latest release Jan2 2005. Thats > over a year old. > Died, no. We have a rather small developer community, basically myself and a few people who contribute a module here or there. Most (really, all) of the time being spent on PyOpenGL the

Re: OpenGL

2006-01-22 Thread Fredrik Lundh
"NaeRey" wrote: > If you notice the project died, being latest release Jan2 2005. Thats > over a year old. so? OpenGL itself hasn't had a release since 2004. that's even more dead. -- http://mail.python.org/mailman/listinfo/python-list

Re: OpenGL

2006-01-22 Thread NaeRey
If you notice the project died, being latest release Jan2 2005. Thats over a year old. -- http://mail.python.org/mailman/listinfo/python-list

Re: OpenGL

2006-01-22 Thread Fredrik Lundh
NaeRey wrote: > Hey, I've been searching for something like a PyOpenGL implementation > that allows Python to use OpenGL, found only a few projects and most > are either in beta and dead, or alpha stage. http://pyopengl.sourceforge.net/ -- http://mail.python.org/mailman/listinfo/python-list

Re: OpenGL

2006-01-22 Thread Will McGugan
NaeRey wrote: > Hey, I've been searching for something like a PyOpenGL implementation > that allows Python to use OpenGL, found only a few projects and most > are either in beta and dead, or alpha stage. > Anyone knows a package thats currently being worked on and is > functional? > Thanks > Some