[About] [News] [Documentation] [Screenshots]


bugle-eps — captures vector graphics representatios of scenes


filterset eps
    filename "screenshot.eps"
    key_eps "key"
    title "My screenshot"
    bsp "no"
    buffer "10000000"


This screenshot is similar to bugle-screenshot(7), but instead of a raster image, it produces a vector graphic suitable for printing. This is achieved through gl2ps, which is incorporated into bugle. The supported formats are Postscript, Encapsulated Postscript (EPS), Portable Document Format (PDF) and Scalable Vector Graphic SVG).

The capturing process utilises the OpenGL feedback buffer (see glFeedbackBuffer(3)), which creates some inherent limitations. No per-fragment effects (such as texturing or bitmap rendering) are captured, not will vertex programs work correctly. Essentially, the colour of each vertex must be either directly specified or determined by the OpenGL lighting model.



The file to which the screenshot will be written. The extension is used to determine the file format. Valid extensions are .ps, .eps, .pdf and .svg.


The key-press which triggers the snapshot.


The title that is embedded in Postscript and EPS files.


If this boolean is enabled, the depth sorting is done with a BSP tree to give accurate results. This may be necessary to get correct results in scenes with complex occlusion, but it is much slower.


The number of entries to allocate for the feedback buffer. If this is too low, the feedback buffer will overflow and the screenshot will fail. The default should be enough for most simple scenes, but for highly complex scenes it may be necessary to create a larger buffer.


bugle is written and maintained by Bruce Merry.

See also

bugle(3), glFeedbackBuffer(3)

Get BuGLe at SourceForge.net. Fast, secure and Free Open Source software downloads