Re: [pygame] pygame.camera was (Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents)

2009-02-16 Thread René Dudfield
Hi, a note for people using svn pygame... camera.c has moved to _camera.c ... this means that camera.pyd or camera.so needs to be deleted from your installed pygame location. eg /usr/lib/python2.5/site-packages/pygame/ C:\Python25\Lib\site-packages\pygame\ It also means you'll need to

Re: [pygame] pygame.camera was (Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents)

2009-02-06 Thread René Dudfield
hi, I have added an experimental opencv based camera module to svn. Also added the vidcapture based one to subversion. lib/_camera_opencv_highgui.py lib/_camera_vidcapture.py # with ubuntu you can install opencv like so: apt-get install python-opencv It supports more cameras than the current

Re: [pygame] pygame.camera was (Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents)

2009-02-03 Thread René Dudfield
hey, well we can still change the API if needed :) I think it's likely to change as we support more drivers, and learn more about other drivers APIs. ps. I just found out about Andrew Straws work on his camera library for python: http://code.astraw.com/projects/motmot/wiki/cam_iface I'm

[pygame] pygame.camera was (Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents)

2009-01-31 Thread René Dudfield
hi, I started a basic implementation of pygame.camera.Camera using the videocapture module for windows. http://rene.f0o.com/~rene/stuff/camera_vidcapture.py Of course it's not complete, but allows people to use the same basic camera API until we finish off the module on windows. I've also

Re: [pygame] pygame.camera was (Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents)

2009-01-31 Thread Nirav Patel
René, Awesome! I was also looking at videocapture. It seems the way OpenCV does VFW might be easier to use code from for the module itself, but videocapture is a good stopgap. I regret not thinking much about Windows when I was making the camera module API. What is a fairly thin wrapper

Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-12 Thread René Dudfield
ok, cool. On Mon, Jan 12, 2009 at 6:08 PM, Brian Fisher br...@hamsterrepublic.com wrote: On Sun, Jan 11, 2009 at 9:40 PM, René Dudfield ren...@gmail.com wrote: Indeed. It might be a good idea to try and remove as much of the macosx.py that is there as possible... then try and add in what you

Re: [pygame] Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-12 Thread René Dudfield
On Mon, Jan 12, 2009 at 7:34 PM, Lenard Lindstrom le...@telus.net wrote: René Dudfield wrote: On Thu, Jan 8, 2009 at 4:10 AM, pymike pymik...@gmail.com wrote: I dig the rewriting pygame site in python part. It'd also need a new fresh theme (that green... arg! my eyes!). Would it be written

Re: [pygame] Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-12 Thread Lenard Lindstrom
René Dudfield wrote: On Mon, Jan 12, 2009 at 7:34 PM, Lenard Lindstrom le...@telus.net wrote: René Dudfield wrote: On Thu, Jan 8, 2009 at 4:10 AM, pymike pymik...@gmail.com wrote: [snip] I've been fiddling around with CherryPy (cherrypy.org), and it's quite awesome. (See

Re: [pygame] Bundling Pygame documents

2009-01-11 Thread Lenard Lindstrom
Lenard Lindstrom wrote: Hi, If the Pygame documents are to be included as part of the Pygame installation is there any reason to continue producing document bundles? And who is taking responsibility for modifying setup.py to add the documents and examples? If it is not on anyone's schedule

Re: [pygame] Bundling Pygame documents

2009-01-11 Thread René Dudfield
That's awesome :) I wonder if we should be able to run the examples like... import pygame.examples.chimp pygame.examples.chimp.main() Does that seem like a useful thing to be able to do? I'm not so sure. How do people then look at, or edit the source code for the example? It does make

Re: [pygame] Bundling Pygame documents

2009-01-11 Thread Lenard Lindstrom
I was thinking of something like that myself. I just finished updating them so the cwd doesn't have to be the examples directory. However, some of them do expect command line arguments. I guess those could become main() arguments. And the examples readme can be replaced with an examples.doc in

Re: [pygame] Bundling Pygame documents

2009-01-11 Thread René Dudfield
Nice one. Full paths are required for platforms that don't have relative paths (like windowsCE). I updated all the examples to have a main(), and use pygame.quit. Still need to update the cmd line argument ones to use main() arguments. I think also the pygame.tests.run() could be passed

Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-11 Thread René Dudfield
hi, cool :) I was hoping that you could get to it at some point. I also have a long pygame todo list :) However I did do a little more research... and found this link: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=35 It uses video for windows to read from an avi, and write to a

Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-11 Thread René Dudfield
On Wed, Jan 7, 2009 at 3:35 AM, Brian Fisher br...@hamsterrepublic.com wrote: On Tue, Jan 6, 2009 at 12:22 AM, René Dudfield ren...@gmail.com wrote: - Remove pyobjc dependency on macosx I've been looking at removing pyobjc dependency a bit, but like Nirav, I don't want to being on my to do

Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-11 Thread Brian Fisher
On Sun, Jan 11, 2009 at 9:40 PM, René Dudfield ren...@gmail.com wrote: Indeed. It might be a good idea to try and remove as much of the macosx.py that is there as possible... then try and add in what you need until it is working. I tried that ages ago - basically just hoping everything

