pyglet

Hier werden alle anderen GUI-Toolkits sowie Spezial-Toolkits wie Spiele-Engines behandelt.
Antworten
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

("Abgetrennt" von http://www.python-forum.de/viewtopic.ph ... 43#p278243 )
pyglet: a cross-platform windowing and multimedia library for Python.

pyglet provides an object-oriented programming interface for developing games and other visually-rich applications for Windows, Mac OS X and Linux.

Some of the features of pyglet are:

No external dependencies or installation requirements. For most application and game requirements, pyglet needs nothing else besides Python, simplifying distribution and installation.
Take advantage of multiple windows and multi-monitor desktops. pyglet allows you to use as many windows as you need, and is fully aware of multi-monitor setups for use with fullscreen games.
Load images, sound, music and video in almost any format. pyglet can optionally use AVbin to play back audio formats such as MP3, OGG/Vorbis and WMA, and video formats such as DivX, MPEG-2, H.264, WMV and Xvid.
pyglet is provided under the BSD open-source license, allowing you to use it for both commercial and other open-source projects with very little restriction.
https://bitbucket.org/pyglet/pyglet/


Das hört sich interessant an.
Angefangen hat es wohl schon 2007. Zumindest reicht die CHNAGELOG bis dahin: https://bitbucket.org/pyglet/pyglet/ann ... at=default
Es wird anscheinend gerade in letzter Zeit aktiv weiter Entwickelt.


Mir ist es bislang noch nicht aufgefallen. Ist es ein würdiger Nachfolger von PyGame?!?
Jemand damit schon was gemacht?

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
TommiB
User
Beiträge: 41
Registriert: Montag 9. Februar 2015, 18:15

Hallo Jens,

ja, hier hat der Apollon bereits mal was mit pyglet und opencv gemacht...

Ich hatte auch schon versucht, bekomme pyglet jedoch nicht auf meinem win7 Rechner installiert.

Einfach bei der Suche hier nach pyglet suchen.

Gruß Tommi
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Stimmt, suchen hätte ich mal machen sollen :oops:

http://www.python-forum.de/search.php?keywords=pyglet

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Hab mal mein mandelbrot mit pyglet gemacht: https://github.com/jedie/python-code-sn ... _pyglet.py

Bild

Hierbei werden die Berechnungen in Python gemacht. Denn mit pyglet kann man die Berechnung auch auf die GPU mittels OpenGL auslagern. Hat "veers" hier im Forum 2008 gezeigt: http://www.python-forum.de/viewtopic.php?f=9&t=13354
Siehe auch: http://29a.ch/2009/5/12/rendering-the-m ... pengl-glsl

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
Benutzeravatar
bwbg
User
Beiträge: 407
Registriert: Mittwoch 23. Januar 2008, 13:35

TommiB hat geschrieben:[...] bekomme pyglet jedoch nicht auf meinem win7 Rechner installiert.[...]

Code: Alles auswählen

python setup.py build
Den Inhalt des erstellten _build-Ordners kann man nun einfach in sein Projekt kopieren.
"Du bist der Messias! Und ich muss es wissen, denn ich bin schon einigen gefolgt!"
Antworten