<div dir="ltr"><div>Hi,</div><div>I am new to vtk and I am trying to get the front framebuffer from the renderwindow like this:</div><div>int * dim = renderWindow->GetSize();<br>unsigned char* pixels = renderWindow->GetPixelData(0,0,dim[0]-1,dim[1]-1,true);</div><div><br></div><div>but in pixels there is only a null value. I am using this on a 3d render if that makes a difference the above segment of code called after rendering the volume. What am I missing? Any help is appreciated thanks.</div><div>Linghai<br></div></div>