From: Guy K. K. <guy...@au...> - 2011-08-09 23:22:37
|
On Mon, 08 Aug 2011 2:36:06 PM Samuel Teixeira Santos wrote: > I would like to know if it's possible to do vpython use gpu > and if there is more about performance. I suppose you'd get the biggest chunk of speedup already by using hardware accelerated 3D graphics through OpenGL. The majority of other operations in the core VPython are (I assume) mostly to manage the scene content, and therefore not really suitable for accelerating using GPGPU code (like NVidia CUDA). I've done some comparison in rendering through VPython with the visual "mockery module" from Mayavi2, and VPython is already blazingly fast. Part of that is due to accessing the accelerated 3D features directly, rather than basing the code on the VTK abstraction as Mayavi2 does (but Mayavi has got good reasons for that, too). Hope that helps, Guy -- Guy K. Kloss School of Computing + Mathematical Sciences Auckland University of Technology Private Bag 92006, Auckland 1142 phone: +64 9 921 9999 ext. 5032 eMail: Guy...@au... |