You are on page 1of 4

// Date : 14/08/07

// Auth : Juan Alvarez


// Title : Abstractedness

#version 3.6;

#include "colors.inc"
#include "stones.inc"
#include "glass.inc"
global_settings {
assumed_gamma 1.0
ambient_light White
}

// ----------------------------------------
#declare camara_1 = camera {
location <0, 4, 15>
direction 1.5*z
right x*image_width/image_height
look_at <0, 1, 0>
}
// ----------------------------------------
#declare camara_2 = camera {
location <6, 5, -12>
direction 1.5*z
right x*image_width/image_height
look_at <0, 1, 0>
}
// ----------------------------------------
#declare camara_3 = camera {
location <0, 1, 1>
direction 1.5*z
right x*image_width/image_height
look_at <4, 1, -6>
}
// ----------------------------------------
sky_sphere {
pigment {
gradient y
color_map {
[0.00 rgb <0.4549020,0.1058824,0.0431373>]
[0.05 rgb <0.8823529,0.4156863,0.0862745>]
[0.10 rgb <0.8549020,0.6274510,0.3058824>]
[0.15 rgb <0.6705882,0.6078431,0.4156863>]
[0.20 rgb <0.5333333,0.5529412,0.4666667>]
[0.25 rgb <0.4666667,0.4901961,0.4901961>]
[0.30 rgb <0.4078431,0.4392157,0.4823529>]
[0.35 rgb <0.3803922,0.4117647,0.4862745>]
[0.40 rgb <0.3568627,0.3882353,0.4784314>]
[0.45 rgb <0.3333333,0.3607843,0.4705882>]
[0.50 rgb <0.3176471,0.3372549,0.4549020>]
}
}
}
// ----------------------------------------
light_source { <0, 0, 0> color rgb <.4, .8, 2> translate <10, 30, -60>}
// ----------------------------------------
#declare m_fin = finish
{
diffuse 0.3
ambient 0.0
specular 0.6
reflection { 0.8 metallic}
conserve_energy
}
// ----------------------------------------
#declare colores = array[5]
{
color Red,
color rgb <0.114,0.973,0.973>,
color Yellow,
color Green,
color rgb <0.871,0.129,0.953>

}
// ----------------------------------------
//Cinco luces alrededor de la bola negra central.
#declare luz=0;
#while (luz<5)
light_source { <0, 0, 4> colores[luz] rotate y*(luz/5*360) translate <0, 4, 0>}
#declare luz=luz+1;
#end
// ----------------------------------------
plane {
y, -1
texture {
finish{
m_fin
refraction 1.2}
}
normal { ripples .05 turbulence 0.01 scale 2 }
}
// ----------------------------------------
#declare roca_granosa = texture {
pigment {
crackle solid
color_map {
[ 0 color rgb <0.804,0.278,0.278> ]
[ 1 color rgb <0.827,0.071,0.071> ]
}
}
normal { granite 0.9 scale <1, 1, 1>*3
}
finish {
ambient color rgb <0.439-.1,0.384-.1,0.282-.1>
diffuse 0.8
specular 0.1
roughness 0.1
brilliance 1
}
scale <1, 1, 1>*0.4
}
// ----------------------------------------
#declare cam_ball = sphere { <0,0.1,0>, 1
pigment { color rgb <0.8,0.8,1.0>}
texture{m_fin}
normal { ripples .05 turbulence 0.01 scale 2 }
}
// ----------------------------------------
#declare b=0;
#while (b<5)
merge{
torus {1+b/5, .1+b/5
pigment {color rgbf <0.2, .4, .7, 1-b/5>}
finish {
phong 1.0
reflection 0.5
refraction 1.2
ior 1.8
}
rotate <20,0,b*6>
translate <-11, 7-b*2, -25-(10-b*4)>
}
}
#declare b=b+1;
#end
// ----------------------------------------
box{//Espejo
<0,0,0>,<4,2,.2>
finish {
phong 1.0
reflection 0.5
refraction 1.2
ior 1.8
}
rotate <20,0,0>
translate <-1, 4, -5>
}
// ----------------------------------------
object {cam_ball}
object {cam_ball translate <6, 5, -14>}
object {cam_ball translate <0, 2, 15>}
//-----------------------------------------
text {
ttf "5cent.ttf", "By JFHack",.1,0
texture { pigment { granite scale 0.5 }}
finish { specular 0.7 }
rotate <0, 0, 0>
scale <-1, 0, 0>
translate <6.3, -.5, 1>
}
// ----------------------------------------
torus {1.5,.3 texture {T_Glass1} translate <0, 3, 0> }
torus {2.75,.3 texture {T_Glass2} translate <0, 2, 0> }
torus {4.2,.3 texture {T_Glass3} translate <0, 1, 0> }
torus {6,.3 texture {T_Glass4} translate <0, -1, 0> }
// ----------------------------------------
union{
cone{ <7,-1.3,-6-1.7>,1,<7.4,5,-6-1.7>,.6}
cone{ <9,-1.3,-7-1.7>,1,<8.4,5,-5-1.7>,.6}
cone{ <4,-1.3,-5-1.7>,1,<6.4,5,-6-1.7>,.6}

cone{ <-21-1,-1.3,-6-40.7>,1,<-21.4-1,5,-6-40.7>,.6}
cone{ <-25.5,-1.3,-7-40.7>,1,<-22.4,5,-5-40.7>,.6}
cone{ <-20,-1.3,-5-40.7>,1,<-23.4,5,-6-40.7>,.6}
texture{roca_granosa}
}