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 the OpenGL-holding widget. If you're using
Pygame, see Pygame's display module. If wxPython, see their GLcanvas
object. If GLUT, see glutInitDisplay Mode, etceteras.
Good luck,
Mike
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
hardware surface, but I may be wrong. Thank you for the help so far,
--Ratfink 1 1420
On Oct 6, 11:45*am, Clay Hobbs <c...@lakeserv. netwrote:
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 helpful (hardware, OS, what doesn't work, etc...) http://wiki.wxpython.org/DoubleBufferedDrawing
David This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jimmy Johns |
last post by:
Hi, why hasn't there a version of pyOpenGL for python 2.3.x yet? Currently
the binary installers for windows only work with python 2.2, and will give
an when installing for python 2.3. I can't build it either unless I build
python 2.3 from source as well. Is there a work around available?? Thanks
in advance.
-s
|
by: Steven Gutstein |
last post by:
This is probably a fairly newbie type problem, but I'm trying to use
PyOpenGL, and don't seem to have installed it correctly.
I'm running Python 2.3 on a Windows NT machine. Whenever I go into IDLE and
type
from OpenGL.GL import *
I get a flagrant crash which shuts down IDLE.
|
by: Erik Max Francis |
last post by:
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,
but I don't see any way within PyOpenGL itself to access the select
buffer to actually process the hits. Is there any way to do this
without using...
|
by: Sébastien Ramage |
last post by:
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 2005 ? plus rien ne
bouge sur le site...
je suis sous windows et je ne dispose pas des outils pour faire moi
|
by: joroy |
last post by:
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
| |
by: sweetmelon |
last post by:
(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
|
by: shirish |
last post by:
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 unanswered.
http://sourceforge.net/mailarchive/forum.php?thread_name=511f47f50704260036y2888db21p5cf650a7e472559b%40mail.gmail.com&forum_name=pyopengl-users...
|
by: seb.haase |
last post by:
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 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...
|
by: Colin J. Williams |
last post by:
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 --dist-dir
c:\docume~1\cjw\locals~1\temp\easy_install-hjyff7\PyOpenGL-3.0.0b3\egg-dist-tmp-iqd53p
|
by: Clay Hobbs |
last post by:
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
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |