Skip to main content

History: Mogre Wiki Tutorial Framework

Source of version: 15 (current)

Copy to clipboard
            {DIV(class="Layout_box6")}{CUT(colsize=10%|70%)}{IMG(fileId="1506",imalign="left",link="Mogre Wiki Tutorial Framework",title="Mogre Wiki Tutorial Framework")}{IMG}
---
{DIV(class="bigBold")}Mogre Wiki Tutorial Framework{DIV}
This '''mini-framework''' is meant to be a common framework for the tutorials.
The purpose of this framework is slightly different to the Ogre one, as portability is less of an issue with Mogre than Ogre. Instead the objectives of this tutorials framework are:
# To hide the complexity of setting up Mogre away and provide a simple to use starting point to learning Mogre.
# To be relatively close to the Ogre tutorials framework so that it's easy to fall back on using the Ogre documentation or tutorials in areas where the Mogre ones are lacking.
# To present a simple sample of how one might go about setting up Mogre. Note though that this is probably __Not__ how you would want to set up Mogre under real circumstances. When you are ready for more, you might want to look into the [http://www.ogre3d.org/addonforums/viewtopic.php?f=8&t=13160|Quickstart Projects] to get some ideas about how to compose a game engine with Mogre.
{CUT}{DIV}

!Download
[http://bitbucket.org/amirabiri/mogre.tutorialframework/downloads/Mogre.TutorialFramework-CS-2010.zip|Visual C# 2010 / .NET 4.0]
[http://bitbucket.org/amirabiri/mogre.tutorialframework/downloads/Mogre.TutorialFramework-CS-2008.zip|Visual C# 2008 / .NET 2.0-3.5]

[http://bitbucket.org/amirabiri/mogre.tutorialframework/downloads/Mogre.TutorialFramework-VB-2010.zip|Visual VB.NET 2010 / .NET 4.0]
[http://bitbucket.org/amirabiri/mogre.tutorialframework/downloads/Mogre.TutorialFramework-VB-2008.zip|Visual VB.NET 2008 / .NET 2.0-3.5]

__Note:__ If you get a ''BadImageFormatException'' you need to set the __target plattform__ from "Any CPU" to "__x86__". 
This option you find in the project settings (right click to "Tutorial" in project overview Visual Studio). Then you choose the "Build" tabular of the project settings. There you find the ''target plattform'' option.
!Setup
Simply download the zip file and open it. It contains a Visual Studio solution all ready to use. It includes all the necessary .dll files, media files and the project configuration. All you have to do is edit the Tutorial code file according to the tutorial's instructions.
!Source
The source code of the Tutorial framework is also available [https://bitbucket.org/mogre/tutorialframework/src|here].

!Other Uses
The tutorials framework is also a convenient base for __prototyping__. (e.g. to make tests with Ogre basics like ((ManualObject|ManualObjects)), ((-Overlay|Overlays)), etc.)

It's possible to __disable the Ogre configuration window__, which splashes for each start. Details you find ((Mogre Wiki Tutorial Framework Other Uses|here)).