[vtkusers] Deforming Polydata Animation
Tuhin Sinha
tk.sinha at vanderbilt.edu
Fri Jun 27 09:53:36 EDT 2003
Helder,
Why not just save the deformation data as an array of point locations at
each time step. Then use that array to update the vtkPoints instance that
describes your vtkPolyData for each time step. This seems a lot easier and
has much less overhead, in my opinion. You go from N (number of time steps)
vtkPolyDatas, N vtkPolyDataMappers, N vtkActors, and N vtkRenderers -- to an
N*numberofpoints array and one of each of the above.
Hope this helps...
Tuhin Sinha
On Friday 27 June 2003 08:09, Helder Carvalho wrote:
> What I have is a 3d Polydata and for each timeset or frame, it deforms
> according to external parameters.
> So what you suggested is that i perform every deformation, save each change
> in the form into a different polydatas, add different mappers and different
> actors for each deformation and then add all this actors to different
> renders??? Is that it??
> So each timestep is one render and when i pass to the next timestep i
> delete the previous one from the render window and add the next render in
> the list?? Is that it or am i thinking wrongly?
>
> Regards,
> Helder Carvalho
>
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq> Follow this link to
> subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list