Friday 11 February 2011

Demo: Seawars!


This is the video for the 1-player mode of my graphics assignment.
List of OpenGL or other features used:
- Texture mapping
- Collision detection
- Shaders (sea waves, boat wakes, cell-shaded moon)
- Model loading from scratch
- Objects transformation
- Basic AI
- Basic GamePlay
- Dynamic lighting
- Particle effects

Boat wakes have been realised by adding a quad behind the boat model and one triangle on each side. Then, these three objects have been moved using the same vertex shader used for the sea waves, with a higher frequency, according to where the ship was moving or rotating.

Not shown in this video is the first-person view, which makes the boat stop to aim to islands more precisely. This was achieved by transforming all the objects on the scene zooming them and rotating them all according to the sniper movements.

The subsequent video, instead, shows the 2-player mode, in which each boat must destroy the other one, and where destroying islands is only useful for grabbing power ups (in both videos you can see the augmented speed power up).


The total given time for the development was four weeks, with just a little tutorial on OpenGL carried on before. Most of the features have been implemented from scratch, by researching on books or course slides, with sometimes a little help from our teachers.
Some of the features (mostly shaders, fp view, 2p mode, particle effects) have been developed in no more than one day, while the deadline was approaching. That's because most of the time was dedicated to 3D transformations and the model loader, which uses obj files to create boats, islands, wakes and bullets, other then to the basic gameplay mechanics to make it an actual game.


I'm sorry about the poor video quality. For example, you cannot see bullets from boats.
This is the address to my youtube channel
http://www.youtube.com/user/dariazzo84#p/u/1/qVhQkjwbhts
If you set an high resolution there, you'll be able to see the demos properly. Sorry about not being able to link my videos directly onto this page.

No comments:

Post a Comment