POV-Ray : Newsgroups : povray.unofficial.patches : For fun: half full glass : Re: For fun: half full glass Server Time
2 Sep 2024 08:15:37 EDT (-0400)
  Re: For fun: half full glass  
From: Nathan Kopp
Date: 15 Apr 2000 22:58:47
Message: <38f92c67@news.povray.org>
Bob Hughes <per### [at] aolcom?subject=PoV-News:> wrote ...

> #declare HFt=
>         texture {pigment {rgbft <.5,.7,.9,.85,.15>}
>                 finish {reflection .2 refraction on ior 1.33}
>         }
> #declare HEt=
>         texture {pigment {rgbf <.9,.975,.925,1>}
>                 finish {reflection .1 refraction on ior 1.5}
>         }

As you know, the old style IOR cannot be used with POV 3.1 (and thus with
MegaPov).  Even if you could use it, it would not look correct, especially
when the glass was viewed from any angle other than perfect horizontal.  You
pretty much have to create one object for the glass and one object for the
liquid inside.  Then you can animate the liquid object to make the level of
the liquid decrease or increase over time.

-Nathan


Post a reply to this message

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