Water (OpenGL Visual Demo)
The demo is configurable using the file "Water.ini." On my...
- Category Other
- Size 350.9 KB
- Program by MASMO
Water (OpenGL Visual Demo)
The demo is configurable using the file "Water.ini." On my computer it results to be fluid thin to a definition of 200x200 points. The demo occupies 351Kbytes.
After the demo " Surface " has succeeded in creating the effect water. The demo is configurable using the file "Water.ini." On my computer it results to be fluid thin to a definition of 200x200 points. The demo occupies 351Kbytes.
Routine Description
AUX_RGBImageRec *LoadBMP(char *Filename) Loads a bitmap image (called by LoadGLTextures)
int LoadGLTextures() Load Bitmaps And Convert To Textures (Not used)
void Pressione(int x,int y,int fgocce) Create a pression in the mouse' position. It modify the array VID
void Traccia(void) It is the advancement of the automatic trace.
void LoadIni(void) Loads the file "Water.ini"
void CreaGrid(void) Sets the matrix BUF eand VID zero
void Gocce(void) Generate the drop on the water
void muovi(void) the water's movement
void Camera(void) Camera position
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