About About


What is the Magrathea Engine ?

The Magrathea Engine is a real time 3D planetary engine able to reproduce seamless solar systems with high detailed planets composed of their atmosphere, terrain, vegetation and weather. Here are some of his technical specifications :

-Use of the OpenSceneGraph rendering engine.
-Written in C++.
-Cross platform.

Context

This is an end studies project of  6 students of the French school Epitech.

Features

Allow reproducing solar systems :
With a simple XML file defining a hierarchical planet system, Magrathea Engine allows you to manage an entire system with several planets and their rotations. A single class is needed to load and to control all this system. It is possible to travel from a planet to another without loading times, and Magrathea Engine provides a camera system that adapts the viewer to the planet where he is.



Asynchronous loadings :
Magrathea Engine exploits multi core and multi threaded processors with a streaming engine that allows to save loading times and memory usage. The streaming system is based on OpenThread features.

Limitless and spherical terrains :
The streaming engine is used to provide limitless planets that are defined with a single XML file. So you can choose to render an entire solar system or a unique planet. Planets use OpenSceneGraph node system to provide a flexible structure.



Level of details :
The LOD (Level of Detail) algorithm is based on the engine file format. It provides fast rendering and high zoom possibilities. It is derived from the ChunkLod algorithm.

Procedural geometry generation :
High levels of details are generated on the fly and procedurally. It allows to save memory for terrain files and to provide realistic details. Perlin noises are used to generate these geometries.

Real topographic data import :
Magrathea Engine provides converters to get real world data in the engine file format. It allows reproducing real landscapes.

Realistic sky rendering :
With customizable data provided by the planet's file format, you can reproduce any type of skies, like an Earth like sky or a Mars like sky. It also manages day/night cycles.



Cloud rendering :
A LOD algorithm is used for fast rendering of clouds from any distance. The clouds are also dynamically updated to hold account of wind direction and power.

Weather effects :
The engine provides realistic simulations of weather effects like rain or fog. These effects also affect the viewer's distance of view. They are randomly generated from customizable parameters.

Level of details
:
A LOD algorithm is used for realistic and good looking rendering depending on the viewer's distance.


Flow rendering :
Magrathea Engine use fluid propagation's algorithm to simulate realistic flows based on the terrain's topography.

All type of fluids :
The fluid definition's file allows recreating all type of fluids, like water or lava.


Procedural texturing :
Terrain texturing is based on procedural algorithms that use parameters like the altitude or the slope to calculate what type of texture to render.

Ground vegetation :
The engine generates high details around the viewer like grass on the ground, or other details like stones.

All type of landscape :
Vegetation can be customized to generate all type of landscapes, like jungles, forests, deserts or plains.

Procedural vegetation :
To guarantee a huge visual diversity, trees are randomly generated from base meshes to obtain only different trees in a given area.

License

Magrathea Engine is an LGPL licensed project.