[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] FastRenderGroup?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I started looking at DR0ID's FastRenderGroup today. The demo is quite
impressive! I just wanted to know, what makes it fast? In other words,
what's the difference between this and RenderUpdates? My understanding
from rereading emails is that RenderUpdates passes repeated dirty
rectangles to display, and FastRenderGroup optimizes repeated dirty
rectangles away by doing a union operation. Is that true? If so, could
you put text like that on your site, DR0ID? (A possible new name might
be RepeatedRectGroup?)

I also see from rereading the archive that FastRenderGroup is the
preferred Group to use[1]. For what kinds of games? If you wipe the
whole screen each frame, for instance because you have an animated
background, then it doesn't make sense to use either FastRenderGroup
or RenderUpdates, does it?

[1]: http://archives.seul.org/pygame/users/Jun-2007/msg00302.html

Anyhow, it's really exciting to see people working on this. Cheers!

Ethan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGs+SihRlgoLPrRPwRAm/zAJ49RSk2n4iBbuHIvuGv3Hwt5hPdtgCeNrHs
WdTUaB2z59tH7eSCfFtPEQ8=
=k1Nv
-----END PGP SIGNATURE-----