Mandel (OpenGL Visual Demo)
The program is simple, perhaps also too much, and it allows...
- Category Other
- Size 296.5 KB
- Program by MASMO
Mandel (OpenGL Visual Demo)
The program is simple, perhaps also too much, and it allows of to visualize the whole mandelbrot in 3d. The demo occupies 297Kbytes.
After a short pause I have returned in action with this small Demo. The program is simple, perhaps also too much, and it allows of to visualize the whole mandelbrot in 3d. The demo occupies 297Kbytes.
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 Mandel(double infx,double supx,double infy,double supy) Calculate Mandelbrot to the suitable coordinates
void VisuaUno(void) Draws mandel using points in 2d
void VisuaDue(void) Draws mandel using points in 3d
void VisuaTre(void) Draws mandel using lines
void VisuaQuattro(void) Draws mandel using quads
void Quadrato(void) Draws the selection square
void Pannello(void) Draws the panel (f2)
void Click_Pannello(float x,float y,int dec) Manages the click on the panel
void Calcola(void) Calculates the new mandel coordinates
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