GlutRTTAlap.cpp File Reference

#include "stdafx.h"
#include "ThirdPersonCamera.h"
#include <random.h>
#include <stdio.h>

Functions

Vector SkyColor (0, 0, 0)
Vector LightPos (0, 5,-5)
Vector LightColor (4.6, 4.6, 5.1)
Vector LightPos2 (1,-10,-1)
Vector LightColor2 (5.6, 5.7, 6)
void drawFrameRate (char *str, void *font, GLclampf r, GLclampf g, GLclampf b, GLfloat x, GLfloat y)
void calculateFrameRate ()
void RenderPhaseTexture ()
void idle ()
void getExts (void)
void specialkey (int key, int x, int y)
void initOpenGL ()
int _tmain (int argc, _TCHAR *argv[])

Variables

Scene theScene
ThirdPersonCamera theCamera
PreIllumSystemtheSystem
bool headsup = true
bool anim_on = false
char * therendermode
int rendermode = 0
SkyBox theSkyBox
float lightposangle1 = 0.4
float lightposangle2 = 1.2
bool isrecording = false
int framenum
Vector positions [2]
float angle = 0
unsigned int lastTime
unsigned int frameRate = 0
unsigned int frameRateLast = 0
unsigned int timeElapsed
unsigned int LastDtTime = 0
unsigned int Dt = 0
bool start = true
int direction = 0
Impostor ScreenQuad
RenderTexture PhaseTexture
CgProgram PhaseProgram

Function Documentation

int _tmain int  argc,
_TCHAR *  argv[]
 

void calculateFrameRate  ) 
 

void drawFrameRate char *  str,
void *  font,
GLclampf  r,
GLclampf  g,
GLclampf  b,
GLfloat  x,
GLfloat  y
 

void getExts void   ) 
 

void idle  ) 
 

void initOpenGL  ) 
 

Vector LightColor 4.  6,
4.  6,
5.  1
 

Vector LightColor2 5.  6,
5.  7,
 

Vector LightPos ,
,
5
 

Vector LightPos2 ,
10,
1
 

void RenderPhaseTexture  ) 
 

Vector SkyColor ,
,
 

void specialkey int  key,
int  x,
int  y
 


Variable Documentation

float angle = 0
 

bool anim_on = false
 

int direction = 0
 

unsigned int Dt = 0
 

int framenum
 

unsigned int frameRate = 0
 

unsigned int frameRateLast = 0
 

bool headsup = true
 

bool isrecording = false
 

unsigned int LastDtTime = 0
 

unsigned int lastTime
 

float lightposangle1 = 0.4
 

float lightposangle2 = 1.2
 

CgProgram PhaseProgram
 

RenderTexture PhaseTexture
 

Vector positions[2]
 

int rendermode = 0
 

Impostor ScreenQuad
 

bool start = true
 

ThirdPersonCamera theCamera
 

char* therendermode
 

Scene theScene
 

SkyBox theSkyBox
 

PreIllumSystem* theSystem
 

unsigned int timeElapsed
 


Generated on Thu Apr 27 15:30:09 2006 for Illumination Networks Demo by  doxygen 1.4.6-NO