#include "config.h"
Go to the source code of this file.
Defines | |
#define | _g_tpt 10 |
Variables | |
bool | day = false |
int | g_tpt = 10 |
float | g_texcoord [2 *_g_tpt] |
bool | g_bBlending = true |
bool | g_bSmoothing = true |
const float | g_waterlevel = 0.5f |
const float | g_fWaterScale = 3.0f |
bool | g_bFresnel = true |
bool | draw_fog = true |
bool | draw_mirror_plane = true |
bool | draw_mirror = true |
bool | draw_height_field = true |
bool | g_CameraRotateLeft = false g_CameraRotateRight = false |
bool | g_CameraRotateDown = false g_CameraRotateUp = false |
float | g_CameraAngleX = 0 g_CameraAngleY = 0 |
float | g_length = 12.0f |
float | g_CameraX = 0 g_CameraY = 0 g_CameraZ = g_length |
float | g_MirrorX = 10 g_MirrorY = 60 g_MirrorZ = 10 |
bool | g_show_axis = false |
const char * | g_strResourceDir = "./render/resource/" |
int | g_hfW = 1024 |
int | g_hfH = 1024 |
const char * | g_strHeightFieldFile = "hf.raw_1024x1024_bw_float" |
float | g_fHeightScale = 10.0f |
bool | g_bLighting = true |
bool | g_bFrameRate = true |
int | g_cellsize = 1 |
int | g_cells = 80 |
float | g_fHeight = 20.0f |
float | g_lightPos [4] = { 30, -30, 30, 0 } |
float | g_lightPos2 [4] = { 0, 0, 0, 0 } |
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 | colorVeryLightGreen [4] = { 0.0, 0.9, 0.0, 1.0 } |
const float | colorLightGreen [4] = { 0.0, 0.8, 0.0, 1.0 } |
const float | colorWaterGreen [4] = { 0.0, 0.3, 0.2, 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 } |
|
Definition at line 8 of file config.cpp. |
|
Definition at line 88 of file config.cpp. |
|
Definition at line 100 of file config.cpp. |
|
Definition at line 92 of file config.cpp. |
|
Definition at line 97 of file config.cpp. |
|
Definition at line 99 of file config.cpp. |
|
Definition at line 98 of file config.cpp. |
|
Definition at line 91 of file config.cpp. |
|
Definition at line 94 of file config.cpp. Referenced by __draw_fog(). |
|
Definition at line 96 of file config.cpp. |
|
Definition at line 89 of file config.cpp. |
|
Definition at line 101 of file config.cpp. |
|
Definition at line 93 of file config.cpp. |
|
Definition at line 95 of file config.cpp. Referenced by streamVertex(). |
|
Definition at line 87 of file config.cpp. |
|
Definition at line 90 of file config.cpp. |
|
Definition at line 3 of file config.cpp. Referenced by __draw_fog(), keyboard(), and streamVertex(). |
|
Definition at line 23 of file config.cpp. Referenced by display(), and keyboard(). |
|
Definition at line 28 of file config.cpp. Referenced by keyboard(), and renderScene(). |
|
Definition at line 26 of file config.cpp. Referenced by display(). |
|
Definition at line 25 of file config.cpp. Referenced by display(), keyboard(), and renderScene(). |
|
Definition at line 13 of file config.cpp. Referenced by drawHeightField(). |
|
Definition at line 62 of file config.cpp. Referenced by display(), and selectFromMenu(). |
|
Definition at line 21 of file config.cpp. Referenced by streamVertex(). |
|
Definition at line 61 of file config.cpp. Referenced by diffuseLighting(), renderScene(), and selectFromMenu(). |
|
Definition at line 14 of file config.cpp. Referenced by drawMultipassQuad(). |
|
Definition at line 32 of file config.cpp. Referenced by display(), setupCamera(), and timerCallback(). |
|
Definition at line 31 of file config.cpp. Referenced by keyboard(), keyboardUp(), and timerCallback(). |
|
Definition at line 30 of file config.cpp. Referenced by keyboard(), keyboardUp(), and timerCallback(). |
|
Definition at line 36 of file config.cpp. Referenced by __drawModel(), computeWater(), display(), initGL(), renderScene(), setupCamera(), and timerCallback(). |
|
Definition at line 70 of file config.cpp. Referenced by renderScene(). |
|
Definition at line 68 of file config.cpp. Referenced by computeNormal(), display(), drawModel(), drawWaterQuad(), gethfVertexData(), initGL(), initHeightField(), renderScene(), and timerCallback(). |
|
Definition at line 73 of file config.cpp. |
|
Definition at line 56 of file config.cpp. Referenced by drawWaterQuad(), gethfVertexData(), hftexture(), and initHeightField(). |
|
Definition at line 19 of file config.cpp. Referenced by computeHeight(). |
|
Definition at line 49 of file config.cpp. Referenced by initGL(). |
|
Definition at line 47 of file config.cpp. Referenced by initGL(). |
|
Definition at line 34 of file config.cpp. Referenced by initGL(), and timerCallback(). |
|
Definition at line 79 of file config.cpp. Referenced by diffuseLighting(), display(), initGLState(), and keyboard(). |
|
Definition at line 80 of file config.cpp. |
|
Definition at line 38 of file config.cpp. |
|
Definition at line 83 of file config.cpp. Referenced by main(), and timerCallback(). |
|
Definition at line 41 of file config.cpp. Referenced by drawModel(), and keyboard(). |
|
Definition at line 51 of file config.cpp. Referenced by initGL(). |
|
Definition at line 44 of file config.cpp. Referenced by initHeightField(), and initTextures(). |
|
Definition at line 11 of file config.cpp. Referenced by initHeightField(). |
|
Definition at line 6 of file config.cpp. Referenced by initHeightField(). |
|
Definition at line 17 of file config.cpp. Referenced by drawWaterQuad(), and gethfVertexData(). |