[vtkusers] Pixelated results with vtkFixedPointVolumeRayCastMapper

Heimann, Tobias tobias.heimann at siemens.com
Mon Jul 2 11:37:00 EDT 2012


Hi all,

I've got a strange problem with the vtkFixedPointVolumeRayCastMapper:
In interactive mode, it renders my images very accurately, as expected. What I am trying to do, however, is to animate objects automatically to generate a movie. For this, I've set up a loop in which I adjust each position and orientation of every vtkVolume in the scene and then call Render() on the RenderWindow. The results I get for this case look like intermediate previews: largely pixilated, as if rendered in very low resolution. In case I can send attachments over this list, I've added two small images below to illustrate the problem.

I've already tried:
renWin->SetDesiredUpdateRate( 0 );

to tell the renderer to take all the time he needs, but that did not change anything.
If I activate a vtkRenderWindowInteractor after my loop, a single click in the image triggers an update that leaves me with a crystal clear image, but how can I render at this quality automatically?

Thanks for any ideas, best wishes,
Tobias


Result after Render():


Result after mouse click in interactive mode:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120702/57e60525/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture (Device Independent Bitmap) 1.jpg
Type: image/jpeg
Size: 1950 bytes
Desc: Picture (Device Independent Bitmap) 1.jpg
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120702/57e60525/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture (Device Independent Bitmap) 2.jpg
Type: image/jpeg
Size: 1956 bytes
Desc: Picture (Device Independent Bitmap) 2.jpg
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120702/57e60525/attachment-0001.jpg>


More information about the vtkusers mailing list