rendergl.C File Reference

Go to the source code of this file.

Defines

#define MODULE_RENDERGL
#define checkImageWidth   64
#define checkImageHeight   64
#define PI_   3.14159265358979323846
#define BFT_BITMAP   0x4d42

Functions

long RenderGL (long frame, BOOL ppGL)
HWND SetUpGlWindow (HANDLE hInstance, HWND hWndParent, long Xres, long Yres, BOOL bFullScreen, BOOL bUseFBO, BOOL bCopyToDepthBuffer, long AAlias)
void SetUpCorrectContext (BOOL bSetup)
void CloseGlWindow (void)
void CopyGLtoFSB (void)
void CopyGLtoZbuffer (void)
void accPerspective (GLdouble fovy, GLdouble aspect, GLdouble znear, GLdouble zfar, GLdouble pixdx, GLdouble pixdy, GLdouble eyedx, GLdouble eyedy, GLdouble focus)
BOOL ChangeScreenResolution (int width, int height, int bitsPerPixel)
BOOL CheckGPUhardware (HWND hwnd)

Variables

char gszHomeDir []
GLuint g_check_texture
GLuint g_map_texture
GLuint g_ref_texture
GLuint g_bump_texture
GLuint g_tran_texture
GLuint g_movie_texture
GLuint g_env_texture
GLuint g_env3D_texture
GLuint g_envB_texture
GLuint g_envN_texture
GLuint g_noise_texture
GLuint g_sky_texture
GLubyte checkImage [checkImageWidth][checkImageHeight][3]
GLint DlistID = 0
double DepthScalingGL
double FrontDepthGL
double BackDepthGL
struct PBuffer m_PBuffer
GLuint g_framebufferTexture = -1
GLuint g_frameBuffer2 = 0
GLuint g_depthRenderBuffer2 = 0
int RENDERBUFFER_WIDTH = 2048
int RENDERBUFFER_HEIGHT = 2048
int TEXTUREBUFFER_WIDTH = 2048
int TEXTUREBUFFER_HEIGHT = 2048


Define Documentation

#define MODULE_RENDERGL

Definition at line 3 of file rendergl.C.

#define checkImageWidth   64

Definition at line 12 of file rendergl.C.

#define checkImageHeight   64

Definition at line 13 of file rendergl.C.

#define PI_   3.14159265358979323846

Definition at line 763 of file rendergl.C.

Referenced by accPerspective().

#define BFT_BITMAP   0x4d42

Definition at line 840 of file rendergl.C.


Function Documentation

BOOL ChangeScreenResolution ( int  width,
int  height,
int  bitsPerPixel 
)

Definition at line 904 of file rendergl.C.

References FALSE, and TRUE.


Variable Documentation

char gszHomeDir[]

Definition at line 186 of file ANIMATE.H.

Definition at line 17 of file rendergl.C.

GLuint g_map_texture

Definition at line 18 of file rendergl.C.

GLuint g_ref_texture

Definition at line 19 of file rendergl.C.

Definition at line 20 of file rendergl.C.

Definition at line 21 of file rendergl.C.

Definition at line 22 of file rendergl.C.

GLuint g_env_texture

Definition at line 23 of file rendergl.C.

Definition at line 24 of file rendergl.C.

Referenced by CloseGlWindow(), and DrawExternalMaterialPolys().

Definition at line 25 of file rendergl.C.

Definition at line 26 of file rendergl.C.

Referenced by CloseGlWindow(), and DrawExternalMaterialPolys().

Definition at line 27 of file rendergl.C.

GLuint g_sky_texture

Definition at line 28 of file rendergl.C.

Referenced by CloseGlWindow().

GLubyte checkImage[checkImageWidth][checkImageHeight][3]

Definition at line 30 of file rendergl.C.

GLint DlistID = 0

Definition at line 31 of file rendergl.C.

Referenced by RenderCameraView().

Definition at line 32 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), and RenderCameraView().

double FrontDepthGL

Definition at line 32 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), and RenderCameraView().

double BackDepthGL

Definition at line 32 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), and RenderCameraView().

struct PBuffer m_PBuffer

GLuint g_framebufferTexture = -1

Definition at line 65 of file rendergl.C.

Referenced by CloseGlWindow().

GLuint g_frameBuffer2 = 0

Definition at line 66 of file rendergl.C.

Referenced by CloseGlWindow().

Definition at line 67 of file rendergl.C.

Referenced by CloseGlWindow().

int RENDERBUFFER_WIDTH = 2048

Definition at line 71 of file rendergl.C.

Referenced by CopyGLtoFSB(), and SetUpGlWindow().

int RENDERBUFFER_HEIGHT = 2048

Definition at line 72 of file rendergl.C.

Referenced by SetUpGlWindow().

int TEXTUREBUFFER_WIDTH = 2048

Definition at line 73 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), RenderCameraView(), and SetUpGlWindow().

Definition at line 74 of file rendergl.C.

Referenced by CopyGLtoZbuffer(), PostProcessRenderGL(), RenderCameraView(), and SetUpGlWindow().


Generated on Sun Apr 27 14:20:17 2014 for OpenFX by  doxygen 1.5.6