![]() |
![]() |
|||||||||||||||||||||||||||||||||||||||
Index C++ Code Documentation imagegl::PostScript Derived from: imagegl::PostscriptBase Children: isight::context::Write File: GEOM/imagegl/Postscript.H This library prints OpenGL images in PostScript format. It produces high-quality rescalable vector/polygon graphics, not geom/bitmap graphics. It works using the OpenGL feedback mechanism. This library is divided into three classes: class PostScript - PostScript part of the implementation class PostscriptBase - OpenGL part of the implementation Use the library like this: (1) create a PostScript instance X (2) call X->set_ostream(o) (2) in your imagegl draw handler method, render the object with OpenGL commands between calls X->begin() and X->end() The library works by sorting the polygons by depth. It does not cull hidden polygons. See also (1) http://www.easysw.com/~mike/imagegl/index.html (2) http://reality.sgi.com/mjk_asd/tips/Feedback.html (3) geomview Class PostscriptBase is the OpenGL part of the OpenGL-to-PostScript library. Class PostScript is the PostScript part of the OpenGL-to-PostScript library. Acknowledgements: This code is modified from GLP, an OpenGL to Postscript class library by Michael Sweet. http://www.easysw.com/~mike/imagegl/ . public:
| ||||||||||||||||||||||||||||||||||||||||
|