[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [pygame] OpenGL

Well, I'm working on one, but I'm just an artist muddling through the
learning curve, so it's not particularly far along.  You can see it in the
latest OpenGLContext/scenegraph directory of the PyOpenGL CVS.  It doesn't
really have any of the plumbing finished, as I've been focussing on
basically learning how to do the geometry, bitmaps, etceteras.

I think maybe you could use OpenVRML's LibVRML97 as a starting point, but
the code is heavily decoupled from OpenGL (it can use just about any
rendering library), so it might wind up being overkill.  A wrapper around an
existing C library might be easier, and would certainly make the whole thing
more fun for me (I just wanna make pretty pictures :) ).

Enjoy all,

-----Original Message-----
From: owner-pygame-users@seul.org [mailto:owner-pygame-users@seul.org]On
Behalf Of Pete Shinners
Sent: July 12, 2001 11:18
To: pygame-users@seul.org
Subject: Re: [pygame] OpenGL
> It would also be quite fun to know wether anybody is actively
> working on some kind of scene graph for pyopengl. Something
> like 'ssg' from PLib, or even the old Open Inventor.

i really don't know about this. i haven't ever seen any scene
graph libraries out there for for python. the simple method
would just be to find the most friendly opengl scene graph
in c and wrap it. there are actually plenty to choose from,
but it would take a little time to look and find one that
would be most appropriate. on the other hand, i believe most
scene graphs are very similar. you have a  parented hierarchy
of objects, along with a little scene information like lighting,
fog, etc

pygame mailing list