| Up: | gltools - an OpenGL based on-line graphics toolbox |
| Next: | |
| Prev: | glmesh - Function Drawing on Simplex Meshes |
This module provides the possibility to dump rendered graphics into vector postscript files using the feedback buffer rendering mechanism of OpenGL. It is in a beta state and possibly will remain there because it is not that easy to map all the OpenGL functionality to Postscript. It should reasonably well render graphics which remains in the limits of the OpenGL features used by the other gltools parts.
This code would not exist if Mark Kilgard wouldn't have placed his rendereps sample code onto the net, and if there would not exist Frederic Delhoume's free gouraudtriangle postscript code. From Mark's code, handling of lines and polygons has been taken. String handling is new.
void glepsDumpUnSorted(glWindow w, FILE *file);
Create vector postscript dump using the feedback buffer mechanism, but without hidden surface removal.
void glepsDumpSorted(glWindow w, FILE *file);
Create vector postscript dump using the feedback buffer mechanism, with hidden surface removal based on sorting the feedback buffer before the dump.
/*
| Up: | gltools - an OpenGL based on-line graphics toolbox |
| Next: | |
| Prev: | glmesh - Function Drawing on Simplex Meshes |
© pdelib team 12/21/1999. This page has been generated using the LaTeX typesetting system and latex2html.