469,575 Members | 1,651 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

Question: wxpython and 3d engine example with model load ?

Hello,

did anyone succeed in combining wxpython and a 3d engine (pyogre,
crystalblend, panda3d, soya etc.) ?

I would like to create an application, which uses wxpython tree, menu
and grid elements and embedds a 3d view of some of the listed objects
in an own detail window, so showing the object as a 3d model.
I know there is PyOpenGL as well, but I need to load complete models
(meshes done with cinema4d or blender) into the 3d view.

So it would be very nice, if someone could post me a link to an
example, where someone has successfully glued wxpython UI and a 3d
engine view loading meshes into the 3d view.

Regards
Bernd

Aug 23 '07 #1
2 2835
On Aug 23, 4:11 am, OpenPavilion <BerndW...@googlemail.comwrote:
Hello,

did anyone succeed in combining wxpython and a 3d engine (pyogre,
crystalblend, panda3d, soya etc.) ?

I would like to create an application, which uses wxpython tree, menu
and grid elements and embedds a 3d view of some of the listed objects
in an own detail window, so showing the object as a 3d model.
I know there is PyOpenGL as well, but I need to load complete models
(meshes done with cinema4d or blender) into the 3d view.

So it would be very nice, if someone could post me a link to an
example, where someone has successfully glued wxpython UI and a 3d
engine view loading meshes into the 3d view.

Regards
Bernd
I recommend that you post this question to the wxPython group. If it's
been done, they should know.
http://www.wxpython.org/maillist.php

Mike

Aug 23 '07 #2
OpenPavilion wrote:
....
I would like to create an application, which uses wxpython tree, menu
and grid elements and embedds a 3d view of some of the listed objects
in an own detail window, so showing the object as a 3d model.
I know there is PyOpenGL as well, but I need to load complete models
(meshes done with cinema4d or blender) into the 3d view.
There's a bit of sample code in OpenGLContext/bin (yes, yes, I know,
part of PyOpenGL, which you don't want) that does a
VRML-97-scenegraph-rendering window + a shell (you'll need the latest
CVS version to work with modern wxPythons). There's commented out code
that inserted a tree (to show the scenegraph as a tree, but I haven't
got that finished).

Other options:

* I think Pivy (Coin/Inventor wrapper) could likely be embedded in
PyQt (it has a Qt-based window operation IIRC) if that's an
acceptable compromise.
* http://www.python-ogre.org/wiki/DownloadsPage seems to suggest
there's an example for using Ogre with wxPython/wxWidgets.
* http://panda3d.org/phpbb2/viewtopic.php?=&p=11555 suggests there's
a way to get panda3d and wxPython working together

I don't see a soya + wxPython page in a few seconds of googling, so I
guess finding that is left as an exercise for the reader.

HTH,
Mike

--
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com

Aug 23 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by Guinness Mann | last post: by
5 posts views Thread by meonimarco | last post: by
4 posts views Thread by tobfon | last post: by
6 posts views Thread by Peter Richardson | last post: by
44 posts views Thread by bg_ie | last post: by
5 posts views Thread by Frank Millman | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.