Explosions (OpenGL Visual Demo)
They are available varied cameras to see the '...
- Category Other
- Size 1 MB
- Program by MASMO
Explosions (OpenGL Visual Demo)
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