[vtkusers] Writing Pictures

Vetle Roeim vetler at ifi.uio.no
Thu Jan 4 14:59:22 EST 2001


* Christian Pfaffel
> > Try this:
> >
> > yourRenderWindow->SetOffScreenRendering(1);
> >
> > then make the picture with the vtkWindowToImageFilter etc...
> >
> > and then call:
> >
> > yourRenderWindow->SetOffScreenRendering(0);
> >
> > so you have your renderwindow back on your screen.
> >
> > This should be platform independent.
> 
> Unfortunately this doesn't do the trick. I tested it, and i still get
> a black area on the image where it is beyond the physical limits of the
> screen.

What operating system and GL library are you using? I've tested it on
a Linux box using Mesa (w/o 3D accelleration) and on a Sun Ultra 10
(w/ 3D accelleration), and it didn't work on Linux but it worked like
a charm on the Ultra.


vr





More information about the vtkusers mailing list