[pygame] A way of telling time?

2007-08-04 Thread Joseph Quigley
Hi, I'm using PGU and Pygame and would like to fairly accurately calculate when 1 second has passed. What is the best way of doing this? Thanks, Joe -- All Your Base Are Belong To Us!!! chown -r us ./base "After three days without programming, life becomes meaningless.'' -- Tao of Programming Bo

Re: [pygame] pyweek is happening august 02 - august 09

2007-08-04 Thread Laura Creighton
In a message of Sat, 04 Aug 2007 14:25:29 CDT, Luke Paireepinart writes: >Laura Creighton wrote: >> 00:00 UTC 2007-09-02 to 00:00 UTC 2007-09-09 exactly. See >> www.pyweek.org >> >> PyconUK is happening. http://www.pyconuk.org/ 8th and 9th September. >> >> This means that those of us who generall

Re: [pygame] Pre-multiplied alpha

2007-08-04 Thread Brian Fisher
Having a way to export to premultiplied alpha would be useful in pygame. With any system that does bilinear filtering or compositing premultiplied is better. Along the lines of what Greg was saying, compositing transparent layers (i.e. blending RGBA src to an RGBA dest) is one of those things tha

Re: [pygame] pyweek is happening august 02 - august 09

2007-08-04 Thread Luke Paireepinart
Laura Creighton wrote: 00:00 UTC 2007-09-02 to 00:00 UTC 2007-09-09 exactly. See www.pyweek.org PyconUK is happening. http://www.pyconuk.org/ 8th and 9th September. This means that those of us who generally do not see each other but are going to PyconUK could put together an entry and then sp

[pygame] pyweek is happening august 02 - august 09

2007-08-04 Thread Laura Creighton
00:00 UTC 2007-09-02 to 00:00 UTC 2007-09-09 exactly. See www.pyweek.org PyconUK is happening. http://www.pyconuk.org/ 8th and 9th September. This means that those of us who generally do not see each other but are going to PyconUK could put together an entry and then sprint together on it befor

Re: [pygame] Pre-multiplied alpha

2007-08-04 Thread Greg Ewing
Brian Fisher wrote: If you are just talking about alpha blending, you can blend raw color values at exactly the same speed as pre-multiplied color values, Don't some OpenGL effects require using premultiplied alpha? If that's the case, it could be worth having a function in pygame for easily cr

Re: [pygame] Pre-multiplied alpha

2007-08-04 Thread René Dudfield
ah, that's interesting. Thanks for sharing :) On 8/4/07, Brian Fisher <[EMAIL PROTECTED]> wrote: > If you are just talking about alpha blending, you can blend raw color > values at exactly the same speed as pre-multiplied color values, when > you do a little trick where you blend by the differenc

Re: [pygame] PATCH makeref.py

2007-08-04 Thread René Dudfield
cool, thanks. I think it was just written incorrectly because it was used only from unix. I can't see any reason for not using os.path.join. Committed revision 1027. On 8/4/07, DR0ID <[EMAIL PROTECTED]> wrote: > Hello > > > yesterday I wanted to make the new documentation for the SVN pygame an

Re: [pygame] Pre-multiplied alpha

2007-08-04 Thread Brian Fisher
If you are just talking about alpha blending, you can blend raw color values at exactly the same speed as pre-multiplied color values, when you do a little trick where you blend by the difference between source and dest ((dest - src)*alpha + dest for no pre-mult vs. dest*(1-alpha) + src with pre-mu

[pygame] PATCH makeref.py

2007-08-04 Thread DR0ID
Hello yesterday I wanted to make the new documentation for the SVN pygame and found that the makeref.py does not work under windows. I found out that it is because the paths where hardcoded like this "src/pygame.doc" instead of using os.path.join("src", "pygame.doc"). Is there a reason to no

Re: [pygame] FastRenderGroup?

2007-08-04 Thread DR0ID
Hello Ethan I'm afraid you will have to use pygame 1.8 (hope that is not the problem, if so, I could zip my pygame1.8 for windows and send it to you, or you will have to modify the lines I actually blit something, remove the spr.blendmode there). The FastRenderGroup has been renamed to Laye