- Home
- News
- Demos
- Betas
- Free to Play
- Patches
- Game Mods
- Buy Games
- Join FilePlanet
- Game Genres
- Browse Game Genres
- Top Games
- Browse Top Games
File Info: Car Model (OpenGL Visual Demo)
Title:
Car Model (OpenGL Visual Demo)
Author:
MASMO
Created:
5/20/2003
Updated:
5/20/2003
Downloads:
Description: Car Model (OpenGL Visual Demo)
This demo is identical to the demo Fighter but in the place of the airplane there is a car. There are two models, one for the car and one for the wheels. The car changes speed and direction in automatic way. The car is created with 2313 triangles, while every wheel is having 9010 triangles (too much!!). The demo occupies 346Kbytes.This demo is identical to the demo Fighter but to the place of the airplane there is a car. There are two models, one for the car and one for the wheels. The car changes speed and direction in automatic way. The car is created with 2313 triangles, while every wheel is having 9010 triangles (too much!!). The demo occupies 346Kbytes.
Routine Description
AUX_RGBImageRec *LoadBMP(char *Filename) Loads a bitmap image (called by LoadGLTextures)
int LoadGLTextures() Load Bitmaps And Convert To Textures
void VectorNormalize() ..... Vector Functions (used by Luce)
void glPrint(char *ll,float x,float y,float z,float dim,float dir,float r,float g,float b) My routine for print with opengl :
Char *ll => the line
x,y,z => the coordinates
dim => the font dimension
dir => not used for now
r,g,b => the color
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 InitBuf(void) Initializes the terrain
void InitSmoke(void) Initializes the wheel smoke
void Init(void) Inits the global variables
void DrawBuf(void) Draws the terrain
void DrawSmoke(void) Draws the wheels smokes
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)
These routines have been taken by the examples of NeHe
Less Information
More Information »
Related Downloads
|
7 - Xbox Flash |
Related Information
Featured Promotions
-
Dead Island - Wardrop Mod
Turn Dead Island into a true zombie apocalypse and prepare to face over 100x more zombies, including enough ammo you need to fight them off.
-
Minecraft Creations Wallpaper
These beautiful wallpapers are more than scenic shots of Minecraft, but actual in-game creations from its fan-base.

