From: Venkat R. <ven...@gm...> - 2009-12-22 15:25:16
|
Hi all, Thanks for the visual link. I've previously used VTK using Octaviz, which is an Octave interface to VTK. Octaviz is very easy to use, makes good plots. But animations using it is slow, many primitives like 3D-arrows are limited in functionality and sadly Octaviz is not being developed anymore, as far as I know. It is not even present in the 9.10 Ubuntu repositories. In general, VTK has a lot of options, but needlessly complicated for me. On the other hand, vpython is simple to setup and fast. It basically took only a few minutes to get the basics of it. BTW, regarding issue 1b of my original post, I was stupidly calling display every time the script was run. If I don't call it, it reuses the last display and it is fine. Can someone please comment on the remaining issues? 1. vector() versus numpy array differences? Basically what is better to use and why? 2. If only I can get ipython to play nice with vpython, I'm basically all set. Is it something on the ipython side or in vpython? I can hack something together, if there are some pointers. Thanks, Venkat. PS: I meant to send the reply to the list, but it was mistakenly sent personally to Guy Kloss. On Sat, Dec 19, 2009 at 2:52 PM, Guy K. Kloss <g....@ma...> wrote: > On Sun, 20 Dec 2009 04:13:58 James Mueller wrote: >> Again, I haven't tried it, so I can't offer any review of it. > > I can somewhat help out there ... > > I've tested that Visual module. It's somewhat more geared towards the Visual > 3.x API, it's *quite* a bit slower than visual, and it's not as feature rich. > Also there are some draw backs due to bugs/limitations in the traits > implementation limiting the range of usable sizes, etc. Some code also has to > be (slightly) adapted to fit that visual API of Mayavi. > > Performance can be somewhat boosted significantly by switching to the Qt4 > backend over the default wx windowing backend. Still, performance is not > nearly as good as with Visual Python. > > I did a presentation with a paper at the last Kiwi PyCon touching this topic. > The slides are here: > > http://www.slideshare.net/XEmacs/python-data-plotting-and-visualisation- > extravaganza > > A paper of that is soon to be published under the Python Papers Monograph > Series for that: http://pythonpapers.org > > Guy > > -- > Guy K. Kloss > Institute of Information and Mathematical Sciences > Te Kura Pūtaiao o Mōhiohio me Pāngarau > Massey University, Albany (North Shore City, Auckland) > 473 State Highway 17, Gate 1, Mailroom, Quad B Building > voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 > G....@ma... http://www.massey.ac.nz/~gkloss > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |