[vtkusers] VTK-->postscript using OpenGL feedback mode

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Thu Sep 16 02:04:21 EDT 2004


>>>>> "TS" == Theodore Sternberg <tdsternberg at lbl.gov> writes:

    TS> Has anyone ever attempted, from within VTK, to put OpenGL into
    TS> feedback mode, and then convert the feedback buffer to
    TS> Postscript (or whatever)?  

GL2PS:  http://www.geuz.org/gl2ps/

Its already integrated into VTK.  Grab VTK-4.4.  When building it,
turn on advanced options and turn on VTK_GL2PS.  Then use the
vtkGL2PSExporter class to generate PS/EPS/PDF output.  Certain things
like ImageActors don't work at all.  Otherwise basic primitives work
fine.  For volume rendering you can render the 3D actors as images and
embed the text into the PS output.

cheers,
prabhu



More information about the vtkusers mailing list