This sample uses actual features of Brume Game Engine.

To run the default demo you only have to write this source code :


The "Game" class is always included with Brume so you only need to declare the class from the "Brume.Tests" namespace and run the "RunDemo" method.

This source code will execute the default demo.

For advanced users who want to dig into the samples, all they have to do is to get the Game.cs file and copy the content into a new project (as shown in "The Basics" tutorial).

Don't copy the namespace but just the class in the file. The class contains a "Main" method that works like any other tutorial (download the source code from the button above to get a 'ready to launch' project).

Once the project runs, you will be able to comment or uncomment all the code paths present in the InitGame method to test the different features.

With this system you don't have to wait for new tutorials to use all Brume new features.

Here is a list of current features with videos :

multiple cameras setup & frustum culling : with one

camera doing frustum culling and the other showing the

culling in action !

(.avi / 5 Mb)

multi-texturing : use the debug console to test

multi-texturing.

Then put the correct states in your source code to

obtain the best effects.

(.avi / 9.5 Mb)

simple shapes : Brume integrated shapes.

(.avi / 8 Mb)

specular lightning : using specular light with meshes.

And animating the mesh.

(.avi / 3.3 Mb)

fog : Brume actually supports pixel and vertex fog.

(.avi / 700 Kb)

Skinning : demonstrates mesh skinned animation

with vertex blending. The meshes are reflected in a

a mirror.

(.avi / 4.6 Mb)

physics stack : use of Ode for simulating a stack of simple

shapes that fall on the floor.

(.avi / 5.2 Mb)

physics car : Brume's car implementation (based on Ode)

(.avi / 8.7 Mb)

water : a water implementation without shaders.

(.avi / 4 Mb)

spot light : illuminating the scene in the dark.

(.avi / 4 Mb)

animations : playing mesh included animations.

(.avi / 2.4 Mb)

In the current demo you will also find tips for :

- Sounds and music : just place mp3 files or wav sounds and play them in your game

- Animation engine : many samples include animations and state changes. You can

also learn how to switch between different animations.

- Recursive ressources directories : the sample uses dynamic directories to load

all ressources.

- Multiple cameras : switch between cameras.

- Textures loading : you will learn how to load textures into the engine for

multi-texturing

- Sky box : learn how to set up a sky box (works also for Sky spheres)

- Logos & hud interface

- Fonts : based on images.

- Terrains : first implementation -> still in development

- Texture animation : shifting texture coordinates in game loop produces nice

scrollings (dynamic buffers)


Home


Brume Demo


Home


namespace BrumeTutorials

{

class ShowRoom

{

public static void Main()

{

using (Brume.Tests.Game game = new Brume.Tests.Game())

{

game.RunDemo();

}

}

}

}


 


Please click here to install flash player in order to see this website