// Last edited on DATE TIME by USER // Processed by remove-cam-lights global_settings { max_trace_level 10 } background { color rgb < 0.75, 0.80, 0.85 > } #declare colorDarkBlue = texture { pigment { color rgb < 0.00, 0.00, 0.80 > } finish { diffuse 0.8 specular 0.1 roughness 0.205 ambient 0.1 } } #declare colorLightBlue = texture { pigment { color rgb < 0.00, 0.40, 1.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.205 ambient 0.1 } } #declare colorDarkGreen = texture { pigment { color rgb < 0.00, 0.80, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorLightGreen = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorYellow = texture { pigment { color rgb < 1.00, 1.00, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorGlassRed = texture { pigment { color rgb < 0.95, 0.05, 0.05 > filter 0.8 } finish { diffuse 0.1 ambient 0.1 } } #declare colorGlassRed1 = texture { pigment { color rgb < 0.95, 0.05, 0.05 > transmit 0.8 } finish { diffuse 0.1 ambient 0.1 } } #declare colorRed = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorBrown = texture { pigment { color rgb < 0.90, 0.90, 0.75 > } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.1 } } #declare colorGrey = texture { pigment { color rgb < 0.70, 0.70, 0.70 > } finish { diffuse 0.8 specular 0.1 roughness 0.205 ambient 0.1 } } #declare colorGlassGrey = texture { pigment { color rgb < 0.70, 0.70, 0.70 > filter 0.8 } finish { diffuse 0.1 specular 0.5 roughness 0.205 ambient 0.1 } } #declare colorMetalGrey1 = texture { pigment { color rgb < 0.70, 0.70, 0.70 > } finish { diffuse 0.1 ambient 0.1 reflection 0.8 } } #declare colorMetalGrey2 = texture { pigment { color rgb < 0.50, 0.50, 0.50 > } finish { diffuse 0.3 ambient 0.2 reflection 0.5 } } #declare colorArray = array[6] {colorDarkBlue,colorLightBlue,colorDarkGreen,colorLightGreen,colorYellow,colorRed}; #declare eixos = merge { box { < 0, 0, 0 > , < 10, 0.1, 0.1 > texture { colorDarkBlue } } box { < 0, 0, 0 > , < 0.1, 10, 0.1 > texture { colorDarkGreen } } box { < 0, 0, 0 > , < 0.1, 0.1, 10 > texture { colorRed } } } #declare bocal = #declare point1 = <0.50, -8.00>; #declare point2 = <0.50, 0.00>; #declare point3 = <0.50, 5.00>; #declare point4 = <1.00, 8.00>; #declare point5 = <0.80, 8.00>; #declare point6 = <0.50, 6.00>; merge { cylinder { point1, point1 - <0,0,0.01>, .1 pigment { color rgb < 1.00, 0.00, 0.00 > } finish { ambient 1 } } cylinder { point2, point2 - <0,0,0.01>, .1 pigment { color rgb < 0.70, 0.70, 0.70 > } finish { ambient 1 } } cylinder { point3, point3 - <0,0,0.01>, .1 pigment { color rgb < 1.00, 1.00, 0.00 > } finish { ambient 1 } } cylinder { point4, point4 - <0,0,0.01>, .1 pigment { color rgb < 0.00, 0.80, 0.00 > } finish { ambient 1 } } cylinder { point5, point5 - <0,0,0.01>, .1 pigment { color rgb < 0.00, 0.00, 0.80 > } finish { ambient 1 } } lathe { cubic_spline 6, point1, point2, point3, point4, point5, point6 pigment { color rgb < 0.30, 0.40, 0.70 > } finish { ambient 1 reflection 0.3 } } } #declare corneta = union { object { bocal rotate < 0.00, 0.00, 180.00 > scale 2 } object { bocal } } #declare prisma = prism { linear_sweep linear_spline -0.5, 0.5, 5, <2,2>, <2,0>, <0,0>, <0,2>, <2,2> pigment { color rgb < 0.50, 0.50, 0.50 > } translate < -1.00, 0.00, -1.00 > scale 1.5 } #declare caixa = prism { linear_sweep linear_spline -2.2, 0, 7, <-7,20>, <7,20>, <3,0>, <7,-10>, <-7,-10>, <-3,0>, <-7,20> pigment { color rgb < 0.50, 0.50, 0.50 > } rotate < 90.00, 0.00, 0.00 > } plane { z , 0 texture { pigment { checker rgb < 1.0, 1.0, 1.0 >, rgb < 0.41, 0.41, 0.41 > } finish { diffuse 0.5 ambient 0.5 } } scale 2 translate -10*z } object { eixos } object { corneta } object { prisma } object { caixa } // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_vec = <20.00,20.00,10.00> // #local cam_sky = z #include "camlight.inc" camlight(<0,0,0>,<10,10,10>,20.0,z,1.0)