/dports/games/flightgear/flightgear-2020.3.11/src/Time/ |
H A D | light.hxx | 64 SGVec4f _sun_vec = {0, 0, 0, 0}; 65 SGVec4f _moon_vec = {0, 0, 0, 0}; 69 SGVec4f _sun_vec_inv = {0, 0, 0, 0}; 70 SGVec4f _moon_vec_inv = {0, 0, 0, 0}; 88 SGVec4f _scene_ambient = {0, 0, 0, 0}; 91 SGVec4f _scene_chrome = {0, 0, 0, 0}; 94 SGVec4f _sun_color = {1, 1, 1, 0}; 95 SGVec4f _sky_color = {0, 0, 0, 0}; 96 SGVec4f _fog_color = {0, 0, 0, 0}; 97 SGVec4f _cloud_color = {0, 0, 0, 0}; [all …]
|
H A D | light.cxx | 180 const SGVec4f base_sky_color( 0.31, 0.43, 0.69, 1.0 ); in update_sky_color() 181 const SGVec4f base_fog_color( 0.63, 0.72, 0.88, 1.0 ); in update_sky_color() 217 static const SGVec4f one_vec( 1.0f, 1.0f, 1.0f, 1.0f); in update_sky_color() 218 SGVec4f overcast_color = (one_vec - base_sky_color) * _overcast; in update_sky_color() 241 SGVec4f color = thesky->get_scene_color(); in update_sky_color() 246 SGVec4f chrome = _scene_ambient * .4f + _scene_diffuse; in update_sky_color() 302 SGVec4f color = thesky->get_scene_color(); in update_adj_fog_color() 373 SGVec4f& vec, SGVec4f& vec_inv, in updateBodyPos() 391 vec = SGVec4f(toVec3f(normalize(bodypos)), 0); in updateBodyPos()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/tgdb/ |
H A D | SGVasiDrawable.hxx | 36 SGVasiDrawable(const SGVec4f& red = SGVec4f(1, 0, 0, 1), 37 const SGVec4f& white = SGVec4f(1, 1, 1, 1)); 62 SGVec4f getColor(float angleDeg) const; 66 SGVec4f _red; 67 SGVec4f _white;
|
H A D | SGLightBin.hxx | 30 Light(const SGVec3f& p, const SGVec4f& c) : in Light() 34 SGVec4f color; 40 void insert(const SGVec3f& p, const SGVec4f& c) in insert()
|
H A D | SGDirectionalLightBin.hxx | 28 Light(const SGVec3f& p, const SGVec3f& n, const SGVec4f& c) : in Light() 33 SGVec4f color; 39 void insert(const SGVec3f& p, const SGVec3f& n, const SGVec4f& c) in insert()
|
H A D | SGVasiDrawable.cxx | 40 void draw(const SGVec4f& color) const in draw() 64 SGVasiDrawable::SGVasiDrawable(const SGVec4f& red, const SGVec4f& white) : in SGVasiDrawable() 124 SGVec4f
|
H A D | pt_lights.cxx | 161 SGVec4f visibleColor(light.color); in getLightDrawable() 162 SGVec4f invisibleColor(visibleColor[0], visibleColor[1], in getLightDrawable() 215 SGVec4f color = lights.getLight(i).color; in getLights() 257 SGVec4f visibleColor(lights.getLight(i).color); in getLights() 258 SGVec4f invisibleColor(visibleColor[0], visibleColor[1], in getLights() 301 const SGVec4f& red, const SGVec4f& white) in buildVasi() 358 const SGVec4f& red, const SGVec4f& white) in getVasi()
|
H A D | pt_lights.hxx | 87 const SGVec4f& red, const SGVec4f& white);
|
H A D | SGTileDetailsCallback.hxx | 161 static SGVec4f getMaterialLightColor(const SGMaterial* material) in getMaterialLightColor() 164 return SGVec4f(1, 1, 1, 0.8); in getMaterialLightColor() 173 const SGVec4f& color, in addPointGeometry() 184 const SGVec4f& color, in addPointGeometry() 210 SGVec4f color = getMaterialLightColor(material); in insertPtGeometry() 821 SGVec4f color; in computeRandomSurfaceLights() 824 color = SGVec4f(0.9f, 0.9f, 0.3f, bright - factor * 0.2f); in computeRandomSurfaceLights() 827 color = SGVec4f(0.9, 0.9f, 0.8f, bright - factor * 0.2f); in computeRandomSurfaceLights() 830 color = SGVec4f(0.9f, 0.6f, 0.2f, bright - factor * 0.2f); in computeRandomSurfaceLights() 895 SGVec4f red(1, 0, 0, 1); in generateLightingTileObjects() [all …]
|
H A D | GroundLightManager.cxx | 35 SGVec4f fogColor = updateVisitor->getFogColor(); in update()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/util/ |
H A D | SGUpdateVisitor.hxx | 111 void setLight(const SGVec3f& direction, const SGVec4f& ambient, in setLight() 112 const SGVec4f& diffuse, const SGVec4f& specular, in setLight() 113 const SGVec4f& fogColor, double sunAngleDeg) in setLight() 125 const SGVec4f& getAmbientLight() const in getAmbientLight() 127 const SGVec4f& getDiffuseLight() const in getDiffuseLight() 129 const SGVec4f& getSpecularLight() const in getSpecularLight() 131 const SGVec4f& getFogColor() const in getFogColor() 220 SGVec4f mAmbientLight; 221 SGVec4f mDiffuseLight; 222 SGVec4f mSpecularLight; [all …]
|
H A D | OsgMath.hxx | 78 SGVec4f 80 { return SGVec4f(v[0], v[1], v[2], v[3]); } in toSG() 89 toOsg(const SGVec4f& v) in toOsg()
|
H A D | SGDebugDrawCallback.hxx | 150 SGVec4f color; \ in printState() 182 SGVec4f color; \ in printState()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/sky/ |
H A D | oursun.hxx | 85 SGVec4f get_color(); 86 SGVec4f get_scene_color();
|
H A D | sky.hxx | 334 inline SGVec4f get_sun_color() { return oursun->get_color(); } in get_sun_color() 339 inline SGVec4f get_scene_color() { return oursun->get_scene_color(); } in get_scene_color()
|
H A D | oursun.cxx | 477 SGVec4f 480 return SGVec4f((*sun_cl)[0][0], (*sun_cl)[0][1], (*sun_cl)[0][2], (*sun_cl)[0][3]); in get_color() 483 SGVec4f 486 return SGVec4f((*scene_cl)[0][0], (*scene_cl)[0][1], (*scene_cl)[0][2], (*scene_cl)[0][3]); in get_scene_color()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/io/ |
H A D | sg_binobj.hxx | 150 std::vector<SGVec4f> colors; // color list 221 inline const std::vector<SGVec4f>& get_colors() const { return colors; } in get_colors() 222 inline void set_colors( const std::vector<SGVec4f>& c ) { colors = c; } in set_colors()
|
H A D | lowlevel.hxx | 102 inline void sgReadVec4 ( gzFile fd, SGVec4f& var ) { in sgReadVec4() 105 inline void sgWriteVec4 ( gzFile fd, const SGVec4f& var ) { in sgWriteVec4()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/environment/ |
H A D | visual_enviro.hxx | 81 SGVec4f fog_color; 158 void setLight(SGVec4f adj_fog_color);
|
H A D | visual_enviro.cxx | 250 void SGEnviro::setLight(SGVec4f adj_fog_color) { in setLight()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/material/ |
H A D | mat.hxx | 356 void set_light_color(const SGVec4f& color) in set_light_color() 358 const SGVec4f& get_light_color() const in get_light_color() 494 SGVec4f ambient, diffuse, specular, emission;
|
/dports/devel/simgear/simgear-2020.3.11/simgear/math/ |
H A D | SGMathFwd.hxx | 59 typedef SGVec4<float> SGVec4f; typedef
|
H A D | SGVec4.hxx | 423 SGVec4f 425 { SGVec4f f(v); return f; } in toVec4f() 429 toVec4d(const SGVec4f& v) in toVec4d()
|
/dports/games/flightgear/flightgear-2020.3.11/src/Cockpit/ |
H A D | render_area_2d.hxx | 108 void RenderQuad( const SGVec2f *p, const SGVec4f *color );
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/model/ |
H A D | SGMaterialAnimation.cxx | 49 SGVec4f v; 92 SGVec4f &rgba() { in rgba() 115 SGVec4f &initialRgba() { in initialRgba()
|