Re: [pygame] Bundling Pygame documents

2009-01-11 Thread Lenard Lindstrom
This saves me some work. René Dudfield wrote: Nice one. Full paths are required for platforms that don't have relative paths (like windowsCE). I updated all the examples to have a main(), and use pygame.quit. Still need to update the cmd line argument ones to use main() arguments. I have

Re: [pygame] Bundling Pygame documents

2009-01-09 Thread Lenard Lindstrom
Tests added as pygame.tests package, revisions 1812:1814. The installation directory test package can be run without conflict. Todo: test/run_tests__tests and tests/util. Only enough of examples added to pygame to make the unit tests work. Lenard René Dudfield wrote: Hi, go for it if you

Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-07 Thread pymike
I dig the rewriting pygame site in python part. It'd also need a new fresh theme (that green... arg! my eyes!). Would it be written in Django? I've been fiddling around with CherryPy (cherrypy.org), and it's quite awesome. (See pymike.pynguins.com) If you wrote it in CherryPy, I'm pretty sure I

contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-06 Thread René Dudfield
Hello! there's a bunch of projects to work on here for pygame 1.9. http://www.pygame.org/wiki/todo Email back here if you feel like working on any of these things, or something else for pygame 1.9 release. cu, - pygame.Camera - Video for windows version of - Remove pyobjc dependency on

Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-06 Thread Nirav Patel
Writing the video for windows version of the camera module is on my (rather long) todo list, but if anyone wants to do it, I'd be happy to help out. I don't have anything running OS X, but I'm willing to help anyone who wants to take that on. I also have a half written camera usage tutorial that

Re: contribute to pygame... Some fun projects to do for pygame 1.9. was Re: [pygame] Bundling Pygame documents

2009-01-06 Thread Brian Fisher
On Tue, Jan 6, 2009 at 12:22 AM, René Dudfield ren...@gmail.com wrote: - Remove pyobjc dependency on macosx I've been looking at removing pyobjc dependency a bit, but like Nirav, I don't want to being on my to do list to stop anybody else who has wanted to contribute to that from doing so.

Re: [pygame] Bundling Pygame documents

2009-01-05 Thread René Dudfield
Hi, go for it if you like :) Also, can you please include the test directory to be copied as well whilst you're there? (the tests will need to be refactored a little so they work within the pygame.test. name space... but the first step is to make sure the files are copied in) cheers, On

[pygame] Bundling Pygame documents

2009-01-03 Thread Lenard Lindstrom
Hi, If the Pygame documents are to be included as part of the Pygame installation is there any reason to continue producing document bundles? And who is taking responsibility for modifying setup.py to add the documents and examples? If it is not on anyone's schedule the I will have a look at