[vtkusers] trying to get a bitmap of the pixel data...

hastings hastings at bmi.osu.edu
Wed Nov 6 15:20:17 EST 2002


I have a OpenGL render window which I am updating with a new volume of
data and rerendering iteratively.  Every step I call
renwin->GetPixelData to caprture a bitmap of that window.  This works
everytime I set a new volume and rerender, however, if I just move the
camera and rerender and then call renwin->GetPixelData the buffer
returned is all 0's although there is an image on the screen.  Anyone
have any ideas about this?

Shannon

-------------------------------------------------------
Shannon L. Hastings
 
Research Specialist
Ohio State University Medical Center
Department of Biomedical Informatics
1-614-688-3470
hastings at bmi.osu.edu
 





More information about the vtkusers mailing list