mithro
29-12-2005 22:20:30
Hi!
I am working on a PyOgre based client for my game project called Thousand Parsec ( http://www.thousandparsec.net/ ). You can see some of the progress of the client with the screen shots of the (simple) results here -> http://darcs.thousandparsec.net/tp/scre ... tarmap.png
However I would like to display text below each Star displaying their names.
From the #ogre3d channel I was recommend to do a search for MovableText and use that. However nobody could point me to a link and the only code I found was for a much older version of Ogre (before they used SharedPtrs). I tried converting it to the current Ogre and wrap it with SWIG but it just segfaults.
I also tried rendering it to a data string using another library (pygame), but I couldn't figure out the correct way to load it and display as a material.
I also tried rewriting the whole the whole class in Python but it appears that the RenderOperation needed by the code is not wrapped.
Any ideas on what I could do?
Both seems like such a simple problems (much simpler then loading 3d meshes etc) but it sad Ogre has not easy support.
Thanks for your help.
Mithro
I am working on a PyOgre based client for my game project called Thousand Parsec ( http://www.thousandparsec.net/ ). You can see some of the progress of the client with the screen shots of the (simple) results here -> http://darcs.thousandparsec.net/tp/scre ... tarmap.png
However I would like to display text below each Star displaying their names.
From the #ogre3d channel I was recommend to do a search for MovableText and use that. However nobody could point me to a link and the only code I found was for a much older version of Ogre (before they used SharedPtrs). I tried converting it to the current Ogre and wrap it with SWIG but it just segfaults.
I also tried rendering it to a data string using another library (pygame), but I couldn't figure out the correct way to load it and display as a material.
I also tried rewriting the whole the whole class in Python but it appears that the RenderOperation needed by the code is not wrapped.
Any ideas on what I could do?
Both seems like such a simple problems (much simpler then loading 3d meshes etc) but it sad Ogre has not easy support.
Thanks for your help.
Mithro