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
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.
เมื่อ วันอาทิตย์ที่ 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
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
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
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
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
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
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
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
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
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 wh
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
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
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
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
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
>
> 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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 --
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
[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:
>
> [...
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
(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.
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
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.
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 mainta
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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.
-
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:/
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
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
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,
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
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
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
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
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
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
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 - 100 of 102 matches
Mail list logo