By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,479 Members | 1,256 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,479 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies

P: n/a
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

P: n/a
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.