Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

config.cpp File Reference

#include "config.h"

Go to the source code of this file.

Variables

float ModelViewMatrix [16]
float g_fTorusX = 0 g_fTorusY = 0
const char * g_strResourceDir = "../resource/"
int g_hfW = 1024
int g_hfH = 1024
const char * g_strHeightFieldFile = "hf.raw_1024x1024_bw_float"
bool g_bLighting = true
bool g_bFrameRate = true
bool g_bBlinnPhong = true
bool g_bPerPixelLighting = false
float g_specularExponent = 10
const float g_lightPos [4] = { 3, 3, -3, 0}
float g_lightPosEye [4]
const int g_nTimerDelay = 50
const float colorWhite [4] = { 1.0, 1.0, 1.0, 1.0 }
const float colorBlue [4] = { 0,0,1,1 }
const float colorRed [4] = { 1,0,0,1 }
const float colorYellow [4] = { 1,1,0,1 }
const float colorGreen [4] = { 0.0, 1, 0.0, 1.0 }
const float colorDarkGreen [4] = { 0.0, 0.5, 0.0, 1.0 }
const float colorNone [4] = { 0.0, 0.0, 0.0, 0.0 }
const float colorDarkGrey [4] = { 0.2, 0.2, 0.2, 0.0 }
const float colorDarkYellow [4] = { 0.6, 0.6, 0.0, 0.0 }
const float colorDarkRed [4] = { 0.5, 0.0, 0.0, 0.0 }
const float colorDarkBrown [4] = { 0.5, 0.3, 0.0, 0.0 }
const float colorSky [4] = { 0.3, 0.4, 0.8, 0.0 }


Variable Documentation

const float colorBlue[4] = { 0,0,1,1 }
 

Definition at line 41 of file config.cpp.

const float colorDarkBrown[4] = { 0.5, 0.3, 0.0, 0.0 }
 

Definition at line 50 of file config.cpp.

const float colorDarkGreen[4] = { 0.0, 0.5, 0.0, 1.0 }
 

Definition at line 45 of file config.cpp.

const float colorDarkGrey[4] = { 0.2, 0.2, 0.2, 0.0 }
 

Definition at line 47 of file config.cpp.

Referenced by display().

const float colorDarkRed[4] = { 0.5, 0.0, 0.0, 0.0 }
 

Definition at line 49 of file config.cpp.

const float colorDarkYellow[4] = { 0.6, 0.6, 0.0, 0.0 }
 

Definition at line 48 of file config.cpp.

const float colorGreen[4] = { 0.0, 1, 0.0, 1.0 }
 

Definition at line 44 of file config.cpp.

const float colorNone[4] = { 0.0, 0.0, 0.0, 0.0 }
 

Definition at line 46 of file config.cpp.

Referenced by setDiffuseMaterialColor(), and setProgramMaterialColor().

const float colorRed = { 1,0,0,1 }
 

Definition at line 42 of file config.cpp.

const float colorSky[4] = { 0.3, 0.4, 0.8, 0.0 }
 

Definition at line 51 of file config.cpp.

Referenced by display().

const float colorWhite[4] = { 1.0, 1.0, 1.0, 1.0 }
 

Definition at line 40 of file config.cpp.

Referenced by display(), and setProgramMaterialColor().

const float colorYellow[4] = { 1,1,0,1 }
 

Definition at line 43 of file config.cpp.

bool g_bBlinnPhong = true
 

Definition at line 23 of file config.cpp.

Referenced by setProgramMaterialColor(), and special().

bool g_bFrameRate = true
 

Definition at line 22 of file config.cpp.

Referenced by display(), and selectFromMenu().

bool g_bLighting = true
 

Definition at line 21 of file config.cpp.

Referenced by renderScene(), and selectFromMenu().

bool g_bPerPixelLighting = false
 

Definition at line 24 of file config.cpp.

Referenced by drawTorus(), setProgramMaterialColor(), and special().

float g_fTorusX = 0 g_fTorusY = 0
 

Definition at line 6 of file config.cpp.

Referenced by drawTorus(), and timerCallback().

int g_hfH = 1024
 

Definition at line 15 of file config.cpp.

Referenced by gethf(), initGL(), and initHeightField().

int g_hfW = 1024
 

Definition at line 13 of file config.cpp.

Referenced by gethf(), initGL(), and initHeightField().

const float g_lightPos[4] = { 3, 3, -3, 0}
 

Definition at line 32 of file config.cpp.

Referenced by display(), drawTorus(), and setupCamera().

float g_lightPosEye[4]
 

Definition at line 33 of file config.cpp.

Referenced by drawTorus(), and setupCamera().

const int g_nTimerDelay = 50
 

Definition at line 36 of file config.cpp.

Referenced by main(), and timerCallback().

float g_specularExponent = 10
 

Definition at line 27 of file config.cpp.

Referenced by keyboard(), and setProgramMaterialColor().

const char* g_strHeightFieldFile = "hf.raw_1024x1024_bw_float"
 

Definition at line 17 of file config.cpp.

Referenced by initGL(), and initHeightField().

const char* g_strResourceDir = "../resource/"
 

Definition at line 10 of file config.cpp.

Referenced by initHeightField(), and initTextures().

float ModelViewMatrix[16]
 

Definition at line 3 of file config.cpp.

Referenced by display(), and drawTorus().


Generated on Thu Jan 20 02:47:13 2005 for Projective_Texture_Effect_Demo by doxygen 1.3.6