
#declare C_breaker_black =  color rgb <0.15,.15,.17> *.3 ;
#declare C_panel_gray =     color rgb <0.15,.15,.17> * 2 ;

#declare F_plastic =
finish {
    ambient .2
    diffuse 1   
    phong .7
    phong_size 80  
    //reflection {.05, .7 fresnel}
}

#declare F_smooth_paint =
finish {
    ambient .2
    diffuse 1   
    phong 1.2
    phong_size 60  
    reflection {.001, .2 fresnel}
}


#declare M_bleaker_black_plastic =
material {
    texture {
       pigment { C_breaker_black }
       finish  { F_plastic }
   }
}

#declare M_panel_gray =
material {
    texture {
       pigment { C_panel_gray }
       finish  { F_plastic }
   }
}


#declare imgDiffuse = "breaker_panel/breaker_panel_diffuse.png" 
#declare imgBump = "breaker_panel/breaker_panel_bump.png"

#declare M_panel_face =
material {
    texture {
       pigment { 
            image_map {
                png imgDiffuse     
                map_type 0
                interpolate 4 
                }
      }
   
    finish {F_smooth_paint}
     
    normal  {
        bump_map {
            png imgBump 
            map_type 0
            interpolate 4 
        } 
        bump_size .15
    }
        
    }
    
    
    scale <200,300,1> 
    rotate x*90
    translate <-100,0,-150>  
}


#declare imgDiffuse = "breaker_panel/breaker_diffuse.png" 


#declare M_breaker =
material {
    texture {
       pigment { 
            image_map {
                png imgDiffuse     
                map_type 0
                interpolate 4 
                }
      }
   
    finish {F_plastic}
     
   }
    
    
    scale <32.5,11,1> 
    rotate x*90
    translate <-16.25,0,-5.5>  
}