|
Blender V5.3
|
GHOST is yet another acronym. It stands for "Generic Handy Operating System
Toolkit". It has been created to replace the OpenGL utility tool kit GLUT. GLUT was used in Blender until the point that Blender needed to be ported to Apple's Mac OSX. Blender needed a number of modifications in GLUT to work but the GLUT sources for OSX were unavailable at the time. The decision was made to build our own replacement for GLUT. In those days, NaN Technologies BV was the company that developed Blender.
Enough history. What does GHOST have to offer?
In short: everything that Blender needed from GLUT to run on all its supported operating systems and some extra's. This includes :
Font management has been moved to a separate library.
GHOST supports the following platforms:
GHOST is not build standalone however there are tests in intern/ghost/test
The GHOST C++ API consists of the following files:
For an example of using the GHOST API, have a look at the GHOST_Test.cpp program in the ?/ghost/test/gears/ directory.