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 |
| typedef struct PHONG1_tag PHONG1 |
| typedef struct PHONG_tag phong |
| typedef struct THSTART_tag THSTART |
| init_structures | ( | void | ) |
| void SetLightShadow | ( | long | i | ) |
Definition at line 336 of file REFLECT.C.
References Renderer_LIGHT_tag::atmospheric_shadow_buffer, CamAlpha, CamPhi, CamTheta, cross(), DOT, double, Ground, Lights, max, min, normalize, Object, ObjectCount, Renderer_GROUND_tag::p, PI, R_m4by1(), R_m4by4(), R_Nground, R_rotx(), R_roty(), R_rotz(), R_tram(), Render_Message(), Renderer_LIGHT_tag::scale, Renderer_LIGHT_tag::shadow_buffer, shadow_buffer_size, VECSUB, vecsub(), ViewPoint, Renderer_GROUND_tag::x, x, X__Free, X__Malloc, Renderer_GROUND_tag::y, y, and z.
| 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 | ) |
Definition at line 314 of file REFLECT.C.
References Renderer_LIGHT_tag::atmospheric_shadow_buffer, Renderer_LIGHT_tag::face_buffer, Lights, Nlights, Renderer_LIGHT_tag::object_buffer, Renderer_LIGHT_tag::shadow_buffer, and X__Free.
Referenced by render().
| void Mirror_In_Ground | ( | void | ) |
Definition at line 168 of file REFLECT.C.
References anti_alias, BIGP, CamAlpha, CamPhi, CamTheta, cross(), D1, DL, DOT, double, DR, FAIL, full_mirror, Ground, HIGH, LOW, max, MEDIUM, min, mirror_ground, normalize, Object, ObjectCount, Renderer_GROUND_tag::p, R_m4by1(), R_m4by4(), R_rotx(), R_roty(), R_rotz(), R_tram(), Render_Message(), ResolutionX, ResolutionY, scalex, scaley, UC, ULTRA, US, veccopy(), VECSCALE, VECSUB, ViewPoint, x, X__Free, X__Malloc, XMAX, y, YMAX, and z.
Referenced by RenderHide().
| 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.
Definition at line 22 of file RENDER.C.
Referenced by render().
| long renderer_NT_abort_flag = 0 |
Definition at line 24 of file RENDER.C.
Referenced by R_terminator(), RendererMainWndProc(), and RenderHide().
| short End_of_animation |
1.5.6