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

Re: [pygame] Positioning Objects in 3D w/ Pygame/OpenGL



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

On Sat, 23 Apr 2005 03:27 pm, Kris Schnee wrote:
> I 
> could put a rectangle in the right spot and texture it with a character
> image, but how can I rotate it so that it's facing the screen?

The technique you're after is called "billboarding". Here's a tute:

   http://www.lighthouse3d.com/opengl/billboarding/


    Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCaek8rGisBEHG6TARAr3MAJ9nSvz81dY7s76QuOmHHpp8WZ8u/wCdG/DM
JLGb9taB4ONai1DXb6uRvTA=
=4b39
-----END PGP SIGNATURE-----