POV-Ray : Newsgroups : povray.binaries.images : No sphere yet, while other are preparing 3.71 : Re: No sphere yet, while other are preparing 3.71 Server Time
6 May 2024 03:58:06 EDT (-0400)
  Re: No sphere yet, while other are preparing 3.71  
From: Le Forgeron
Date: 5 Apr 2017 07:05:03
Message: <58e4cf5f$1@news.povray.org>
Le 05/04/2017 à 02:41, Alain a écrit :
> Le 17-04-04 à 19:38, omniverse a écrit :
>> Cousin Ricky <ric### [at] yahoocom> wrote:
>>
>>> The question I have is how to best simulate interface between the glass
>>> and a liquid without incurring either a coincident surface or spurious
>>> IOR changes due to non-coincident surfaces.
>> The way it used to be done was to overlap the surfaces to prevent an
>> air gap
>> from being in there.
>>
>>
>
> The best way is to clip the glass, have an open to the top object for
> the glass-liquid part with the differential ior for the interface and a
> third object for the top surface, all enclosed into an union.
> The glass part have the glass' ior. Maybe 1.5 to 1.8
> The top surface have the ior of the liquid, around 1.33.
> The inner surface ior would be ior (ior_glass/ior_liquid) -> 1.1278 to
> 1.353.

Or you could just go that way:

http://wiki.povray.org/content/User:Le_Forgeron/HowTo/Perfect_glass

No overlapping, and just CSG in the right order.


Post a reply to this message

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