Re: [PyOpenGL-Users] Creating a postscript image of a scene : how do I use openglutil ?
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2003-05-19 17:17:13
|
gabor wrote: ... >when i wrote my master thesis ( i used pyopengl -)), i needed to make a >lot of screenshots. > >and i also wanted to be able to make eps screenshots. i mean >vector-based eps screenshots. > ... I assume you used glFeedbackBuffer (I'm interpreting your message to mean you did create such screenshots)? Do you (or anyone) have any sample code you'd be willing to share? Rendering an OpenGL scene to postscript commands seems like it would be a fairly doable thing, but I haven't any experience in the area. I'd imagine with the basic mechanism in-place it would be just as easy (maybe easier) to go to a format such as SVG so that the result would be editable in Illustrator or CorelDraw. BTW, the openglutils module was just storing a bitmap in the EPS file, it wasn't AFAIK trying to draw the scene with PS commands. Enjoy all, Mike _______________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ |