Ygl 4.1f review

Download
by rbytes.net on

Ygl emulates SGI's GL routines under X11

License: GPL (GNU General Public License)
File size: 132K
Developer: Fred Hucht
0 stars award from rbytes.net

Ygl emulates SGI's GL routines under X11. It compiles fine under AIX >3.2, HP-UX >7.0, Linux with XFree/Xorg, SunOS, ConvexOS, Mac A/UX, Mac OS/X and many others, but needs an ANSI-C compiler (gcc is ok). The library was written for two reasons:

On our RS/6000 GT4 hardware, 2D Ygl is up to twenty times faster (circf()) than GL (strange, isn't it?...)
2D (and 3D using OpenGL) graphics runs on non GL hardware and even on remote X-Servers.

Included are most of the two-dimensional graphics routines, the queue device routines, the query routines, doublebuffering, RGB mode with dithering, window attribute routines, FORTRAN bindings and more (see below).

3D stuff was added with version 4.0 using OpenGL calls.

Since Version 2.8, all Ygl functions do have a FORTRAN interface. The FORTRAN versions of all functions have an underscore appended, so the FORTRAN compiler must append a '_' to all function names. f2c does this, xlf (under AIX 3.2) requires the option -qextname. See smile_f77.f for an example program. Set FortranBindings to 0 in Imakefile or change Makefile.std if you don't want these bindings. FORTRAN bindings are not tested because I have no programs.f to test. If you find bugs, feel free to report them to me.

You can always find the latest version of Ygl in the directory ftp.thp.Uni-Duisburg.de/pub/source/X11/.

Note that perl, python and tcl bindings for Ygl are available here thanks to Prabhu Ramachandran.

What's New in This Release:
Added gsync() (only works with OpenGL bindings).
Added {XY}MAXSCREEN macro
Removed poly*() from Ygl.h, as they are not implemented yet.

Ygl 4.1f keywords