Re: [PyOpenGL-Users] Mouse wheel events?

2010-02-10 Thread Gary Herron
Craig Berry wrote: I'm happy to report that FreeGLUT solved my problem. I obtained the Windows prepackaged binary distribution, pulled out freeglut.dll, renamed it to glut32.dll, and replaced the existing glut32.dll in the PyOpenGL installation directory tree with the new version. Mousewheel ev

Re: [PyOpenGL-Users] Mouse wheel events?

2010-02-10 Thread Craig Berry
I'm happy to report that FreeGLUT solved my problem. I obtained the Windows prepackaged binary distribution, pulled out freeglut.dll, renamed it to glut32.dll, and replaced the existing glut32.dll in the PyOpenGL installation directory tree with the new version. Mousewheel events are now reported

Re: [PyOpenGL-Users] Mouse wheel events?

2010-02-08 Thread Gary Herron
Craig Berry wrote: On Sun, Feb 7, 2010 at 22:26, Gary Herron wrote: Didn't I answer this already? If you did, for whatever reason I didn't see it; I just rechecked my inbox to be sure. Thanks for doing so again! I assume, given the list we're on, that Freeglut can be used with Pytho

Re: [PyOpenGL-Users] Mouse wheel events?

2010-02-07 Thread Craig Berry
On Sun, Feb 7, 2010 at 22:26, Gary Herron wrote: > Didn't I answer this already? If you did, for whatever reason I didn't see it; I just rechecked my inbox to be sure. Thanks for doing so again! I assume, given the list we're on, that Freeglut can be used with Python. I'll look into it. Thank

Re: [PyOpenGL-Users] Mouse wheel events?

2010-02-07 Thread Gary Herron
Craig Berry wrote: Can someone please tell me if there's a way to do this, or answer definitively that there is no way? I have a design in progress that could really use mousewheel control, and I don't want to settle for Plan B until I know Plan A is impossible. :) On Fri, Feb 5, 2010 at 19:48,

Re: [PyOpenGL-Users] Mouse wheel events?

2010-02-05 Thread Gary Herron
Craig Berry wrote: Is there any way to get mouse wheel events from glut in PyOpenGL? Use Linux. (On Linux, Glut returns mouse wheel events as buttons 4 and 5), or use FreeGlut. On both Windows and Linux freeglut returns mouse wheel events as buttons 4 and 5. Gary Herron -- http://mai

Re: PyOpenGL and graphics card support

2009-10-02 Thread jefm
that works. Thx below is the output for my system: gluGetString - GLU_VERSION: 1.2.2.0 Microsoft Corporation gluGetString - GLU_EXTENSIONS: GL_EXT_bgra glGetString - GL_VENDOR: NVIDIA Corporation glGetString - GL_RENDERER: GeForce 9

Re: PyOpenGL and graphics card support

2009-10-01 Thread Mike C. Fletcher
jefm wrote: > these are the imports I use: > > from OpenGL.GL import * > from OpenGL.GLUT import * > from OpenGL.GLU import * > PyOpenGL will use the default OpenGL renderer for your system, however, before you have an OpenGL context (rendering window) the system can report whatever the heck it

Re: PyOpenGL and graphics card support

2009-10-01 Thread jefm
these are the imports I use: from OpenGL.GL import * from OpenGL.GLUT import * from OpenGL.GLU import * -- http://mail.python.org/mailman/listinfo/python-list

Re: PyOpenGL Installation

