libmogul

libmogul is a library similar to GLUT, only with fewer features!
Download

libmogul Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Stamatis Mitrofanis
  • Publisher web site:

libmogul Tags


libmogul Description

libmogul is a library similar to GLUT, only with fewer features! Minimal OpenGL Utility Library (libmogul) is a library similar to GLUT, only with fewer features!You can write window-system-independent OpenGL programs with even fewer lines of code than GLUT. Initial support for X11 and Win32.What is `MOGUL'?`MOGUL' here means "Minimal OpenGl Utility Library". It is similar to `GLUT', only simpler, without support for menus or multiple windows. It allows you to write window-system-independent code for OpenGL. It is implemented for X11 and for Win32.What is good about MOGUL?Because of the fewer features, it is possible to structure the library (and consequently, your programs) in a way which may be more convenient for you.Specifically, instead of callbacks for drawing or input (or anything else) you can use a simple event loop, so, for simple cases, MOGUL may be more convenient.MOGUL can be used as a learning tool for people new to OpenGL. The simplest program for MOGUL is only 16 lines (see `src/test/simple.c). Fewer than the same program for GLUT.What is bad about MOGUL?I am still not confident about some details of the library interface. It may need some more changes before I consider it `stable'. I am waiting for your feedback.What is added?Inside MOGUL you will find some functions which would be necessarily implemented in a window-system-specific manner if you decided to place them in your programs. So, a library like this is a good place to put them in.Specifically, there is a function which takes a screenshot and gives it to OpenGL and there are functions that draw letters which are copied from system fonts (this is the approach here, so no fonts need to be distributed with MOGUL).What is missing?There are a few things missing, although these may not be necessary for a strictly minimal library.- There is no support for overlays yet.- These shapes are missing: Tetrahedron Octahedron Dodecahedron Icosahedron Teapot (or some other irregular, non-convex object)- There is no support for changing the size of bitmap fonts yet.- Support for Unicode, dead-keys, accents etc. in keyboard input.- Double clicks.- Anything else you may think.


libmogul Related Software