rwy_green_low_lights->setTexture( tex_name );
matlib["RWY_GREEN_LOW_LIGHTS"]
= new SGMaterial( rwy_green_low_lights );
+ matlib["RWY_GREEN_TAXIWAY_LIGHTS"]
+ = new SGMaterial( rwy_green_low_lights );
// hard coded low intensity taxiway blue light state
tex_name = gen_taxiway_dir_light_map( 90, 90, 235, 205 );
pts_v[i], pts_n[i],
matlib,
pt_materials[i], up );
- if ( pt_materials[i].substr(0, 16) == "RWY_BLUE_TAXIWAY" ) {
+ if ( pt_materials[i].substr(0, 16) == "RWY_BLUE_TAXIWAY_LIGHTS" ) {
+ taxi_lights->addKid( branch );
+ } else if ( pt_materials[i].substr(0, 16)
+ == "RWY_GREEN_TAXIWAY_LIGHTS" )
+ {
taxi_lights->addKid( branch );
} else {
rwy_lights->addKid( branch );
typedef int_list::const_iterator int_point_list_iterator;
-// Define the various supported light types
-typedef enum {
- SG_RWYLIGHT_TAXI = 0,
- SG_RWYLIGHT_VASI,
- SG_RWYLIGHT_EDGE,
- SG_RWYLIGHT_TOUCHDOWN,
- SG_RWYLIGHT_THRESHOLD,
- SG_RWYLIGHT_WHITE,
- SG_RWYLIGHT_RED,
- SG_RWYLIGHT_GREEN,
- SG_RWYLIGHT_YELLOW
-} sgPointLightType;
-
-
// Generate a directional light. This routines creates a
// 'directional' light that can only be viewed from within 90 degrees
// of the specified dir vector.