2009-05-31 Thread Mike C. Fletcher
Roastie wrote: > The web info I have found for downloading/installing PyOpenGL and > its dependencies for Windows is a nightmare. Is there a place where > all of > the endless dependencies are packaged nicely with PyOpenGL? > Hmm, "endless"? * Python (with ctypes, standard on everything >=

Re: PyOpenGL double-buffered hardware surface

2008-10-06 Thread [EMAIL PROTECTED]
On Oct 6, 11:45 am, Clay Hobbs <[EMAIL PROTECTED]> wrote: > I'm using wxPython.  My real problem is that everything flashes when it > moves.  I thought the way to fix this was to make a double-buffered Have you tried looking here? If it doesn't solve your problem, then more information would be h

Re: PyOpenGL double-buffered hardware surface

2008-10-06 Thread Clay Hobbs
On Sun, 2008-10-05 at 14:16 -0400, Mike C. Fletcher wrote: > Clay Hobbs wrote: > > How do I create a double-buffered hardware surface with PyOpenGL? I > > knew how to once, but forgot. > > > > > Depends on your GUI library, most of them have a flag-set that you pass > to the initializer of th

Re: PyOpenGL double-buffered hardware surface

2008-10-05 Thread Mike C. Fletcher
Clay Hobbs wrote: How do I create a double-buffered hardware surface with PyOpenGL? I knew how to once, but forgot. Depends on your GUI library, most of them have a flag-set that you pass to the initializer of the OpenGL-holding widget. If you're using Pygame, see Pygame's display module.

Re: PyOpenGL Tutorial?

2008-07-25 Thread sturlamolden
On Jul 23, 10:07 pm, Clay Hobbs <[EMAIL PROTECTED]> wrote: > I need a tutorial for PyOpenGL (specifically, to be used with wxPython). > I searched with Google and didn't find one.  Does anybody know where one > is? PyOpenGL is just a wrapper for OpenGL. The API is identical. Do you need an OpenGL

Re: PyOpenGL Tutorial?

2008-07-25 Thread Mike C. Fletcher
arsyed wrote: ... Also, see: http://www.siafoo.net/browse?keyword_id=245 But note regarding the second tutorial there that the PyOpenGL 3.x *does* supply wrappers for most publicly known extensions, so you shouldn't have to create your own wrappers for them any more. There's also tutorial

Re: PyOpenGL Tutorial?

2008-07-23 Thread arsyed
On Wed, Jul 23, 2008 at 4:07 PM, Clay Hobbs <[EMAIL PROTECTED]> wrote: > I need a tutorial for PyOpenGL (specifically, to be used with wxPython). > I searched with Google and didn't find one. Does anybody know where one > is? > > -- Ratfink > > -- > http://mail.python.org/mailman/listinfo/python-l

Re: [PyOpenGL-Users] glGenLists returns 0

2008-05-17 Thread Gary Herron
Astan Chee wrote: Hi, Im trying to do glGenLists while a program is running and it keeps returning 0 and whenever I try to do a glCallList, it fails with a 'invalid value' error. Is this a known issue? why would my program give valid glGenList while being initialized but not while it is runnin

Re: PyOpenGL

2008-02-04 Thread Mike C. Fletcher
[EMAIL PROTECTED] wrote: > Hi all, > > I apologize if this question was already answered before but I was > unable to find a proper solution to my problem. Anyways, I am trying > to run shaderobjects.py on Windows (Python 2.5.1) by just double- > clicking, and I got the following error: > > [...] >

Re: PyOpenGL

2008-02-04 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Hi all, > > I apologize if this question was already answered before but I was > unable to find a proper solution to my problem. Anyways, I am trying > to run shaderobjects.py on Windows (Python 2.5.1) by just double- > clicking, and I got the following error: > > [...

Re: PyOpenGL, wxPython weird behaviour

2008-01-03 Thread Adeola Bannis
Thanks, will do... On Jan 3, 2:07 pm, [EMAIL PROTECTED] wrote: > On Jan 3, 11:50 am, Adeola Bannis <[EMAIL PROTECTED]> wrote: > > > > > Hi everyone, > > > I'm doing a project using wxPython and pyopengl, and I seem to have a > > problem rendering textures. This is code that worked before my hard >

Re: PyOpenGL, wxPython weird behaviour

2008-01-03 Thread kyosohma
On Jan 3, 11:50 am, Adeola Bannis <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm doing a project using wxPython and pyopengl, and I seem to have a > problem rendering textures. This is code that worked before my hard > drive had a meltdown, but not since I re-installed everything. > > I've deter

Re: PyOpenGL without SetupTools

2007-10-01 Thread seb . haase
Are there PyOpenGL 2.0 (I guess 2.0.1.09 is goood) binaries available for Python 2.5 ? Anywhere ? Thanks for the reply -Sebastian Haase On Oct 1, 11:49 am, Carl Banks <[EMAIL PROTECTED]> wrote: > On Oct 1, 4:04 am, [EMAIL PROTECTED] wrote: > > > > > Hi, > > I am distributing a package with a

Re: PyOpenGL without SetupTools

2007-10-01 Thread Carl Banks
On Oct 1, 4:04 am, [EMAIL PROTECTED] wrote: > Hi, > I am distributing a package with a precompiled collection of modules > and packages useful for Python based medical/biological/astronomical > image analysis and algorithm development. (Codename: Priithon). > For Priithon I put all modules/packages

Re: pyopengl vs directpython

2007-02-28 Thread Gigs_
thanks hey, is there any good tutorial for directpython? or maybe you could suggest me the book -- http://mail.python.org/mailman/listinfo/python-list

Re: pyopengl vs directpython

2007-02-28 Thread sturlamolden
On Feb 28, 2:59 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > OpenGL is platform-agnostic. If you ever want to reach people on linux or > macs, use that. > > Beyond that I've got no idea which is technically superior - but John > Carmack seems to favor OpenGL :) To ask which is better, Open

Re: pyopengl vs directpython

2007-02-28 Thread Diez B. Roggisch
Gigs_ wrote: > can someone tell me which is better for making 3d game in python. > something like tennis simulation OpenGL is platform-agnostic. If you ever want to reach people on linux or macs, use that. Beyond that I've got no idea which is technically superior - but John Carmack seems to fav

Re: pyopengl glShaderSourceARB error

2006-12-09 Thread Mike C. Fletcher
joroy wrote: > Hi all, > > I think this is ctypes related but how can I call the glShaderSourceARB > function? > > The function have this header: > > glShaderSourceARB( GLhandleARB(shaderObj), GLsizei(count), > POINTER(arrays.GLcharARBArray)(string), GLintArray(length) ) -> None > > I call the func

Re: PyOpenGL pour python 2.5 ???

2006-09-25 Thread Sébastien Ramage
good news ! thank for links to the blog, very usefull now I have to wait seb -- http://mail.python.org/mailman/listinfo/python-list

Re: PyOpenGL pour python 2.5 ???

2006-09-25 Thread Ziga Seilnacht
Sébastien Ramage wrote: > oh! > sorry, I made some search on comp.lang.python and fr.comp.lang.python > and finally I forgot where I was... > > My question is : > how use pyopengl with python 2.5 ?? > it seems that pyopengl was stop on 2005 PyOpenGL is still maintained, but most of the development

Re: PyOpenGL pour python 2.5 ???

2006-09-25 Thread andychambers2002
Sébastien Ramage wrote: > oh! > sorry, I made some search on comp.lang.python and fr.comp.lang.python > and finally I forgot where I was... > > My question is : > how use pyopengl with python 2.5 ?? > it seems that pyopengl was stop on 2005 Have a look at this thread. I think with pyopengl you'l

Re: PyOpenGL pour python 2.5 ???

2006-09-25 Thread Sébastien Ramage
oh! sorry, I made some search on comp.lang.python and fr.comp.lang.python and finally I forgot where I was... My question is : how use pyopengl with python 2.5 ?? it seems that pyopengl was stop on 2005 I'm on windows and I've not tools to recompile pyopengl for python 2.5 (thinking recompilation

Re: PyOpenGL pour python 2.5 ???

2006-09-25 Thread Bruno Desthuilliers
Sébastien Ramage wrote: > Bonjour à tous, Hi Sébastien. Wrong newsgroup, I'm afraid - either repost here in english, or post to fr.comp.lang.python... -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[EMAIL PROTECTED]'.split('@')])" -- htt

Re: pyOpenGL tom demo segmentation fault

2006-07-26 Thread Steve Holden
matthew wrote: > Hi, > > I have Python 2-4-2, > Numpy 24.2, and PyOpenGL-2.0.2.01 install, along with glut 3.7. > > The 1st 'funny' thing is that I always seem to get two pythons in > /usr/local/bin, ie python and python2.4. These are exactly the same > timestamp and size. > That's probably be

Re: PyOpengl text rendering with autocad font

2005-12-15 Thread Mike C. Fletcher
Marco wrote: >I must use text in Opengl, Python >This text is for architecture design then I need to use AutoCad fonts >(extension .shx). >I have two troubles: > >I don't find a guide, a good program, something for use any kind of >fonts in PyOpengl. The nehe tutorial has some bugs in translation

Re: PyOpenGL

2005-08-10 Thread Mike C. Fletcher
[EMAIL PROTECTED] wrote: >Hey I'm a programmer looking to port some of my opengl ...although >limited into a python app I've made... I'd like to know where to find >any python/opengl source or a tutorial etc.. whatever I'd like to get a >series of points that represent a 3d slope presented to the

Re: PyOpenGL

2005-08-10 Thread Thomas Moore
> Hey I'm a programmer looking to port some of my opengl ...although > limited into a python app I've made... I'd like to know where to find > any python/opengl source or a tutorial etc.. whatever I'd like to get a > series of points that represent a 3d slope presented to the user. Try wxPython. -

Re: pyopenGL: glutInit : TypeError: not a list

2005-03-29 Thread Rakesh
After some playing around, here is how my code looks like and it works: from OpenGL.GL import * from OpenGL.GLUT import * import sys def init(): glClearColor(0, 0, 0, 0) glMatrixMode(GL_PROJECTION) glLoadIdentity() glLightfv(GL_LIGHT0, GL_AMBIENT, [0.0, 0.0, 0.0, 1.0]) glLightf

Re: pyopengl and py2exe

2005-03-22 Thread woodsman
You excluded them, so they're going to be missing as far as it is concerned. When you copy the OpenGL directory as per the instructions, it should work fine. Does it? -- http://mail.python.org/mailman/listinfo/python-list