[vtkusers] Particles system simulation using VTK

Berk Geveci berk.geveci at kitware.com
Wed Mar 19 21:20:59 EDT 2008


Using one actor per point is a very bad idea. You should look at John
Biddiscombe's vtkPointSpriteMapper. It can render a LARGE number of
particles interactively.
http://www.cscs.ch/a-display.php?id=170


On 3/19/08, Nicolas FEREY <nicolas.ferey at ibpc.fr> wrote:
> Hi vtk users,
>
>  I'm actually trying to implement with VTK
>  a tool for visualizing and interacting with a particules system
>  simulation in
>  real time. The coordinates of these partcules come from an external thread,
>  which frequently updates in a first case the points in a polydata,
>  and in a second case updates the position of particle actors.
>
>  As Render() function has to be called in the vtk main thread,
>  I use timer event observer to call Render() and refresh rendering.
>
>  However, I'm a newbie in VTK, and the performances of
>  my solution are very weak, especially if I use an
>  actor by particule (several thousands of particles), instead
>  of using a polydata.
>
>  I'm particularely interested by using actor,
>  because the behavior of each particule is very
>  simple to implement using VTK.
>
>  Firstly I would like to know the best way to plug
>  external thread and vtk, and secondly know if somebody have already
>  implemented this kind of dynamic particles system using VTK.
>
>  Thank you for your help.
>  _______________________________________________
>  This is the private VTK discussion list.
>  Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>  Follow this link to subscribe/unsubscribe:
>  http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list