Go to the source code of this file.
Defines | |
| #define | MODULE_MIRRORS |
| #define | US UNSIGNED |
| #define | UC unsigned char |
| #define | SBS shadow_buffer_size |
| #define | TOLL1 10.0 |
| #define | TOLL2 0.0 |
Functions | |
| void | Free_Mirror_On_Ground (void) |
| short | Mirror_In_Ground (void) |
| void | Add_Ground_Mirror (long scanline, long col, vector p, unsigned char *R, unsigned char *G, unsigned char *B) |
| void | Free_Lights_Shadows (void) |
| void | SetLightShadow (long id) |
| void | PointInShadow (vector p, long id, double *intensity) |
Variables | |
| double | spec_pow [16][max_spec+1] |
| double | Rip_Freq |
| short | mirror_ground = 0 |
| #define SBS shadow_buffer_size |
| void Free_Mirror_On_Ground | ( | void | ) |
Definition at line 161 of file REFLECT.C.
References mirror_ground, and X__Free.
Referenced by render().
| short 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().
| 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 SetLightShadow | ( | long | id | ) |
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.
| double spec_pow[16][max_spec+1] |
Definition at line 32 of file MATERIAL.C.
| double Rip_Freq |
Definition at line 40 of file TEXTURES.C.
| short mirror_ground = 0 |
Definition at line 28 of file REFLECT.C.
Referenced by Free_Mirror_On_Ground(), and Mirror_In_Ground().
1.5.6