Plane (OpenGL Visual Demo)
' Plane' is a demo that visualizes two airplanes that fly...
- Category Other
- Size 1.2 MB
- Program by MASMO
Plane (OpenGL Visual Demo)
' Plane' is a demo that visualizes two airplanes that fly above a desert territory. The movement of the airplanes has checked in casual way from the computer, only the camera is able to be moved around the airplane. The model of the airplane is a 747 of grey color. The demo occupies 1241Kbytes.
' Plane' is a demo that visualizes two airplanes that fly above a desert territory. The movement of the airplanes has checked in casual way from the computer, only the camera is able to have moved around the airplane. The model of the airplane is a 747 of grey color. The demo occupies 1241Kbytes.
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 InitScia(void) Initializes the airplane smoke
void InitBuf(void) Initializes the array for the ground
void InitAerei(void) Initializes the variables for the airplanes
void MoveScia(void) Moves the Airplane Smoke
void MoveAerei(void) Moves the airplanes
void DrawScia(void) Draws the airplane smoke
void DrawAerei(void) Draws the airplanes
void DrawBuf(void) Draws the ground and the water
void Camera(void) Calculate the camera position
void MakeDemo(void) Calculate the new camera position when in demomode
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