Download.it search icon
Advertisement

OpenGL demo simulating meteorite impacts with multiple camera angles, explosive sound effects, and detailed fire particle animations

OpenGL demo simulating meteorite impacts with multiple camera angles, explosive sound effects, and detailed fire particle animations

Vote: (15 votes)

Developer: MASMO

Created: 2003-05-20

MD5: 37be68588f916f37107e6c73cbe581b2

Size: 1 MB

Vote

(15 votes)

Developer

MASMO

Created

2003-05-20

MD5

37be68588f916f37107e6c73cbe581b2

Size

1 MB

They are available varied cameras to see the ' bombardamento' from different positions. It also includes the sound of the explosion. The demo occupies 1069Kbytes.

Explosions, have mistaken title!!, it would have to represent a fall of meteorites red on our small planet. They are available varied cameras to see the ' bombardamento' from different positions. It also includes the sound of the explosion. The demo occupies 1069Kbytes.

Routine Description

AUX_RGBImageRec *LoadBMP(char *Filename) Loads a bitmap image (called by LoadGLTextures)

int LoadGLTextures() Load Bitmaps And Convert To Textures

void Camera() Switch the camera's position

void InitPoligoni(int nast) Initializes the polygon of the explosions

void InitAsteroide(void) Initializes the asteroids

void CalcolaAsteroide(void) Calculates the asteroid's position

void DisegnaAsteroide(void) Draws the Asteroids

void CalcolaPezzi(void) Calculates the polygon's position of the explosion

void CalcolaPoligoni(void) Calculates the polygon of the fire

void DisegnaPezzi(void) Draws the polygon's explosion

void DisegnaPoligoni(void) Draws the fire

void Init(void) Inits all

void InitFire(void) Set the matrix 32x32 to zero

GLvoid ReSizeGLScene(GLsizei width, GLsizei height)

int InitGL(GLvoid)

int DrawGLScene(GLvoid)

GLvoid KillGLWindow(GLvoid)

BOOL CreateGLWindow(char* title, int width, int height, int bits, bool fullscreenflag)

LRESULT CALLBACK WndProc(..)

int WINAPI WinMain(..)

These routines have been taken by the examples of NeHe