From: Jim V. <jim...@no...> - 2012-11-30 15:17:27
|
That is great news! Thanks for you continued work on VPython. --jv On 11/29/2012 4:03 PM, Bruce Sherwood wrote: > Thanks to some help from experts in the wxPython forum, for the first > time I managed to display text on an object, using > platform-independent code. It's not yet part of the VPython-wx > experimental package, because I have to integrate this capability with > the label machinery, but this was the last issue preventing the > elimination of platform-dependent code. > > The key breakthrough was to realize that wxPython has functions for > writing 2D text and graphics to an off-screen bitmap and then reading > back the numeric data from the bitmap. This array of data can be > passed to the existing numeric texture option in VPython. This > capability can be exploited by the label object, but it will also make > it possible to place text on any object. > > Bruce Sherwood > > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > VERIFY Test and improve your parallel project with help from experts > and peers. http://goparallel.sourceforge.net > > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |