menu
menu

Fighter (OpenGL Visual Demo)

'Fighter' visualizes an airplane flies and shoots...

  • Category Other
  • Size 581.2 KB
  • Program by MASMO

Fighter (OpenGL Visual Demo)

'Fighter' visualizes an airplane flies and shoots. The airplane follows a casual movement while the camera is being positioned in a fixed point next to the airplane. The bullets when they touch the ground they explode. The model of the airplane (originally in 3dstudio format) has been converted and saved in the milkshape format. The demo occupies 582Kbytes.

'Fighter' visualizes a war airplane that bullets it flies and it shoots. The airplane follows a casual movement while the camera is being positioned in a fixed point next to the airplane. The bullets when they touch the ground they explode. The model of the airplane (originally in 3dstudio format) has been converted and saved in the milkshape format. The demo occupies 582Kbytes.

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 InitBullet(void) Init the bullet array

void InitBuf(void) Inits the ground array

void InitAereo(void) Inits the airplane variables

void InitScie(void) Inits the airplane smoke (M key)

void ActiveBullet(void) Actives a bullet

void InitScia(void) Inits the airplane smoke

void MoveDrawBullet(void) Moves and Draws the bullets

void MoveAereo(void) Moves the airplane

void DrawBuf(void) Draws the ground Quads

void DrawLine(void) Draws the ground using lines (not used)

void DrawAereo(void) Draws the airplane

void SciaAereo(void) Draws the airplane smoke

void Camera(void) Calculate the camera position for each camera type

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 Fighter (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

ADP Smart Compliance

Cloud-based solution for corporate human resources teams; focuses on regulatory compliance at various levels

Everwise

An enterprise learning program that makes it easier to create and manage corporate culture

The Wild

Use augmented reality (AR) and virtual reality (VR) to remotely collaborate with colleagues and clients on Oculus Quest, iOS, HTC Vive, and more