#include "colors.inc" #include "shapes.inc"
#include "camlight.inc"
#include "eixos.inc"

#declare center = <0.00, 0.00, 0.00>;
#declare scene_radius = 25;
#declare camera_direction = <1, 1, 0.4>;
#declare camera_distance = 5.1 * scene_radius;
#declare light_intensity = 0.2;

camlight(
  center,
  scene_radius,
  camera_direction,
  camera_distance,
  z,
  light_intensity
)

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


difference {
  prism {
    0, 4, 5
    <1, -1>, <2, 2>, <-2, 2>, <-1, -1>, <-2, -4>

    texture {
      pigment { rgb <0.3, 0.3, 0.3> }
    }

    rotate <90, 0, 180>

    translate <2, 2, 0>
  }

  prism {
    -1, 6, 5
    <1, -1>, <2, 2>, <-2, 2>, <-1, -1>, <-2, -4>

    texture {
      pigment { rgb <0.3, 0.3, 0.3> }
    }

    rotate <90, 0, 180>

    translate <2, 2, 0>
  }

  object {
    text {
      ttf "gothic.ttf" "Fellipe" 3, 0
    }

    pigment { rgb <0.3, 0.3, 0.3> }

    rotate  <90, 0, 240>
    translate <2.8, 2, 2>
  }
}

object {
  box {
    <0, 0, 0>, <10, 0.5, 10>
    pigment { rgb <0.2, 0.2, 0.2> }
  }

  translate <-5, -10, 0>
  rotate <0, 0, -60>
}

light_source {
  <3, 3, 2.2>,
  0.9
}


// eixos(20)