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
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
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
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
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,
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
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
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
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
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 >=
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
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
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.
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
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
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
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
[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:
>
> [...]
>
[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:
>
> [...
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
>
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
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
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
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
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
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
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
good news !
thank for links to the blog, very usefull
now I have to wait
seb
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
[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
> 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.
-
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
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
38 matches
Mail list logo