AR example - 0.5-frog-knows
AR example is a (not so) simple augmented reality example with an event-driven architecture written in python using pygame library. Linux only. Added win32 support out of the box with VideoCapture by Markus Gritsch.
After a few days of development of a new version of AR example, I've decided that it would be more interesting to switch to an event-driven engine architecture, which I'm using in my gamedev. So, no sooner said than done lol.
There are 5 main components:
which pass events to each other. The main great thing about that is that you can add/switch/replace/remove subsystems easily. All of them are loosely-coupled. For example, you could switch off a main window or a keyboard controller, but the application would finely run. Nothing ever breaks.
I'm eager to get some feedback on the subject.
P.S. there is not much left of an augmented part in AR example at the moment, but I'm working on it lol. If you need an old (0.3.1) but working augmented reality example, you can download it.
P.P.S. if you have any questions or suggestions, please drop me a line.
A new, higly experimental, version of AR example.
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.