Re: pip install PyOpenGL have problem

2014-09-08 Thread Michael Torrie
On 09/08/2014 08:18 PM, Michael Torrie wrote: > On 09/06/2014 11:15 PM, วรรณพงษ์ ภัททิยไพบูลย์ wrote: >> pip install -U PyOpenGL PyOpenGL_accelerate >> :( > > I don't recognize that particular error message... > > If you require assistance you need to co

Re: pip install PyOpenGL have problem

2014-09-08 Thread Michael Torrie
On 09/06/2014 11:15 PM, วรรณพงษ์ ภัททิยไพบูลย์ wrote: > pip install -U PyOpenGL PyOpenGL_accelerate > :( I don't recognize that particular error message... If you require assistance you need to copy and paste the output from the command so people can know exactly what failed.

Re: pip install PyOpenGL have problem

2014-09-06 Thread วรรณพงษ์ ภัททิยไพบูลย์
เมื่อ วันอาทิตย์ที่ 7 กันยายน ค.ศ. 2014, 12 นาฬิกา 8 นาที 34 วินาที UTC+7, วรรณพงษ์ ภัททิยไพบูลย์ เขียนว่า: > I using Windows 8.1 64 Bit. Python 3.4.1 32 Bit. > > I want to install the PyOpenGL. By http://pyopengl.sourceforge.net/. > > > > pip install PyOpenGL have

pip install PyOpenGL have problem

2014-09-06 Thread วรรณพงษ์ ภัททิยไพบูลย์
I using Windows 8.1 64 Bit. Python 3.4.1 32 Bit. I want to install the PyOpenGL. By http://pyopengl.sourceforge.net/. pip install PyOpenGL have problem I using pip but have problem. pip Log https://gist.github.com/wannaphongcom/aa037e92368b61495be6 -- https://mail.python.org/mailman/listinfo

pyOpenGL Error unable to detect undefined names

2010-12-02 Thread Ron
Hello, I am trying to use pyOpenGL and I keep getting the following errors: Traceback (most recent call last): File "C:\Temp\Python\OpenGL_Test.py", line 10, in from OpenGL.GLU import * File "C:\Python26\lib\site-packages\OpenGL\GLU\__init__.py", line 4, in

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

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 ar

Re: [PyOpenGL-Users] Mouse wheel events?

2010-02-08 Thread Gary Herron
an be used with Python. I'll look into it. Thanks for the pointer! Yes, easily. PyOpenGL has bindings for all the procedures in GLUT/FREEGLUT. Just tell PyOpenGL to use the freeglut library instead, or even just copy freeglut (.dll or .so or whatever) over your existing glut library (gl

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
0 at 19:48, Craig Berry wrote: Is there any way to get mouse wheel events from glut in PyOpenGL? -- Craig Berry - http://www.cine.net/~cberry/ "Lots of things in the universe don’t solve any problems, and nevertheless exist." -- Sean Carroll Didn't I answer this

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

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 wh

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

PyOpenGL and graphics card support

2009-10-01 Thread jefm
OpenGL newbie alert!!! Do I need to do anything special to use OpenGL capabilities of my graphics card ? I have the impression PyOpenG is using the Windows emulation. when I execute the following code: print "glGetString - GL_VENDOR: ", glGetString (GL_VENDOR) print "glGetString

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 ctype

Re: About PyOpenGL

2009-01-05 Thread trueli...@gmail.com
gt; >     main() > >   File "test.py", line 26, in main > >     glutInit(sys.argv) > >   File "c:\python25\lib\site-packages\PyOpenGL-3.0.0b8-py2.5-win32.egg > > \OpenGL\GLUT\special.py", line 316, in glutInit > >     _base_glutInit( ctype

Re: About PyOpenGL

2009-01-05 Thread Rob Williscroft
it(sys.argv) > File "c:\python25\lib\site-packages\PyOpenGL-3.0.0b8-py2.5-win32.egg > \OpenGL\GLUT\special.py", line 316, in glutInit > _base_glutInit( ctypes.byref(count), holder ) > File "c:\python25\lib\site-packages\PyOpenGL-3.0.0b8-py2.5-win32.egg &g

Re: About PyOpenGL

2009-01-05 Thread Cousin Stanley
> > OpenGL.error.NullFunctionError: Attempt to call an undefined function > __glutInitWithExit, check for bool(__glutInitWithExit) before calling > > Can anyone please tell me why? Your opengl program runs exactly as coded without error under Debian 5.0 Linux Lenny Perhaps a req

About PyOpenGL

2009-01-05 Thread trueli...@gmail.com
uot;test.py", line 36, in main() File "test.py", line 26, in main glutInit(sys.argv) File "c:\python25\lib\site-packages\PyOpenGL-3.0.0b8-py2.5-win32.egg \OpenGL\GLUT\special.py", line 316, in glutInit _base_glutInit( ctypes.byref(count), holder ) File &qu

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-08 Thread Terry Reedy
illume wrote: On Dec 8, 7:31 pm, alex23 <[EMAIL PROTECTED]> wrote: On Dec 8, 2:26 pm, illume <[EMAIL PROTECTED]> wrote: pygame is simpler to learn, since it doesn't require you to know how to create classes or functions. I'm not sure if I'd be quick to tout that as an advantage... :) Hi, I

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-08 Thread illume
On Dec 8, 8:59 pm, alex23 <[EMAIL PROTECTED]> wrote: > On Dec 8, 7:18 pm, illume <[EMAIL PROTECTED]> wrote: > > > It's easier to teach only requiring *using* classes, and functions > > than *creating* them.  This is important if it's being used to teach > > programming - as you don't need to teach

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-08 Thread Pierre-Alain Dorange
illume <[EMAIL PROTECTED]> wrote: > pygame is also much more portable, has more people using it, has more > developers, and a stable API. Code you wrote 5 years ago will most > likely still work. Code you wrote for older versions of pyglet will > not work without changes. I'm a new python and p

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-08 Thread alex23
On Dec 8, 7:18 pm, illume <[EMAIL PROTECTED]> wrote: > It's easier to teach only requiring *using* classes, and functions > than *creating* them.  This is important if it's being used to teach > programming - as you don't need to teach people two fairly large > concepts before you can do anything.

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-08 Thread illume
On Dec 8, 7:31 pm, alex23 <[EMAIL PROTECTED]> wrote: > On Dec 8, 2:26 pm, illume <[EMAIL PROTECTED]> wrote: > > > pygame is simpler to learn, since it doesn't require you to know how > > to create classes or functions. > > I'm not sure if I'd be quick to tout that as an advantage... :) Hi, It's e

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-08 Thread James Mills
On Mon, Dec 8, 2008 at 6:31 PM, alex23 <[EMAIL PROTECTED]> wrote: > On Dec 8, 2:26 pm, illume <[EMAIL PROTECTED]> wrote: >> pygame is simpler to learn, since it doesn't require you to know how >> to create classes or functions. > > I'm not sure if I'd be quick to tout that as an advantage... :) Ne

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-08 Thread alex23
On Dec 8, 2:26 pm, illume <[EMAIL PROTECTED]> wrote: > pygame is simpler to learn, since it doesn't require you to know how > to create classes or functions. I'm not sure if I'd be quick to tout that as an advantage... :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-07 Thread illume
hello, PyOpenGL also has a raw module which includes python bindings closer to the C calls... however mostly you want to use the nicer more pythonic versions of functions. Recent pyopengl 3.x versions have been optimized for speed, including optional C level optimizations. So I imagine they are

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-07 Thread alex23
On Dec 8, 11:23 am, [EMAIL PROTECTED] wrote: > Does pyglet use PyOpenGL as its OpenGL wrapper? If not, any idea why? > Seems like it would be a fairly substantial duplication of effort. Taken from: http://groups.google.com/group/pyglet-users/msg/832b15389fccd28d >> IIRC pyglet tries

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-07 Thread excord80
On Dec 7, 8:17 pm, "Patrick Mullen" <[EMAIL PROTECTED]> wrote: > On Sun, Dec 7, 2008 at 4:43 PM,  <[EMAIL PROTECTED]> wrote: > > [snip] > PyOpengl - an opengl wrapper.  Version 2 is written in c, version 3 > instead uses ctypes > Pyglet - an opengl + ev

Re: Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-07 Thread Patrick Mullen
On Sun, Dec 7, 2008 at 4:43 PM, <[EMAIL PROTECTED]> wrote: > Trying to decide which to get started with. Can anyone suggest some > pros and cons to each of them? > > Would PyOpenGL be in the same camp as Pygame and pyglet? Do either of > Pygame or pyglet make use of PyOpe

Strengths and weaknesses of Pygame vs. pyglet vs. PyOpenGL?

2008-12-07 Thread excord80
Trying to decide which to get started with. Can anyone suggest some pros and cons to each of them? Would PyOpenGL be in the same camp as Pygame and pyglet? Do either of Pygame or pyglet make use of PyOpenGL behind the scenes? -- http://mail.python.org/mailman/listinfo/python-list

PyOpenGL + wxPython developer needed

2008-11-04 Thread Clay Hobbs
I am working on a map editor for BZFlag (http://www.bzflag.org/), and I need help. Mostly, all I need help on is 3D rendering. I know nothing about OpenGL, so if you do, your help would be appreciated. The program I am making is called RatBZEdit (http://ratbzedit.sourceforge.net/). If you are i

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

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 disp

PyOpenGL double-buffered hardware surface

2008-10-05 Thread Clay Hobbs
How do I create a double-buffered hardware surface with PyOpenGL? I knew how to once, but forgot. --Ratfink -- http://mail.python.org/mailman/listinfo/python-list

Re: Some questions about PyOpenGL and wxPython

2008-09-21 Thread Mike C. Fletcher
Clay Hobbs wrote: I am making a program with wxPython that renders objects in 3D using PyOpenGL, and I am having some problems. For one thing, I forgot how to make a double-buffered hardware surface. http://bazaar.launchpad.net/~mcfletch/openglcontext/trunk/annotate/1?file_id=wxcontext.py

Some questions about PyOpenGL and wxPython

2008-09-21 Thread Clay Hobbs
I am making a program with wxPython that renders objects in 3D using PyOpenGL, and I am having some problems. For one thing, I forgot how to make a double-buffered hardware surface. For another thing, glColor(1.0, 0.0, 0.0) just before the rendering doesn't make the object red. Please help

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

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

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

PyOpenGL Tutorial?

2008-07-23 Thread Clay Hobbs
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-list

PyOpenGL New Installation

2008-06-23 Thread Colin J. Williams
I have just installed PyOpenGL and get a series of warning messages: Best match: PyOpenGL 3.0.0b3 Downloading http://downloads.sourceforge.net/pyopengl/PyOpenGL-3.0.0b3.zip?modtime=1213363873&big_mirror=0 Processing PyOpenGL-3.0.0b3.zip Running PyOpenGL-3.0.0b3\setup.py -q bdist_egg --

Re: [PyOpenGL-Users] glGenLists returns 0

2008-05-17 Thread Gary Herron
hile it is running? IIRC, this can happen if you call glGenLists *before* you create any windows (or perhaps more accurately, before an OpenGL context has been created). Im using wx to create a new pygame thread that uses pyopengl. This is the glGenList snippet: dlBody = gl

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: > > [...

PyOpenGL

2008-02-04 Thread [EMAIL PROTECTED]
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: [...] File "/usr/lib/python2.5/site-packages/O

using pyopengl 3.0.0b1 with py2exe

2008-01-16 Thread Sébastien Ramage
Hi ! How can I make an exe that use the new pyopengl 3.0.0b1 ??? I use py2exe 0.6.6 with the 3.0.0a6 version I have make it working by copying the egg and by forcing loading it at the start of the app but it doesn't work with this version py2exe correctly detect it and include it in the ap

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 textu

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

PyOpenGL, wxPython weird behaviour

2008-01-03 Thread Adeola Bannis
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 determined the problem is in the OpenGL part of my program.

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

Re: PyOpenGL without SetupTools

2007-10-01 Thread Carl Banks
put all modules/packages in a simple / single directory > (tree) including one starting batch/script file. This script sets up > PYTHONPATH to find modules at this place. > It works fine for Windows,Linux and Mac-OSX. > > Now I want to upgrade everything to Python 2.5 and thought it might &g

PyOpenGL without SetupTools

2007-10-01 Thread seb . haase
starting batch/script file. This script sets up PYTHONPATH to find modules at this place. It works fine for Windows,Linux and Mac-OSX. Now I want to upgrade everything to Python 2.5 and thought it might be time get PyOpengl version 3 (aka. pyOpengl-ctypes). The problem at hand is now that

Re: Call for advice on how to start PyOpenGL!

2007-08-21 Thread John
On Aug 20, 1:53 am, math2life <[EMAIL PROTECTED]> wrote: > I work with python for two years, are familiar with image processing, > but beginner on PyOpenGL and OpenGL. > > Any advice appreciated! Here's a little "hello world" PyOpenGL program I had lying a

Re: Call for advice on how to start PyOpenGL!

2007-08-20 Thread Mike C. Fletcher
math2life wrote: > I work with python for two years, are familiar with image processing, > but beginner on PyOpenGL and OpenGL. > > Any advice appreciated! > As has been mentioned, the NeHe tutorials[1] are a good starting point. There are (multiple) translations of the first 8

Re: Call for advice on how to start PyOpenGL!

2007-08-20 Thread Richard Jones
Diez B. Roggisch wrote: > math2life wrote: > >> I work with python for two years, are familiar with image processing, >> but beginner on PyOpenGL and OpenGL. >> >> Any advice appreciated! > > You should check out the pyweek (http://www.pyweek.org/). There yo

Re: Call for advice on how to start PyOpenGL!

2007-08-20 Thread Diez B. Roggisch
math2life wrote: > I work with python for two years, are familiar with image processing, > but beginner on PyOpenGL and OpenGL. > > Any advice appreciated! You should check out the pyweek (http://www.pyweek.org/). There you find pygame & OpenGL-based games, of a comprehens

Call for advice on how to start PyOpenGL!

2007-08-20 Thread math2life
I work with python for two years, are familiar with image processing, but beginner on PyOpenGL and OpenGL. Any advice appreciated! -- http://mail.python.org/mailman/listinfo/python-list

Python+Pygame+PyopenGL all in one package?

2007-05-01 Thread shirish
Hi all, Is it possible to have Python+Pygame+PyOpenGL in one compact package so people can play the games released at pyweek.org . I have been having a hard time getting the whole thing on windows as well as linux (Ubuntu 7.04) . Strangely, my pleas for the same on pyopengl have gone

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

pyopengl vs directpython

2007-02-28 Thread Gigs_
can someone tell me which is better for making 3d game in python. something like tennis simulation thx -- http://mail.python.org/mailman/listinfo/python-list

Re: Saving PyOpenGl figures as ps

2007-02-11 Thread Mike C. Fletcher
Frank wrote: > Hi, > > I installed pyopengl (opengl for python) on my linux box and > everything works fine. But now I want to save the generated images as, > e.g., ps or eps. How can I do that and how can I adjust the resolution > (if necessary)? This is probably simple but for

Re: Saving PyOpenGl figures as ps

2007-02-11 Thread Vasily Sulatskov
On Feb 12, 3:11 am, "Frank" <[EMAIL PROTECTED]> wrote: > Hi, > > I installed pyopengl (opengl for python) on my linux box and > everything works fine. But now I want to save the generated images as, > e.g., ps or eps. How can I do that and how can I adjust the resol

Saving PyOpenGl figures as ps

2007-02-11 Thread Frank
Hi, I installed pyopengl (opengl for python) on my linux box and everything works fine. But now I want to save the generated images as, e.g., ps or eps. How can I do that and how can I adjust the resolution (if necessary)? This is probably simple but for some reason I can not find out how to do

[pyOpenGL]Demo cannot run on Python2.5

2006-12-24 Thread sweetmelon
(I'm a newbie in Python and pyOpenGL.) Environment: WinXP SP2 Python ver. 2.5 WingIDE easy_install is installed PIL, pyNum is installed Download PyOpenGL-3.0.0a5-py2.5.egg run: easy_install PyOpenGL-3.0.0a5-py2.5.egg pyOpenGL is installed in D:\Python25\Lib\site-packages\PyOpenGL-3.0.0a5-py2.

Re: pyopengl glShaderSourceARB error

2006-12-09 Thread Mike C. Fletcher
h) ) -> None > > I call the function with someting like: glShaderSourceARB(self._object, > 1, sourceString, 1) > > The error is > "expected LP_GLcharArray instance instead of str" > > In fact I don't have any information on how to use this function. > This

pyopengl glShaderSourceARB error

2006-12-05 Thread joroy
ike: glShaderSourceARB(self._object, 1, sourceString, 1) The error is "expected LP_GLcharArray instance instead of str" In fact I don't have any information on how to use this function. This is the last version of pyopengl available on the CVS (PyOpenGL-3.0.0a5-py2.5.egg) -- http://mail.

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 mainta

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.

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

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

PyOpenGL pour python 2.5 ???

2006-09-25 Thread Sébastien Ramage
Bonjour à tous, Dans la folie j'ai installé le nouveau python, impatient de voir les nouveautés mais je pense que j'ai été un peu rapide car j'ai voulu utiliser pyOpenGL et là problème il n'existe pas pour python 2.5 ?!!! de plus il semble que pyopengl est été abandonné depuis

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

pyOpenGL tom demo segmentation fault

2006-07-26 Thread matthew
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. The other problem is that the demos

Re: wxGlade, wxPython.... pyOpenGL wxWidget?

2006-02-26 Thread physci
Ok, I initially thought the Tkinter route would be too "low level" (Ha, low level python), but I noticed a link to VTK which looks promising. Thanks for your quick reply! Derek. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxGlade, wxPython.... pyOpenGL wxWidget?

2006-02-26 Thread Karsten W.
PyOpenGL comes with a Tkinter widget for OpenGL, and searching google "wxwidgets opengl" yields http://www.wxwidgets.org/opengl.htm Kind regards, Karsten. -- http://mail.python.org/mailman/listinfo/python-list

wxGlade, wxPython.... pyOpenGL wxWidget?

2006-02-26 Thread physci
I've been combing google for the past week trying to find an appropriate set of tools for a project I'm working on. Simply put, what I need is a GUI, powered by python, (I really don't want to touch any C++ code at all), that has an openGL canvas/scene(?), with a python interpreter sitting beside

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 ha

PyOpengl text rendering with autocad font

2005-12-15 Thread Marco
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 to Python. I ne

about pyopengl

2005-10-03 Thread shanjunxu
I am a chinese boy,my english is not good,so i don not know how to tell you about my question,i hope you can understand what i say. I like python, and now i using pyopengl to draw three-dimensional. but how can i use mouse to control objects?such as selecting object.I know a function

about pyopengl

2005-10-03 Thread shanjunxu
I am a chinese boy,my english is not good,so i don not know how to tell you about my question,i hope you can understand what i say. I like python, and now i using pyopengl to draw three-dimensional. but how can i use mouse to control objects?such as selecting object.I know a function

Off-screen rendering in PyOpenGL?

2005-08-17 Thread Matt Feinstein
Poking around in the PyOpenGL tarball... I can see that the wrapper for the WGL pixel format function includes flags for rendering to a bitmap and for hardware acceleration... so maybe I could get hardware-accelerated off-screen rendering under win32.. but what about linux? Matt Feinstein

Re: PyOpenGL

2005-08-10 Thread Mike C. Fletcher
sent a 3d slope presented to the user. > >Thanks >Matt > > That'd a fairly simple demo; you'll find a "big brother" of it in the "dots" demo with PyOpenGL (which is a particle system composed of dots (points)). OpenGLContext has a number of demos

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

PyOpenGL

2005-08-10 Thread matt . walsh
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. Thanks Matt -- http:/

Re: Selection, picking with PyOpenGL?

2005-07-30 Thread Erik Max Francis
Mike C. Fletcher wrote: > I think you're missing what's returned from the glRenderMode code (which > is non-standard OpenGL, to avoid the need for Python code using and > decoding structured pointers), from OpenGLContext: I was indeed. I was looking at the text description, which, like the Op

Re: Selection, picking with PyOpenGL?

2005-07-30 Thread Mike C. Fletcher
Erik Max Francis wrote: >I was interesting in adding selection and hit testing to ZOE, and was >looking at the PyOpenGL wrappers' handling of selection and picking. I >see glSelectBuffer to specify the size of the buffer, and glRenderMode >properly returns the number of h

Selection, picking with PyOpenGL?

2005-07-29 Thread Erik Max Francis
I was interesting in adding selection and hit testing to ZOE, and was looking at the PyOpenGL wrappers' handling of selection and picking. I see glSelectBuffer to specify the size of the buffer, and glRenderMode properly returns the number of hits when put back into GL_RENDER mode,

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

pyopenGL: glutInit : TypeError: not a list

2005-03-29 Thread Rakesh
error. C:\>python usenetviz.py Traceback (most recent call last): File "usenetviz.py", line 31, in ? glutInit(' ') TypeError: not a list I run MS Windows (XP - SP 2) I run Python 2.4 and the latest version of PyOpenGL compatible with the same. Please let me know what

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

pyopengl and py2exe

2005-03-21 Thread Kirill Kuvaldin
Hello All! My program in python uses PyOpenGL and I need to convert it to a standalone windows executable file. Following to these instructions (http://pyopengl.sourceforge.net/documentation/py2exe.html) I've put PyOpenGL package to a directory where my program was placed. and run the s

PyOpenGL issues (glutGetModifiers())

2005-03-06 Thread Timo Finnilä
Hi, I'm having some weird issues with Python 2.4 and PyOpenGL 2.0.2.01 (and also with older versions). When I call glutGetModifiers from event handler functions (set using glutMouseFunc, glutMotionFunc etc...), it just says: "GLUT: Warning in foo: glutCurrentModifiers: do not call ou

Using PyOpenGL what should I use for a GUI ?

2005-02-26 Thread Gilles Leblanc
Hi I have started a small project with PyOpenGL. I am wondering what are the options for a GUI. So far I checked PyUI but it has some problems with 3d rendering outside the Windows platform. I know of WxPython but I don't know if I can create a WxPython window, use gl rendering code in i

Re: Pygame and pyopengl with py2exe ?

2005-01-09 Thread Nyx42
Same problem: the window closes immediately. For the first program, I precise that the "pygame window" opens also. -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >