/*A building topped with several cylinders, including some that are lit.*/ FLOORS = 90; XSIZE = 1.0; YSIZE = 1.5; LONG = 35; //length of the straight section WIDE = 21; r = new Random(0); //do textures window = new Texture[4]; for (i=0; i<3; i++) { window[i] = new UniformTexture(); window[i].diffuseColor.setRGB(0.6, 0.6, 0.5); window[i].specularity = 0.3f; window[i].shininess = 1.0f; } window[3] = new UniformTexture(); window[3].diffuseColor.setRGB(0.5, 0.5, 0.4); window[3].specularity = 0.3f; window[3].shininess = 1.0f; stone = new UniformTexture(); stone.diffuseColor.setRGB(0.6, 0.55, 0.5); topTex = new UniformTexture(); topTex.diffuseColor.setRGB(1.0, 0.0, 0.0); topTex.emissiveColor.setRGB(0.2, 0.0, 0.0); //loop through floors for (i=0; i