menu
menu

Impact Test (OpenGL Visual Demo)

' Impactest' visualizes a missile that explodes against a...

  • Category Other
  • Size 184 KB
  • Program by MASMO

Impact Test (OpenGL Visual Demo)

' Impactest' visualizes a missile that explodes against a block of cement. The run of the missile is followed by 8 cameras, some fixed others in movement. When the missile explodes against the block, this is deformed for the explosion. The demo occupies 184Kbytes.

' Impactest' visualizes a missile that explodes against a block of cement. The run of the missile is followed by 8 cameras, some fixed others in movement. When the missile explodes against the block, this is deformed for the explosion. The demo occupies 184Kbytes.

Routine Description

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

int LoadGLTextures() Load Bitmaps And Convert To Textures

void VectorNormalize() ..... Vector Functions (used by Luce)

void Luce(double x, double y, double z,double dimensione,float r,float g,float b,float iox,float ioy,float ioz,int Tex) Adds a particle with:

x,y,z => Position

dimensione => Size

r,g,b => Color

iox,ioy,ioz => Camera Position

Tex => Texture Number

void Camera(void) Camera type, calculate the camera position

void CalcolaTav(void) Calculates the position of the exploded material

void DisegnaTav(void) Draws the exploded material

void MuoviEsplosione(void) Moves the explosion quads

void DisegnaEsplosione(void) Draws the explosion quads

void DisegnaMuoviSmoke(void) Draws and Moves the missile smoke

void DisegnaMissile(void) Draws the missile

void InitDati(void) Inits the global variables and the arrays for missile smoke, explosion quads and esploded material

void InitPareti(void) Calculates the wall coordinates

void DisegnaLancio(void) Draws the start base

void DisegnaSuolo(void) Draws the ground

void DisegnaPareti(void) Draws the walls

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(..)

The Asteroid is an Milkshape Object (see Nehe Web Pages)

These routines have been taken by the examples of NeHe

Top 3 Impact Test (OpenGL Visual Demo) Alternatives

GeForce3 Techdemo Movie #2 (quicktime)

Here is the Zoltar tech demo by Nvidia that demonstrates...

GeForce3 Techdemo Movie #1 (quicktime)

Here is the Chameleon tech demo by Nvidia that demonstrates...

Xbox Flash

This file contains an interactive flash animation of Xbox...

Recommended Software

Act!

Legacy customer relationship and business contact management software originally developed more than three decades ago

Donorbox

Cutting edge fundraising solution that's easy to implement and can help you capture more donors

Kami

Digital classroom software that makes it easy to meet students, make lesson plans and grade assignments