Skip to main content

History: Sinbad Model

Preview of version: 12

Picture of the Ogre mascott "Sinbad"

General Info


This is Sinbad, OGRE's official mascot as of January 2010. His name comes from the community nickname of Steve Streeting, OGRE's Founder and former Project Lead. The character design and 3D model were made by Zi Ye (aka omniter), with input from the OGRE community. The OGRE mesh and Blender scene file are available in the OGRE SDK (1.7 and up) under the Creative Commons Attribution-Share Alike 3.0 Unported License.

Animation


Sinbad can perform the following actions:

  • Idle
  • Run
  • Jump
  • Take out swords
  • Put away swords
  • Swing swords (vertically or horizontally)
  • Dance


These are achieved by mixing and playing 13 different animations. Some animations control different parts of Sinbad's body, and can be played simultaneously (e.g., swinging the swords while running). Others control the same parts, and are therefore mutually exclusive (e.g., idling or dancing but not both). In addition to the animations, two sword entities can be attached to tag points on Sinbad's hands or sheaths to complete the character.

Here is a slightly older video of Sinbad in action:

Copy to clipboard
<iframe src="http://player.vimeo.com/video/8815075" width="400" height="300" frameborder="0"></iframe>


Usage

Simple Setup


If you just want to load Sinbad into your application and animate him, first make sure media/packs/Sinbad.zip is properly loaded. Now do this in your setup:

Copy to clipboard
// Create entity from mesh and attach it to a scene node. SceneNode* node = sceneMgr->getRootSceneNode()->createChildSceneNode(); Entity* ent = sceneMgr->createEntity("Sinbad", "Sinbad.mesh"); node->attachObject(ent); // Set animation blend mode to additive / cumulative. ent->getSkeleton()->setBlendMode(ANIMBLEND_CUMULATIVE); // Get the two halves of the idle animation. baseAnim = ent->getAnimationState("IdleBase"); topAnim = ent->getAnimationState("IdleTop"); // Enable both of them and set them to loop. baseAnim->setLoop(true); topAnim->setLoop(true); baseAnim->setEnabled(true); topAnim->setEnabled(true);

Now do this in your update every frame:

Copy to clipboard
// Update the animations according to elapsed frame time. baseAnim->addTime(elapsedTime); topAnim->addTime(elapsedTime);


Advanced Setup


There are many details involved in controlling animated characters - way too many for this article. The Character sample in the SDK provides a full demonstration of Sinbad's capabilities. In particular, refer to the code in SinbadCharacterController.h. The comments should provide a fairly decent explanation of what is going on.

Development


The development of Sinbad happened in this thread. Below are a few images showing Sinbad during various stages of development.

Initial Sketch (click to enlarge)
Initial Sketch (click to enlarge)
Initial Sketch (click to enlarge)
Initial Sketch (click to enlarge)
Model development (click to enlarge)
Model development (click to enlarge)
Model development (click to enlarge)
Model development (click to enlarge)




Appearances

Award for Steve Streeting


For creating, publishing, leading and support of Ogre for awesome 10 years, Steve got this award from the Ogre community when he retired from his lead position in 2010.
Sinbad model - award for Steve Streeting

(click to enlarge)
(click to enlarge)
(click to enlarge)
(click to enlarge)

Pixel Art


Sinbad  Model - fan pictury by user Skiri Sinbad  Model - fan pictury by user omniter

Games

by Kojack (click to enlarge)
by Kojack (click to enlarge)
by tommo (click to enlarge)
by tommo (click to enlarge)


Kinect


History

Information Version
Fri 25 of Nov, 2011 16:09 GMT-0000 Beauty added download link for Sinbad.zip 13
Mon 21 of Feb, 2011 11:00 GMT-0000 Beauty tiny change 12
Mon 21 of Feb, 2011 10:56 GMT-0000 Beauty picture titles renamed 11
Sun 20 of Feb, 2011 22:18 GMT-0000 Beauty added pictures of Steve's award 10
Sun 20 of Feb, 2011 22:03 GMT-0000 Beauty replaced external pic by uploaded copy (to avoid dead links in the future) + changed TAGs for improved display of images (full size as overlay instead of external link) 9
Sun 20 of Feb, 2011 06:53 GMT-0000 omniter 8
Sun 20 of Feb, 2011 06:49 GMT-0000 omniter 7
Sun 20 of Feb, 2011 05:50 GMT-0000 omniter 6
Sat 19 of Feb, 2011 23:21 GMT-0000 Beauty improved and extended the description + added section "Development" with pictures + moved links up (it should not be hidden at the bottom after many pics) 5
Sat 19 of Feb, 2011 21:34 GMT-0000 Beauty added fan pictures 4
Sat 19 of Feb, 2011 20:30 GMT-0000 Beauty added link to user:Sinbad 3
Sat 19 of Feb, 2011 20:27 GMT-0000 Beauty Added picture + tiny changes 2
Sat 19 of Feb, 2011 20:14 GMT-0000 Beauty NEW PAGE 1