Download.it search icon
Advertisement

Interactive OpenGL vortex demo featuring camera control, tweakable settings panels, morphing surfaces, and compact 967 KB footprint

Interactive OpenGL vortex demo featuring camera control, tweakable settings panels, morphing surfaces, and compact 967 KB footprint

Vote: (17 votes)

Developer: MASMO

Created: 2003-05-20

MD5: db3104f698999fb0df49310c4a1481eb

Size: 966.7 KB

Vote

(17 votes)

Developer

MASMO

Created

2003-05-20

MD5

db3104f698999fb0df49310c4a1481eb

Size

966.7 KB

In the demo there are two panels for the selection of the functions. The panels are activated with the pressure of the keys F2 and F5. The demo occupies 967Kbytes.

Vortex is one of the demos whom has required more time to have realized. In the demo there are two panels for the selection of the functions. The panels are activated with the pressure of the keys F2 and F5. The demo occupies 967Kbytes.

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 position

void Phelp(void) Shows the help panel

void Pannello(void) Shows the setting panel

void DisegnaTavole(void) Show's the surface's polygons

void MuoviTavole(void) Moves the surface's polygons

void InitTavole(void) Initialized the surface

void Renderizza(int Stile) Shows the Vortice

void Vortice(void) Moves the Vortice

void InitMorph(void) Initialized the morphing between two sets of vortice's coordinates

void Punti(void) Draw the Vortice Axle

void Muovi(void) Moves the Vortice in x,z direction

float Casuale(int a,int b) Return a random float number

void Init_Asse(void) Init the axle of the Vortice

void Init(void) Init all

void Click_Pannello(float x,float y,int dec) Click on a function of the setting panel

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)