menu
menu

Fire (OpenGL Visual Demo)

Fire is a small demo that visualizes on screen an effect...

  • Category Other
  • Size 28.3 KB
  • Program by MASMO

Fire (OpenGL Visual Demo)

Fire is a small demo that visualizes on screen an effect very used in the nineties.

Fire is a small demo that visualizes on screen an effect very used in the nineties. The effect is created on a matrix of 32x32 elements and then every point of the matrix visualized to screen as a polygon. The demo 29Kbytes.

Routine Description

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

int LoadGLTextures() Load Bitmaps And Convert To Textures (Not used)

COL Colore(float k) Return the color in rgb (black->red->Yellow->White)

void ShowFire(float x,float y,float z,float dim) Trasform the matrix 32x32 in polygon

void Fuoco(void) The fire effect in a matrix 32x32

void InitFire(void) Set the matrix 32x32 to zero

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

Top 3 Fire (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

CodeSignal

Manage your recruiting funnel while you test, screen, and interview pre-certified software developers for technical roles

Insightly CRM

Customer relationship management cloud solution that quickly integrates with existing Gmail and Outlook accounts

Lumity Benefits Platform

Connect with top insurance carriers and leverage vast troves of data to develop a world-class benefits plan for employees