CL library
2.0
The CL library is an OpenGL convenience layer for real-time rendering. CL is written ANSI C for OpenGL 1.2. It is under development by members of the 60Hz Real-time Rendering Group at the Department of Computer Science and Software Engineering at the University of Western Australia. It is open source under the GNU Public License.
For details on how this documentation is organised, see the Documentation Guide.
CL is designed to complement OpenGL rather than hide it. It has been designed with a number of key features:
- CL provides structs that contain data common to real-time OpenGL applications, and standard functions for creating and using them.
- CL syntax (naming conventions etc.) resembles OpenGL syntax and CL structs use GL types.
- CL functions encapsulate calls to multiple OpenGL functions.
- CL is open source and freely distributable.
These features may make CL particularly suitable for teaching OpenGL; it introduces OpenGL syntax and structure, provides a good foundation to help overcome common problems, and is open source to allow for code inspection.
All CL structures are based on varying levels of encapsulation of data required for rendering with the OpenGL. The most basic structures can be passed directly to OpenGL. The higher level structures represent data passed to the same OpenGL function (with different parameters). The highest level structures are more subjective and contain data as commonly grouped by real-time rendering applications.
CL provides functions for four major areas:
- state: control CL state (eg. enable/disable CL features)
- standard: malloc, free, set, serialise, and print CL structs
- rendering: load and render structs using OpenGL
- convenience: other useful functions
The programmers who contributed to CL are:
- Nick Lowe
- James Strauss
- Gian Paolo Lorenzetto
Thanks also goes to Amitava Datta and the rest of the 60Hz Real-time Rendering Group for discussion and feedback during the development of CL.
- Author:
- Nick Lowe
James Strauss
Gian Paolo Lorenzetto
Jason Wong
- Date:
- 2005
Generated on Thu Dec 27 13:53:41 2007 for CL by
1.4.6