This project is read-only.

Basic Concepts

This page will explain in a high level how the Engine works.
This introduction tutorial will only show the basic.

The engine is divided in lots of modules, each one responsible for specifics tasks. To build a sample, the minumum Modules that we always need to deal with are:
  • Engine Stuff
  • Screen Manager
  • Renderer
  • World
  • Objects

Engine Stuff

This is the principal module that conects all the others, it also works as a simple wrapper to the Graphics Device.

Screen Manager

The engine uses the concept of screens, every environment that can be showed to the user is a screen, for example, the 3D world, the menus, some Cinematic ...
This module handle how to add, remove and change screens. The most common type of screen is the IScene that is prepared to handle a 3D world.

World

It is a container of objects, Triggers, Particles System .... everything that can interact or be drawn is handled by this module.

Objects

Objects are all the entities that can be draw (may or may not interact with the user). It is composed by 3 parts. A shader is responsible to draw the object (with the renderer, they work together), the Modelo that is responsible to hold all the geometric and texture information of an object (vertices, textures, bones .... ) and a PhysicObject that is the spacial representation of the object.

Renderer

Responsible for drawing the objects in a IScene, this module is responsible to draw all the objects.

These Modules comunicate with each other in the following way.



The Engine has a ScreenManager that has lots of screens (of various types). One specific type is the IScene that has a IWorld and a RenderTechnich. The Engine user need only to subclass one of the Scene and create their world;

A diagram with more information about the classes can be found Here.


Back to Documentation

Last edited Mar 19, 2011 at 12:28 AM by tpastor, version 4

Comments

No comments yet.