User:Le Forgeron/vault/RefImgCubic
< User:Le Forgeron | vault
Jump to navigation
Jump to search
#include "colors.inc"
#include "metals.inc"
#include "golds.inc"
//background { Yellow }
#default{ finish { ambient 1 }}
plane { y,0
texture { pigment { White*4/5} finish { reflection 1 ambient 0} } }
plane { -z,-30
texture { pigment { White} finish { reflection 1 ambient 0} } }
camera { location <15,30,-30>
direction z
right x
up y
look_at <4,17,0>
angle 30
}
light_source { < 0,100,0>,<1,1,1>/2}
light_source { < -100,10,0>,<1,1,1>/4}
#declare SX=texture { pigment { Blue }};
#declare SY=texture { pigment { Red }};
#declare SZ=texture { pigment { Magenta }};
#declare SXM=texture { pigment { Green }};
#declare SYM=texture { pigment { Cyan }};
#declare SZM=texture { pigment { Yellow }};
#declare Ply=texture{ cubic
texture {SX}
texture { SY}
texture {SZ}
texture {SXM}
texture {SYM}
texture { SZM}
}
difference {
superellipsoid { <0.45,0.45> texture { Ply }
scale 7
}
text { ttf "verdanab.ttf" "1" 1,1 translate -0.35*x-0.2*y scale <-7,7,7> rotate 90*y }
text { ttf "verdanab.ttf" "2" 1,1 translate -0.35*x-0.2*y scale <-7,7,7> rotate 90*y rotate 90*z }
text { ttf "verdanab.ttf" "3" 1,1 translate -0.35*x-0.2*y scale <-7,7,7> }
text { ttf "verdanab.ttf" "4" 1,1 translate -0.35*x-0.2*y scale <-7,7,7> rotate -90*y }
text { ttf "verdanab.ttf" "5" 1,1 translate -0.35*x-0.2*y scale <-7,7,7> rotate -90*y rotate 90*z }
text { ttf "verdanab.ttf" "6" 1,1 translate -0.35*x-0.2*y scale <-7,7,7> rotate 180*y }
//scale 6/7
rotate 30*y
translate <0,11,18>
}