It is important to distinguish between engine and 3d engine games. Novices in video game programming often confuse the 2. A game engine creates a game, it manages the display, collisions, sound, AI etc, while the 3d engine that does the display. A 3d engine is not enough to make a game, and is not necessarily the most critical component of an engine games.
Ogre is an open source 3d engine and performance. It has many add-on that we will use the latest physics and sound. Ogre is perhaps more complicated than other engines such as Irrlicht at first, but it is extremely flexible and has a great community that will help you once you have a problem. But it is necessary to speak a minimum of English: the forum is in English and most of the documentation is in English.
This course does not pretend to make the rounds of all the functionality of Ogre, you will be taken to read the documentation for Ogre uses more specific, but he intends to give you a good foundation to start (and to read doc calmly).
I-A. 3d engine, what’s that?
A 3D engine is used to simplify the graphics and use of the graphics card. You can use the graphics card directly using DirectX or OpenGL, but it is long, tedious and complicated. A 3d engine for example enable you to display just a character on the screen, making an explosion, etc.
Of course, nothing prevents you from doing your own 3D engine, but we must keep in mind that this may take several years and would be probably less efficient than the open source 3D engines already exist.
II. Installation
I’m not a linux pro, I will describe here only the installation of windows with Ogre for the Visual C + +. Of course, nothing prevents you from using MinGW, but many add-ons are much easier to install Visual C + + and PhysX is only available for VC.
II-A. Install Visual C + + 2008 Express
Visual C + + Express is available free for download on the Microsoft site here:
http://msdn2.microsoft.com/fr-fr/express/aa975050.aspx
Select Visual C + +, download and install.
Sometimes it may be practical to have an English edition in particular for failing to translate the compiler errors on forum non francophones.
III-A. Proposed minimum
The first step is to create an empty win32 project if you’re running windows. Add a file main.cpp, and add the linker OgreMain.lib OIS.lib (in release).
Add the code in main.cpp:
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#define WIN32_LEAN_AND_MEAN
#include “windows.h”
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
#else
int main(int argc, char **argv)
#endif
{
try {
} catch( Ogre::Exception &e ) {
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
MessageBox( NULL, e.what(), “An exception has occurred!”, MB_OK | MB_ICONERROR | MB_TASKMODAL);
#else
fprintf(stderr, “An exception has occurred: %sn”,
e.what());
#endif
}
return 0;
}
This code is used to maintain compatiblitée between different systems (windows, linux and mac), and raises an exception in case of error in the try block.
to know more about game programming and game engines visit our 3d game creation forum.we will help you to andrestand the game development process.
Grab important info to get cheap playstation 3 – your individual guide.

You must log in to post a comment.