[vtkusers] About OffScreen Question ^_^
David Homiak
dhomiak at xcaliber.com
Thu Aug 9 11:06:43 EDT 2001
Kevin,
See http://infinite-entropy.lbl.gov/VTK/vtkOffScreen/ for a
vtkOpenGLOffscreenRenderWindow class. From there description:
"Use in place of a vtkRenderWindow to draw an offscreen image. This
is specifically for Unix/OpenGL/X11 systems. There is already a
vtkWin32OffscreenRenderWindow in the contrib directory of VTK to cover
Windows systems. For SGI systems, it will use pbuffers for hardware
accelerated offscreen rendering. For all other architectures, it will use
GLX pixmaps which tend to be software-rendering (except for
hardware-accelerated Mesa)."
More generally for X11 on UNIX, there is also Xvfb, the X virtual
frame buffer. Do a Google search on it and also check out
http://starbase.neosoft.com/~claird/comp.windows.x/Xvfb.html. I have used
Xvfb in the past to do X processing on headless Sun servers lacking graphics
cards.
Dave Homiak
dhomiak at xcaliber.com
Results! Why, man, I have gotten a lot of results. I know several thousand
things that won't work. -- Thomas Edison
> Date: Wed, 08 Aug 2001 17:22:20 +0800
> From: Lin Sun-In <lsi at nchc.gov.tw>
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] About OffScreen Question ^_^
>
> Dear VTK author:
>
> I have a problem about VTK. We know OpenGL fo Win32 has support
> offscreen function , and VTK for Win32 also provide similar functions.
> But now I want to try this feature in Unix-like platform, but i have no
> idea. Could you please tell me any solution about this.
>
> PS : Because I want to run VTK program in the background, but the
> RenderWindow need a X-Window Server to display the result. So I must
> login to take a window manager or set the "DISPLAY" environment variable
> to transfer the display to another machine. But I want to have the same
> function in Win32 OS ==> "offscreen". Could you please tell me how can i
> do it ????
>
> Kevin
More information about the vtkusers
mailing list