GL2PS is a C library providing high quality vector output (PostScript, PDF, SVG) for an OpenGL application.
See [
1] for more information.
Tcl3D wraps the GL2PS library. It also has some demonstration programs using GL2PS.
An example can be found at
http://www.tcl3d.org/cgi-bin/democont.tcl?../demos/TutorialsAndBooks/NeHe/Lesson03.jpg