From: David S. <dsc...@vy...> - 2001-03-22 01:06:41
|
For printing graphs, the best thing would probably be to bring in another graphing or drawing package that supports high-quality postscript output, and write code to convert a visual.graph into that package's conception of a graph. "Direct" high-resolution printing of 3D scenes could be done by modifying cvisual to point its OpenGL context at a high-resolution WMF in memory and rendering a frame. That approach obviously requires some C++, OpenGL, and Windows programming skills. The POV approach also doesn't sound bad, although I haven't tried it. Maybe for convenience povexport.py should be able to run POVray through os.system()? Dave > -----Original Message----- > From: vis...@li... > [mailto:vis...@li...]On Behalf Of > Markus Gritsch > Sent: Wednesday, March 21, 2001 12:18 PM > To: Bruce Sherwood; vis...@li... > Subject: Re: [Visualpython-users] How to print ? > > > Bruce Sherwood wrote: > > > So really what is needed (I think) is for someone to write a > module to go > > from a Visual scene (or graph) to Postscript, analogous to what > Ruth Chabay > > has done for going to PovRay. This might be useful even for 3D scenes if > > you don't care about the ray-traced quality obtained from PovRay. > > For a moment i thought about this, too, but this would be a *LOT* > of work if > you would like to reproduce the scene exactly, although it would not be > impossible. Maybe things would simplify if only 2D is considered, but > creating a reasonable PostScript image of a 3D scene is quite complicated > (geometry transformation, color shading, ...). > > Markus > > > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > http://lists.sourceforge.net/lists/listinfo/visualpython-users > |