[vtkusers] Offscreen Rendering with Xvfb

Joey Mukherjee joey at phobos.space.swri.edu
Fri Mar 29 10:40:42 EST 2002


>one thing to try is to see what happens if remove the
>GLX_DEPTH_SIZE argument of the "attributeList" you pass to
>Xvfb.  I wonder if its tripping up on that requirement.  I
>didn't notice a z-buffer in the dpyinfo you sent.

Okay, this didn't work either, but I finally took the suggestions of Prabhu and 
made it use a RenderWindow instead of an OffscreenRenderWindow, and sure enough 
everything started to work.  

I was doing this so I can do my VTK movie visualizations from the web.  I still 
use the OffscreenRenderWindow when the user uses the GUI though.  Thanks for 
writing the class.  It makes my software look much nicer.

If anyone is interested in seeing this, go to http://cluster2.space.swri.edu , 
click on plotting menu, and then click on examples, scroll down to the middle if 
you are interested in seeing examples of them.  If you want to see one 
generated, change the layout to Cl1spinpadH, duration to 0:00:05 and click PLOT. 
 It does take a while to generate, but when its done you should see a movie of 
CLUSTER II data.  Sometimes, it has some issues, but I'm still working on it...

Thanks to all for your help!
Joey

+--------------------------------------------------------------------------+
+                                                                          +
+     Joey Mukherjee                 "The price of freedom is eternal      +
+     joey at swri.org                   vigilance, or $12.50 as seen on      +
+                                     E-Bay...                             +
+                                                                          +
+--------------------------------------------------------------------------+





More information about the vtkusers mailing list