RENDER.C File Reference

Go to the source code of this file.

Defines

#define MODULE_RENDER

Typedefs

typedef struct PHONG1_tag PHONG1
typedef struct PHONG_tag phong
typedef struct THSTART_tag THSTART

Functions

 init_structures (void)
void SetLightShadow (long i)
void Free_Mirror_On_Ground (void)
void Free_Lights_Shadows (void)
void Mirror_In_Ground (void)
char * short_form (char *filename)
short R_terminator (void)
int render (int argc, char **argv)
 Renders the animation.
void MakeVertexNormals (void)
void RenderMultiThreaded (void *arg)
 Renders a set of scanlines within a single thread.
void FastAntiAliasRenderMultiThreaded (void *arg)
 Renders a set of scanlines within in a single thread.
Renderer Functions
WHERE long RenderHide (void)
 Renders the frame.

Variables

HWND hWndOpenGL
short mirror_ground
HINSTANCE hThisInstance
BOOL bKeepObjectsInRAM = TRUE
 This is an important flag - it tell the renderer that any object loaded from a stript file is to be held in memory and used in subsequent frames, instead of freeing all models at the end of a frame and loading them again for every frame in which they are used.
FILE * CF = NULL
long renderer_NT_abort_flag = 0
short End_of_animation


Define Documentation

#define MODULE_RENDER

Definition at line 3 of file RENDER.C.


Typedef Documentation

typedef struct PHONG1_tag PHONG1

typedef struct PHONG_tag phong

typedef struct THSTART_tag THSTART


Function Documentation

init_structures ( void   ) 

void SetLightShadow ( long  i  ) 

void Free_Mirror_On_Ground ( void   ) 

Definition at line 161 of file REFLECT.C.

References mirror_ground, and X__Free.

Referenced by render().

void Free_Lights_Shadows ( void   ) 

void Mirror_In_Ground ( void   ) 


Variable Documentation

HWND hWndOpenGL

Definition at line 179 of file WINMAIN.C.

Referenced by render(), and RendererMainWndProc().

Definition at line 28 of file REFLECT.C.

HINSTANCE hThisInstance

Definition at line 178 of file WINMAIN.C.

BOOL bKeepObjectsInRAM = TRUE

This is an important flag - it tell the renderer that any object loaded from a stript file is to be held in memory and used in subsequent frames, instead of freeing all models at the end of a frame and loading them again for every frame in which they are used.

Definition at line 22 of file RENDER.C.

Referenced by render().

FILE* CF = NULL

Definition at line 23 of file RENDER.C.

Definition at line 24 of file RENDER.C.

Referenced by R_terminator(), RendererMainWndProc(), and RenderHide().

Definition at line 25 of file RENDER.C.

Referenced by GetCommand(), and render().


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