Skip to main content

History: Gorilla

Preview of version: 1

Overview


Gorilla is a 2D drawing engine for Ogre, which can be projected into 3D space, or onto the screen as a 2D overlay, it comes in two files Gorilla.cpp and Gorilla.h. Gorilla is intended to substitute the Ogre overlay system, and to provide a good framework and basis for any Ogre programmer to build their HUD or GUI system upon.

Features


Gorilla is designed for speed, thus it uses Texture Atlases, Caching and tries to render everything in one batch. Gorilla screens can be either in an overlay form (2D), or attached to a SceneNode (3D).

Gorilla can draw the following types of shapes:

  • Filled (Solid, Gradient or Sprite-based) Rectangles (Canvas Rectangles)
  • Outlined Rectangles (Canvas Boxes)
  • Lines with n-thickness (Canvas Lines)
  • Sprites (SpriteLayer Sprites)
  • Plain and formatted text (Canvas Captions and Text)


Gorilla only uses Ogre as a dependency, and is developed with Ogre 1.7 in mind; but should work with any 1.x version.

Gorilla is released under the MIT licence.

Downloads


Gorilla comes in two files, but also comes with a sample image and gorilla file called "dejavu".


Code example


Using Gorilla is really easy, here is how show and update the FPS on the screen:

Copy to clipboard
mGorilla = new Gorilla::Silverback(); mGorilla->loadAtlas("dejavu"); mScreen = mGorilla->createScreen(mViewport, "dejavu"); mFPS = mScreen->createText(10,10, "", 15); ... mTimer += evt.timeSinceLastFrame; if (mTimer > 1.0f / 60.0f) { mTimer = 0; mFPS->text("FPS: " + Ogre::StringConverter::toString(mWindow->getLastFPS())); }


Other information can be read in the very long readme file and gorilla schema.

See also


Screenshots and Videos


Gorilla screenshot 1

History

Information Version
Sat 08 of Nov, 2025 12:20 GMT-0000 paroj 19
Mon 01 of Feb, 2016 00:46 GMT-0000 c6burns updated fontgen repo link 18
Thu 05 of Sep, 2013 06:11 GMT-0000 RandomCitizen Updated the Downloadlink for the BFG. See Forum Post http://www.ogre3d.org/forums/viewtopic.php?f=11&t=59984&start=650#p494844 17
Thu 16 of Feb, 2012 17:08 GMT-0000 ekow Updates BFG download link (old: http://www.megaupload.com/?d=PVZAEP9N) 16
Sun 18 of Sep, 2011 22:52 GMT-0000 Beauty mistype correction 15
Thu 15 of Sep, 2011 04:36 GMT-0000 zarlox 14
Sat 27 of Aug, 2011 09:19 GMT-0000 jacmoe 13
Sat 27 of Aug, 2011 08:58 GMT-0000 jacmoe 12
Sat 27 of Aug, 2011 08:52 GMT-0000 jacmoe 11
Sat 27 of Aug, 2011 08:49 GMT-0000 jacmoe 10
Fri 12 of Aug, 2011 19:24 GMT-0000 pestaa I guess the example was outdated? [rollback version 7] 9
Fri 26 of Aug, 2011 22:43 GMT-0000 Beauty Removed page content by whish of the Gorilla author )-: 8
Tue 09 of Aug, 2011 11:51 GMT-0000 jacmoe 6
Tue 09 of Aug, 2011 11:51 GMT-0000 jacmoe 5
Sun 07 of Aug, 2011 10:12 GMT-0000 Beauty added link to Gorilla.NET 4
Sat 16 of Apr, 2011 20:48 GMT-0000 Beauty added link to MogreGorilla wrapper 3
Mon 14 of Mar, 2011 15:26 GMT-0000 spacegaier fixed youtube link 2
Mon 14 of Mar, 2011 12:55 GMT-0000 Beauty NEW PAGE 1