//---- Pedis World

//--- A Rock Gourge
object {
  height_field {
    tga "land_map.tga"
    water_level 0.01             
    scale <5000 1300 5000>
    translate <-2500 0 -2500>
  }
   texture { 
    image_map { <1 0 -1> gif "land_tex.gif" interpolate 2 }
    scale <5000 1 5000> 
    translate <-2500 0 -2500>
    phong .2
    phong_size 20 
    ambient .2
    diffuse .4
    .1
    }
}


//---- Atmosphere
composite {
   object {
    quadric { Sphere scale <1 1 1> }
     texture {
      gradient <0 1 0>
	color_map {
	[0 .05 color Black color Black]
	[.05 .1 color Black color Violet]
	[.1 .2 color Violet color CadetBlue]
	[.2 .3 color CadetBlue color Violet]
	[.3 .4 color Violet color Black]
	[.4 1 color Black color Black]
	}
	scale <.1 2 .1>
	translate <0 -2 0>
	ambient .6
	diffuse 0
	turbulence .1
     }
   scale <10000 10000 10000>
   rotate <35 0 0> rotate <0 0 25>
  }

  //--- Ceiling
  object {
   plane { <0 1 0> 2000 }
     texture {
      gradient <0 1 0>
	color_map {
	[0 .05 color Black color Black]
	[.05 .1 color Black color Violet]
	[.1 .2 color Violet color CadetBlue]
	[.2 .5 color CadetBlue color Violet]
	[.5 .7 color Violet color Black]
	[.7 1 color Black color Black]
	}
	scale <.3 2 .3>
	ambient .8
	diffuse 0
	turbulence .1
     }
   scale <10000 10000 10000>
 }
}



//--- Swamp Water
object {
  plane { <0 1 0> 460 }
    texture {
     color SeaGreen alpha .7
     refraction .7
     ambient .2
     diffuse .7
     reflection .8 
   }
}




