Python and 3d

Olivier Renouard o.renouard at attitude-studio.com
Mon Sep 14 17:31:18 CEST 2009


Kevin MacPhail wrote:
>
>
> On Sun, Sep 13, 2009 at 2:29 PM, Ryniek90 <ryniek90 at gmail.com
> <mailto:ryniek90 at gmail.com>> wrote:
>
>
>     >
>     > azrael wrote:
>     >
>     >> Has anyone any exipience with python and 3d.
>     >>
>     >> I mean, is there a module to deal with popular 3d formats like
>     3ds, or
>     >> vrml. is it possible to import into python opengl models and
>     then use
>     >> it in application for GUI purposes like through WX. I know that WX
>     >> supports OpenGL but how to import models from file.
>     >>
>     >>
>     > http://www.vrplumber.com/py3d.py
>     >
>     > There's a few older projects to load 3DS files, but I don't
>     think any of
>     > them is currently PyOpenGL 3.x compatible.  OpenGLContext loads
>     VRML97
>     > files (with SimpleParse installed).  Pyglet, OpenGLContext and Ian
>     > Mallet's game engine all load .obj models (I believe Ian's
>     engine is the
>     > most advanced there).  Pivy should load VRML files as well, and
>     has a
>     > very powerful engine (COIN) under the covers (OpenGLContext is
>     more of a
>     > demo/testing system).  The big engines (Ogre, Soya, OpenSceneGraph,
>     > Crystal Space, etc) should all have content loaders, though I
>     haven't
>     > played with them enough to be able to say what formats they support.
>     >
>     > HTH,
>     > Mike
>     >
>     >
>
>     Maybe check out:
>
>     - Panda3D ( http://www.panda3d.org/ ),
>     - PyGame ( http://www.pygame.org/news.html ),
>     - PyKyra ( http://www.alobbs.com/pykyra ),
>     - PyOpenGL ( http://pyopengl.sourceforge.net/ ),
>
>     or
>
>     Blender ( http://www.blender.org/ ).
>
>     All above deserve attention.
>     --
>     http://mail.python.org/mailman/listinfo/python-list
>
>
>
> Also worth mentioning:
>
> - The Python Computer Graphics Kit ( http://cgkit.sourceforge.net )
>
> Cheers
>
And you could add Cortex, http://cortex.devjavu.com, various C++
libraries with Python binding to manipulate 3d content creation format
and either display them in OpenGL format or export them to RIB format
for rendering.




-- 
Olivier Renouard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090914/188ffdb1/attachment.html>


More information about the Python-list mailing list