POV-Ray : Newsgroups : povray.binaries.images : need help lava lamp : need help lava lamp Server Time
15 Nov 2024 10:17:50 EST (-0500)
  need help lava lamp  
From: Connie
Date: 24 Jul 2003 19:55:03
Message: <3f2071d7@news.povray.org>
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. Any 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 'lava_lamp3.bmp.dat' (226 KB)

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