/*A mushroom top tower, similar to one that exists at 1001 Howard Ave, New Orleans.*/ FLOORS = 112; //should be greater than 5 WINDOWS = 16; //windows to each side, not counting corner windows XSIZE = 1.0; YSIZE = 1.5; //textures win = new UniformTexture(); win.diffuseColor.setRGB(0.7, 0.7, 0.7); win.specularity = 0.1f; win.shininess = 1.0f; concrete = new UniformTexture(); concrete.diffuseColor.setRGB(0.4, 0.4, 0.4); light = new UniformTexture(); light.diffuseColor.setRGB(0.9, 0.8, 0.8); //set up variables FLOORS = FLOORS-5; //create windows base = new Cube(XSIZE*(WINDOWS+1), YSIZE*FLOORS, XSIZE*(WINDOWS+1)); base.setTexture(win, win.getDefaultMapping(base)); pos = new Vec3(0.0, YSIZE*FLOORS/2.0, 0.0); script.addObject(base, new CoordinateSystem(pos, 0, 0, 0)); //create bars between windows bar = new Cube(0.2*XSIZE, YSIZE*FLOORS, XSIZE*(WINDOWS+1.8)); bar.setTexture(concrete, concrete.getDefaultMapping(bar)); for (i=0; i