// MC930 - Projeto de ComputaƧao Grafica
// Last edited on 2000-12-14 09:07:40 by mc726

// MONUMENTO
#include "colors.inc"
#include "textures.inc"
#include "finish.inc"
#include "stars.inc"

background{ color rgb < 0.00, 0.00, 0.00 > }

camera {
  location  <  2.50, 3.50, 2.50 >
  right     <  0.00, 1.20, 0.00 >
  up        <  0.00, 0.00, 0.90 >
  sky       <  0.00, 0.00, 1.00 >
  look_at   <  0.00, 0.00, 0.00 >
}

light_source { <0.00, 4.0, 3.50> color rgb <1.00,1.00,1.00> }
light_source { <0.00, 0.00, 25.50> color rgb <1.00,1.00,1.00> }
light_source { <-10.00, 0.00, 0.50> color rgb <1.00,1.00,1.00> }

//ceu estrelado
plane {y, -30
 texture {
        Starfield1
    }
  }

#declare base = cylinder {
        <0,0,-0.08>
        <0,0,0>,1.5
        pigment {color rgb <1,1,1>}
}

object{
	base
}

#declare meia_concha =
	bicubic_patch{
	type 1 flatness 0.0100 u_steps 3 v_steps 3,
	//ponto mais baixo
	<-0.26,-1.477, 0>,
	<-1.05,-1.05, 0>,
	<-1.3,-0.75,0>,
	<-1.5,0,0>,
	//ponto intermediario 1
	<-0.245,-1.3886,0.5>,
	<-0.987,-0.987,0.5>,
	<-1.221,-0.705,0.5>,
	<-1.41,0,0.5>,
	//ponto intermediario 2
	<-0.1944,-1.103,1.0>,
	<-0.784,-0.784,1.0>,
	<-0.97,-0.56,1.0>,
	<-1.12,0,1.0>,
	//ponto mais elevado
	<0,0,1.5>,
	<0,0,1.5>,
	<0,0,1.5>,
	<0,0,1.5>
	pigment { color rgb <1,1,1>  }
    }

 object {
 meia_concha
 }

 object {
meia_concha
 rotate <0,0,-80>
 }