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 20:08:31
|
If anyone's interested the GLP library is an (LGPL) C++ lib to do OpenGL
-> postscript:
http://www.easysw.com/~mike/opengl/index.html
it honestly doesn't seem particuarly complex, it uses the feedback
buffer, and apparently does some culling of the results to eliminate
massive overdraw.
Similar-looking C lib for the same purpose (also LGPL):
http://www.geuz.org/gl2ps/
apparently had a Python wrapper at some point in time, though it doesn't
appear to be available any more (Toby?) All in all this looks like the
most mature of the solutions (for instance it appears able to deal with
intersection polygons, though if I'm reading right it may generate
striated results for smooth-shaded polygons.
There's another variant on the same approach here:
http://192.48.159.181/developers/code/mjktips/Feedback.html
Enjoy,
Mike
gabor wrote:
>On Mon, 2003-05-19 at 19:16, Mike C. Fletcher wrote:
>
>
>>gabor wrote:
>>...
>>
>>
>>...
>>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
>>
>>
>
>no, i didn't do anything sophisticated :)
>
>i simply create screenshots with kde, and that's all :(
>
>
>gabor
>
>
_______________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
|