Overview

    glv is a generic 3D data viewer for the command-line.

Usage
    The tool can be used by typing commands interactively, with pipes or with input files. The goal is to complement to other shell tools (grep, more, sed, gnuplot, ...) but for raw 3d data.


File format
    The input format is easy to understand for programmers of 3D applications and even for novices. It's rich enough to specify large meshes with color information. A conversion script can be easily written to convert files in another format to the glv file format permitting to use data from other applications.


    The inpux syntax is declarative, and unstructured. Every line of information is optional.  The same data can be expressed in multiple ways:

  • "opengl-like" primitives  (glcolor,  glvertex, ...)
  • simplified one-liner primitives (line, triangle, triangle_colored, text, ...)
  • vertex arrays: for large datasets and to simplify the conversion from indexed file formats

Integration

    The program is only a "lightweight viewer", making available an interactor (a way to use the mouse , keys and menus to navigate in the 3d data). No added logic for other file formats or user specific features are built-in.

    Any further data preprocessing has to be done externally by using conversion scripts exchanging data using pipes or intermediary files.