Fernando Perez wrote: > On Jan 13, 2008 10:10 AM, Jaap Spies <[EMAIL PROTECTED]> wrote: >> Fernando Perez wrote:
>>> >> Not so identical! I've been playing with enthought.tvtk.tools.visual. >> Most(?) or some of VPython is there, but I'm missing the scene class. >> In VPython you can interact with the scene on screen with mouse >> events. This is an important feature! For example you can move individual >> objects around, etcetera. > > I should have said 'fairly similar' rather than 'identical', since I > was going on memory. Sorry about that. > np >> This module is clearly not finished. From visual.py: > > Certainly. That I remembered, and I said as much. That's what the > words 'experimental' and 'quick hack' that I used typically imply, but > I'll do my best to be clearer next time. > No problem. For me it was clear enough, but I think it is worth showing some details to the others. > It would be great to have this work well, which is why I mentioned it, > to see if a volunteer might pick it up. I'm a big fan of vpython, but > since I already use VTK for 'real work', I'd much rather have a > vtk-based system with similar capabilities than having to deal with > yet-another-opengl-mainloop. I understand that.For other people, especially in educational environments, VPython is the max they can handle: Real Time "3D programming for ordinary mortals". I remember from my former life that teaching programming to non CS students with VPython is an eyeopener. If this could be integrated in Sage, this type of student, say mechanical/electrical engineering students, can do their calculus, lineair algebra, modelling and control stuff in one coherent environment. > I don't know how to run vpython scripts as part of a persistent > interactive session, since it initializes the OpenGL event loop at > startup always. So you basically can only run them as standalone > scripts, starting a fresh python process each time. This is OK for > little toy stuff, but annoying for heavy-duty work with large codes > where initialization and module loading can take a long time. TVTK > doesn't have that issue. > Sure. Mayavi2 and tvtk are great. I really hope they will be optional packages in Sage soon. > Anyway, I just mentioned this in case you (or anyone else) was > interested in picking this up. The more capabilities we get from a > few *well integrated* tools, the more we all win. But I don't have > the bandwidth to do any work on this myself (what TVTK/mayavi2 can do > is already perfect for my work needs, and for me the vpython-like > funcitonality is currently just 'for fun'), so there's not much point > in me continuing here. > I would love to see the tvtk.tools.visual florish! I hope someone will pick this up. Probably not me :), I've way to many things to do. I'm retired so less time than ever before! Jaap --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---