Hi all, I want to produce high-res files for an academic poster in offscreen mode. My problem is that Im stuck with VTK-5.0.4. (i.e. cant seem to use the mlab offscreen flag) and also, I cannot put off work until the file is written, i.e. I need my screen during (rather lengthy) rendering. So what I did is use xvfb-run, but there are two problems:
For vector images, the gl2ps dialog seems to block mlab from writing the file. So any hint on how to circumvent the dialog or sent an 'OK' to a xvfb session would solve my problem. In addition, the .pdf and .ps files do not seem to qualify as vector output. .PS clearly produces an embedded raster image and .pdf is of very poor quality. .EPS gets it amazingly right, but at the expense of quite longer output times. For raster images, i have the problem that the size option in savefig() does not work. It does at least try if I put the savefig() command with size option twice, but what happens is the following: The resulting figure's size is right, but everything is blank except for the upper left corner in which the original. So if I could write a, say 5000x5000 raster image, that would solve too. But I dont even know if there is a limit to the xvfb screen sizes. So .eps would be much preferred. Renderman etc. are not an option, since I cannot install conversion software. I think mayavi was installed via enthought.mayavi-2.2.0-py2.5.egg, I would have to talk to my admin to get something else. I am really thankful for any hints on this - Matt ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ MayaVi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mayavi-users
