*2009.12.04 17:33:08 python pyglet

#this has general introduction, instructions, etc (this file) /c/technical/python/pyglet.txt

 

*2009.12.04 17:29:51 python pyglet

Pyglet is available at: pyglet.org

I download the latest distribution and put it: /c/downloads/python/pyglet-1.1.3/

the documentation included with pyglet is fantastic

the html docs start at: file:///c/downloads/python/pyglet-1.1.3/doc/html/index.html

System Message: ERROR/3 (<string>, line 14)

Unexpected indentation.
( CopyAllUrls will not load local (file:///) links )

Docs are also available online if you have access:

examples are a great place to start. they are located at: cd /c/downloads/python/pyglet-1.1.3/examples

also [2009.12.04 17:31:26] other related files for notes:

#this is used primarily for links and current (specific) notes /c/technical/python/pyglet/links.txt

/c/technical/python/pyglet/simplui.txt /c/technical/python/gui.txt

#sample files:

#this is a good file for getting a window to show up using only pyglet: /c/charles/code/python/pyglet/sample.py #try running it via command line! should see a white window

#this demo is based off of simplui: /c/charles/code/python/pyglet/browser/demo.py

 

*2009.12.04 16:57:04 python pyglet simplui
*2009.10.08 08:57:43 python pyglet

no generalized notes for using pyglet granted the documentation included with pyglet is fantastic should still be some reference to where to look first which parts are best and where those docs live if downloaded locally.

notes are also scattered about in various scripts and libraries. need to distill lessons learned

 

*2009.08.18 10:01:11 python pyglet links collision detection pymunk
*2009.08.10 11:00:13 python pyglet links misc
*2009.07.08 11:16:11 python pyglet links colors

remember that colors are (usually) specified as floating point numbers with values between 0 and 1.0

 

*2009.06.26 13:51:36 python pyglet links
*2009.06.26 13:02:56 python pyglet links reference
*2009.06.16 22:06:51 python graphs_trees_hierarchy graphing graphviz gvgen svg pyglet
*2009.06.16 11:42:56 python pyglet links reference
*2009.06.11 13:09:59 python pyglet links delete resource release memory
*2009.06.11 11:09:16 python pyglet links avbin ffmpeg
*2009.06.09 13:42:50 python pyglet links audio playback macosx mac avbin player

when playing back media on mac, make sure you are using a terminal associated with the currently logged in user!! using a different user will allow the video to show up

 

*2009.06.03 11:23:34 python pyglet links gui research
*2009.06.01 17:47:39 python pyglet links gui pygame

pygame developers strongly discourage using QT, wxWindows mixed with pygame... might be able to get away with it in pyglet, but still have the two event loop issues.

 

*2009.06.01 17:13:40 python pyglet links multitouch

seems like multitouch may need it's own category... not sure where it should live yet.

 

*2009.06.01 17:13:17 python pyglet links multitouch andriod
*2009.06.01 16:57:26 python pyglet links ui gui library
*2009.05.29 16:34:44 python pyglet links reboot fullscreen

be sure to add in a way to exit the program if you enable fullscreen mode! will lock out everything else if you don't!! hehe... oops reboot

 

*2009.05.19 10:58:26 python pyglet links cocos2d
*2009.05.05 11:05:20 python pyglet links observer_pattern

investigating the "Observer Pattern" used in the event framework for pyglet very similar to asynchronous

 

*2009.05.04 11:53:49 python pyglet links local references minimal
*2009.04.28 18:05:57 python pyglet links gui
*2009.04.28 18:05:30 python pyglet links gui
pyglet gui - Google Search
irskep's pyflipcard at master - GitHub
Entity Crisis: The Embedded GUI, continued...
Richard Jones' Log
pyglet - Google Code
pyglet-users | Google Groups
GUI - pyglet-users | Google Groups
pyglet experimental gui - pyglet-users | Google Groups
My simple GUI library for Pyglet - pyglet-users | Google Groups
Using Pyglet in a rich GUI - pyglet-users | Google Groups
controling a pyglet window from a gui program - pyglet-users | Google Groups
pyglet ui toolkit (maybe a mini-sprint here at pycon?) - pyglet-users | Google Groups
normal python widgets and pyglet - pyglet-users | Google Groups
DESIGN - pyglet - Google Code
Deviceconf
pyglet.text.layout.IncrementalTextLayout
Simple Menu Class - pyglet-users | Google Groups
Pages - pyglet-users | Google Groups

 

*2009.04.23 15:52:28 python pyglet links images buffers large_images

some issues with images in pyglet if they are too big, they seem to cause problems... maybe bigger than display?

theory supported by: | http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=pyglet+images+bigger+than+window&btnG=Google+Search | pyglet images bigger than window - Google Search | http://groups.google.com/group/pyglet-users/browse_thread/thread/fca05d1f8feed7a1 | direct drawing into a texture - pyglet-users | Google Groups

 

*2009.04.22 16:30:16 python pyglet links vsync

files for pyglet that handle vsync:

/c/virtuals/pyglet/pyglet-1.1.3/pyglet/window/carbon/__init__.py /c/virtuals/pyglet/pyglet-1.1.3/pyglet/gl/agl.py /c/virtuals/pyglet/pyglet-1.1.3/pyglet/window/__init__.py /c/virtuals/pyglet/pyglet-1.1.3/pyglet/app/carbon.py

 

*2009.04.22 16:20:30 python pyglet links tearing sync vsync retrace refresh display screen buffers swap flip
opengl vertical retrace - Google Search
Synchronizing Xvideo to the vertical retrace
opengl vertical refresh - Google Search
Technical Q&A QA1521: Synchronizing OpenGL rendering updates to the vertical refresh of the display
OpenGL @ Lighthouse 3D - GLUT Tutorial
opengl vblank - Google Search
OpenGL sync to vblank and interlaced fields - nV News Forums
Temporal Rate Conversion by Dave Marsh - Google Search
Temporal Rate Conversion: Dave Marsh. Microsoft Technical Evangelist, TV and Video
pyglet swap interval - Google Search
pyglet set_vsync - Google Search
opengl agl - Google Search
AGL Reference
AGL Reference

 

*2009.04.22 11:44:21 python pyglet links vsync

By default pyglet window buffer swaps are synchronised to the display refresh rate, so you may also want to disable set_vsync.

 

*2009.04.21 16:35:29 python pyglet links
*2009.04.14 16:53:13 python pyglet links
: topics
: pyglet.txt
pyglet Documentation Index
Programming Guide
pyglet API reference
Writing a pyglet application
Hello, World
Calling functions periodically
User-editable text
Controlling playback
Playing sounds and music
pyglet.media.Source
pyglet.media.Player
pyglet.media.ManagedSoundPlayer
Image viewer
Animations
pyglet.sprite.Sprite
Loading resources
Graphics

 

*2009.04.14 16:52:38 python pyglet links cocos2d resources
: pyglet.txt
cocos2d
cocos2d-iphone - Google Code
cocos2d
cocos2d FAQ
los-cocos - Revision 853: /branches/pycon-lighting-talk
cocos2d
cocos2d
GamesUsingCocos2d - cocos2d-iphone - Games using cocos2d for iPhone ordered chronologically (newer games first) - Google Code

 

*2009.04.14 14:42:01 python pyglet links cocos2d
*2009.04.14 14:39:34 python pyglet links bruce presentation download
*2009.04.10 09:37:59 python pyglet links references
*2009.04.09 12:00:54 python pyglet links

spent a few hours last night running through the examples included with pyglet. very cool stuff!

 

*2009.04.08 21:00:15 python pyglet links local reference
*2009.04.08 20:58:07 python pyglet links reference local
*2009.04.08 20:01:55 python pyglet links

/c/downloads/python/pyglet-1.1.3/examples python media_player.py /media/CHARLES/outgoing/MVI_8486.AVI

that is a good first test to make sure AVBin is installed locally (have added to media/system/startup-live.sh)

 

*2009.04.06 17:37:16 python pyglet links opengl
*2009.04.06 11:55:30 python pyglet links

pyglet.media.riff.RIFFFormatException: Unsupported RIFF form "AVI "

make sure avbin has been installed on the system

 

*2009.04.06 11:46:49 python pyglet links

#2009.04.06 11:45:36 work@140-182-132-176:/c/virtuals/pyglet/pyglet-1.1.3/examples pythonw image_display.py /c/media/projects/IMG_8116_l.JPG

 

*2009.04.06 11:38:06 python pyglet links virtualenv pythonw bug
pyglet virtualenv - Google Search
pyglet and virtualenv
Re: broken egg for pyglet
Bruce the Presentation Tool 2.0 (beta)
Window manager is not available. Ensure you run "pythonw", not "python" - Google Search
Python for Astrostatistics - Mac OS X Installation
virtualenv pythonw - Google Search
gldnspud's virtualenv-pythonw-osx at master - GitHub
virtualenv on OS X with pythonw - virtualenv | Google Groups
No pythonw on OSX? - virtualenv | Google Groups
Search results for virtualenv pythonw - MarkMail

 

*2009.04.06 11:35:46 python pyglet links general reference
*2009.04.06 10:58:19 python pyglet links

to:ianb@colorstudy.org? I just ran across this issue when trying to use pyglet in a virtual environment on Mac OS X. The message from pyglet was: pyglet.window.carbon.CarbonException: Window manager is not available. Ensure you run "pythonw", not "python"

which lead me to a more recent thread: | http://groups.google.com/group/python-virtualenv/browse_thread/thread/83fa4a12d22a30c8/744e19c194f1618a

which has a fix at: | http://github.com/gldnspud/virtualenv-pythonw-osx/tree/master

I haven't tried the fix yet, but I thought I might send it on to see if it is something that should be included with virtualenv. It's not so much about supporting older versions of python, just being able to use pythonw from a virtualenv.

-Charles

On May 16 2008, 3:12 pm, Ian Bicking <i...@colorstudy.com> wrote: > dmp wrote: > > > On Wed, Apr 16, 2008 at 2:27 PM, Ian Bicking <i...@colorstudy.com > > <mailto:i...@colorstudy.com>> wrote: > > > dmp wrote: > > > Using virtualenv 1.0 I created a virtual environment, installed > > an app > > > that tries to open a GUI dialog, and keep getting the following > > message: > > > > This program needs access to the screen. Please run with 'pythonw', > > > not 'python', and only when you are logged in on the main display of > > > your Mac. > > > > Is there a fix for this yet? I (naively) tried copying the pythonw > > > executable to the virtualenv bin directory but that didn't work. A > > > google search turned up only one useful hit -- from a couple > > months ago > > > where Robert Kern indicated he had a patch that would fix this. Is > > > there a plan to get that into virtualenv at all? > > > I don't see that patch, do you know where it is? > > > I can't believe I didn't at least provide the link to the archived > > message from Robert. Here it is: > > http://www.mail-archive.com/distutils-...@python.org/msg04223.html > > > I'm not sure he ever finished / submitted it. I can ask him tomorrow > > about it though. > > Was there a followup for this? The email describes a fairly complicated > solution, so I'm not sure what to do about it. Supporting older > versions of Python isn't a huge concern in every situation, I think, > because the idea of virtualenv is isolation so that everything doesn't > have to be run on the same set of libraries or Python version. So if > things work okay on Python 2.4 that would be good enough for me. A > warning for users would be nice, but I'm not really sure what's going on > here. > > -- > Ian Bicking : i...@colorstudy.com :http://blog.ianbicking.org

 

*2009.04.06 10:03:57 python pyglet links avbin gstreamer

avbin is used by default in pyglet some discussion about the use of gstreamer in pyglet | http://code.google.com/p/pyglet/wiki/MediaOnLinux | http://www.mechanicalcat.net/richard/log/Python/Say_hello_to_pyglet

gstreamer interface reported to be complex.

 

*2009.04.05 15:15:35 python pyglet links

downloaded source, docs and avbin to USB attempting install for linux

/media/CHARLES/downloads/python/avbin-linux-x86-32-7 sudo bash install.sh

/media/CHARLES/downloads/python/pyglet-1.1.3 sudo python setup.py install

 

*2009.04.03 14:36:09 python presentations bruce pyglet

bruce uses pyglet to display slides via open gl... this works full screen