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

Re: [pygame] scenegraph options



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

On Lundi 15 Septembre 2003 22:56, Damien Miller wrote:
> On Tue, 2003-09-16 at 03:11, Pete Shinners wrote:
> > Doug Holton wrote:
> > > Are there any example scene graph libraries out there that are
> > > similar to what is wanted for pygame?  Something like sForzando
> > > or pyOSG or some java scene graph?  Or could you share your games
> > > that are written with scene graphs?
> >
> > getting to any sort of full scenegraph is still a ways out. in the
> > meantime there are some features that would be useful for a full 2d
> > graph that are very useful for pygame.
> >
> > i'm working on some of these things now, and they may start
> > trickling in after pygame-1.6. there are two main things i'm
> > putting together now.
> >
> > Vector/Point. a simple 2d position and vector container. there are
> > tons of these out there and they are fairly simple. it will likely
> > be a C type for python.
>
> Are there any plans for 3d datatypes as well? E.g. a rect3, vector3,
> point3?
>
> I know these are easy to cook up for oneself, but it would be cool if
> there was a standard.
>
> -d

You might be interested in this:
http://cgkit.sourceforge.net

you get matrices, quaternions and vector data types, all implemented in 
C and they're quite easy to use, even for someone as math illiterate as 
I am...

Oh yeah, and it supports almost all the RenderMan API, so you can export 
your geometry to any renderman-compliant renderer...

my 2 cents,
sylvain

- -- 
Initiez vos enfants à la difficulté de la vie moderne avec nos constats 
à l'amiable à colorier!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Zm1LK/qAVOpQGPYRAokNAJ9dQy64LOwjLUlcV0rJ0fxws46wUQCfZTbE
6BFaAC+pElbsPWWnlLeiDRE=
=K6a9
-----END PGP SIGNATURE-----