POV-Ray : Newsgroups : povray.binaries.images : need help lava lamp Server Time
20 Nov 2024 02:39:17 EST (-0500)
  need help lava lamp (Message 1 to 1 of 1)  
From: Connie
Subject: need help lava lamp
Date: 24 Jul 2003 20:15:15
Message: <3f207693@news.povray.org>
BlankHi, 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




----------------------------------------------------------
difference
 {  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} 
                     scale 0.9999 
                     texture {
                        pigment {
                          gradient y
                          color_map {
                            [0.0 color rgb 1.0 ]
                            [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 } 
                    cone {<0, -1.3,0>, 0.3, <0,-0.4, 0>, 0.7} 
                     scale 0.9999 
                   }  
          pigment { rgb 1 filter 1 }
          finish { reflection { 0.0, 1.3 fresnel } }
          interior { ior 1.33}
              
  photons {target
                reflection on
                refraction on     }
                       }
                    }


Post a reply to this message


Attachments:
Download 'windows-1252' (6 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.