POV-Ray : Newsgroups : povray.binaries.images : need help lava lamp Server Time
16 Nov 2024 06:17:05 EST (-0500)
  need help lava lamp (Message 1 to 3 of 3)  
From: Connie
Subject: need help lava lamp
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)

From: Tim Nikias v2 0
Subject: Re: need help lava lamp
Date: 24 Jul 2003 20:14:14
Message: <3f207656$1@news.povray.org>
Oh, and regarding that huge upload just now:
plain-text is also required, no HTML posts please.

-- 
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18.07.2003


Post a reply to this message

From: Hughes, B 
Subject: Re: need help lava lamp
Date: 26 Jul 2003 23:23:06
Message: <3f23459a@news.povray.org>
"Tim Nikias v2.0" <tim### [at] gmxde> wrote in message
news:3f2075f0@news.povray.org...
>
> recursion_limit (specified in global_settings{})
> POV-Ray ships with a default of 5, which
> may be too low for two sides of glass plus
> several refractions and reflections. The same
> applies to photons, you can set a recursion_limit
> there, too.

Ahem. Tim, it's max_trace_level still last time I checked, not
recursion_limit (which is for radiosity).  ;-)

I've made a lava lamp before, too. I can't see what the inside is doing in
that image; so, if there's lava stuff, it sure is blending with the rest of
the lamp--- wait... now I can. I'm using a LCD screen here and tilting it
back I can see the lower and upper globs now.

What you are wanting to do, obviously, is lighten areas and also have
shadowy areas of the lava. Correct? You'll probably end up needing
scattering media, if you haven't used that already. That way the light
source should interact much better than just placing a light within a
semi-transparent blob object.

I suggest that you try test renders without the glass and photons until you
get the lava illumination adjusted the way you like it. Helps if the tests
are speedier as you go back and forth with changes. Then afterward you can
work on the refractions of the glass and liquid, as well as any final
placements of the lava/light combination.

Bob H.


Post a reply to this message

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