#include "Scene.h"#include "DisplayDevice.h"#include "Inform.h"#include "DispCmds.h"#include "utilities.h"#include "FileRenderList.h"#include "FileRenderer.h"Go to the source code of this file.
Compounds | |
| class | DisplayColor |
| Displayable subclass containing the background color information. More... | |
Functions | |
| float | slope3_lower (float mid, float val) |
| float | slope3_upper (float mid, float val) |
| float | slope3_middle (float mid, float val) |
| void | scale_color (const float *lowRGB, const float *midRGB, const float *highRGB, float mid, float val, float scaleMin, float *rgb) |
Variables | |
| const int | num_scalemethods = 12 |
| const ColorScale | defScales [] |
| const char * | defColorNames [REGCLRS] |
| const float | def_light_color [3] = { 1.0, 1.0, 1.0 } |
| const float | def_light_pos [DISP_LIGHTS][3] |
| const float | def_adv_light_pos [DISP_LIGHTS][3] |
| const int | def_light_on [DISP_LIGHTS] = { TRUE, TRUE, FALSE, FALSE } |
|
||||||||||||||||||||||||||||||||
|
Definition at line 632 of file Scene.C. References clamp_color, slope3_lower, slope3_middle, and slope3_upper. |
|
||||||||||||
|
Definition at line 606 of file Scene.C. Referenced by scale_color. |
|
||||||||||||
|
Definition at line 620 of file Scene.C. Referenced by scale_color. |
|
||||||||||||
|
Definition at line 613 of file Scene.C. Referenced by scale_color. |
|
|
Initial value: {
{ 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f },
{ 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }
}Definition at line 204 of file Scene.C. Referenced by Scene::adv_light_pos_default. |
|
|
Definition at line 199 of file Scene.C. Referenced by Scene::adv_light_color_default, Scene::light_color_default, and Scene::reset_lights. |
|
|
Definition at line 209 of file Scene.C. Referenced by Scene::reset_lights. |
|
|
Initial value: {
{ -0.1f, 0.1f, 1.0f }, { 1.0f, 2.0f, 0.5f },
{ -1.0f, 2.0f, -1.0f }, { -1.0f, -1.0f, 0.0f }
}Definition at line 200 of file Scene.C. Referenced by Scene::light_pos_default, and Scene::reset_lights. |
|
|
Initial value: {
"blue", "red", "gray", "orange",
"yellow", "tan", "silver", "green",
"white", "pink", "cyan", "purple",
"lime", "mauve", "ochre", "iceblue",
"black"
,"yellow2", "yellow3", "green2", "green3",
"cyan2", "cyan3", "blue2", "blue3",
"violet", "violet2", "magenta", "magenta2",
"red2", "red3", "orange2", "orange3"
}Definition at line 54 of file Scene.C. Referenced by Scene::Scene. |
|
|
Initial value: {
{ {1.0, 0.0, 0.0}, {1.0, 1.0, 1.0}, {0.0, 0.0, 1.0}, "RWB"},
{ {0.0, 0.0, 1.0}, {1.0, 1.0, 1.0}, {1.0, 0.0, 0.0}, "BWR"},
{ {1.0, 0.0, 0.0}, {0.5, 0.5, 0.5}, {0.0, 0.0, 1.0}, "RGryB"},
{ {0.0, 0.0, 1.0}, {0.5, 0.5, 0.5}, {1.0, 0.0, 0.0}, "BGryR"},
{ {1.0, 0.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 0.0, 1.0}, "RGB"},
{ {0.0, 0.0, 1.0}, {0.0, 1.0, 0.0}, {1.0, 0.0, 0.0}, "BGR"},
{ {1.0, 0.0, 0.0}, {1.0, 1.0, 1.0}, {0.0, 1.0, 0.0}, "RWG"},
{ {0.0, 1.0, 0.0}, {1.0, 1.0, 1.0}, {1.0, 0.0, 0.0}, "GWR"},
{ {0.0, 1.0, 0.0}, {1.0, 1.0, 1.0}, {0.0, 0.0, 1.0}, "GWB"},
{ {0.0, 0.0, 1.0}, {1.0, 1.0, 1.0}, {0.0, 1.0, 0.0}, "BWG"},
{ {0.0, 0.0, 0.0}, {0.5, 0.5, 0.5}, {1.0, 1.0, 1.0}, "BlkW"},
{ {1.0, 1.0, 1.0}, {0.5, 0.5, 0.5}, {0.0, 0.0, 0.0}, "WBlk"}
} |
|
|
Definition at line 35 of file Scene.C. Referenced by Scene::Scene. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002