Hi, I am modeling a lava lamp but I can't get the shadows (in the lamp) right. I also want to modify the liquid (maybe oil ) inside. Does any one have ideas?
 
Thanks,
Connie
 
 
 

----------------------------------------------------------
di fference
 {  cone { <0, -0.4,0>,0.7,<0, 1.8, 0>, 0.3 } 
    cone { <0, -0.4, 0>, 0.69999999999999999,<0, 1.8,0>, 0.29999999999999999 }   
  pigment { Col_Glass_Clear }
  finish { F_Glass6 }
  interior { I_Glass_Exp(2)}       
  photons {
   target
   reflection on
   refraction on
          }       
 }      
 
 

merge{ cone {<0, 1.8,0>, 0.3, <0,-0.4, 0>, 0.7 }
            cone {<0, -1.3,0>, 0.3, <0,-0.4, 0>, 0.7}
           &nb sp;         scale 0.9999
           &nb sp;         texture {
           &n bsp;            pigment {
           &n bsp;           &nb sp;  gradient y
           &n bsp;           &nb sp;  color_map {
           &n bsp;           &nb sp;    [0.0 color rgb 1.0 ]
           &n bsp;           &nb sp;    [0.3 color rgb <0.6, 0.65, 1.0> ]
      }
    }
    finish { ambient 1 diffuse 0 }
  }
  scale 1000
  hollow on

union {
    light_source
     { <0,-1.1,0>, color White*1 }
     object { MyMetal}
     object {Lava_Lamp} 
      ifference { merge{ cone {<0, 1.8,0>, 0.3, <0,-0.4, 0>, 0.7 }
           &nb sp;        cone {<0, -1.3,0>, 0.3, <0,-0.4, 0>, 0.7}
           &nb sp;         scale 0.9999
           &nb sp;       } 
          pigment { rgb 1 filter 1 }
          finish { reflection { 0.0, 1.3 fresnel } }
          interior { ior 1.33}
          &nbs p;  
  photons {target
          &n bsp;     reflection on
           & nbsp;    refraction on     }
           &n bsp;           }
           &n bsp;        }