[vtkusers] iterative/time-varying rendering?

Fredrik Karlsson freka586 at student.liu.se
Mon May 26 08:26:30 EDT 2003


Hi all!

I want to use VTK for volume rendering of a smoke
simulation.
For every iteration the simulation results in an
array, housing my voxel grid. Connecting this grid
to VTK seems straightforward, but how do I handle
the iterative part?

Basically I recompute the voxel grid after each
frame is rendered. 
How do I input this stuff into the VTK rendering
framework?
In very pseudo-style code:

do_Initial_stuff
while(iterating)
{
calculate_new_gridvalues
render_new_frame
}

Thanks in advance

Fredrik




More information about the vtkusers mailing list