menu
menu

Mare (OpenGL Visual Demo)

The demo visualizes the writing OPENGL that floats on the...

Mare (OpenGL Visual Demo)

The demo visualizes the writing OPENGL that floats on the water. You can change the colors, the effect transparency and the visualization mode. The demo occupies 216Kbytes.

Yes... another effect with the water. The demo visualizes the writing OPENGL that floats on the water. You can change the colors, the effect transparency and the visualization mode. The demo occupies 216Kbytes.

Routine Description

AUX_RGBImageRec *LoadBMP(char *Filename) Loads a bitmap image (called by LoadGLTextures)

int LoadGLTextures() Load Bitmaps And Convert To Textures

void galleggia(void) Calculate the float of the text Opengl

void loadini(void) Load the definition file (mare.ini)

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 Pressione(int x,int y,int fgocce) Create a pression in the mouse' position. It modify the array VID

void CreaGrid(void) Sets the matrix BUF eand VID zero

void muovi(void) The water's movement

int DrawGLScene(GLvoid) Visualizzation modes:

0) Texture Mode (Each QUAD have a texture)

1) Color Mode (No Texture)

2) Disable the Blend

3) Enable Lighting and calculate the normals. Don't work.. Why? Is the normal calculation?... :(((

GLvoid ReSizeGLScene(GLsizei width, GLsizei height)

int InitGL(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 Mare (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

Emma

An email marketing platform that makes beautiful newsletters and distributes them to your list

PerformYard Performance Management

User friendly, intuitive user management platform that's geared toward a company's HR and management departments

Xero

Online accounting and bookkeeping platform for small businesses owners, self-employed professionals, freelancers, and individual contractors