POV-Ray : Newsgroups : povray.general : Re: Glass in glass Server Time
13 Aug 2024 19:28:13 EDT (-0400)
  Re: Glass in glass (Message 1 to 2 of 2)  
From: Jan Danielsson
Subject: Re: Glass in glass
Date: 10 Jun 1998 15:01:30
Message: <wnaqnavryffbasnyhaznvygryvnpbz.eud1ei1.pminews@news.povray.org>
:>A problem of coinciding surfaces?

You are absolutely correct!..

:>Try making your "liquid" sphere a bit smaller than 0.98 (like 0.979)
:>
:>Just a guess,

And a good one! Thanks!





 /j


Post a reply to this message

From: Robert Dawson
Subject: Re: Glass in glass
Date: 17 Jun 1998 09:23:20
Message: <01bd99f4$4872e080$1c8eb88c@rdawson>
Jan Danielsson <Jan### [at] falunmailteliacom> wrote in article
<wnaqnavryffbasnyhaznvygryvnpbz.eud1ei1.pminews@news.povray.org>...
> :>A problem of coinciding surfaces?
> 
> You are absolutely correct!..
> 
> :>Try making your "liquid" sphere a bit smaller than 0.98 (like 0.979)
> :>
> :>Just a guess,
> 
> And a good one! Thanks!

	The only problem that you may get now is that the extra surfaces drive the
trace level way up; and you may get reflections from the thin film of
"vacuum" that this introduces. It may help to make one or both  of the
interface surfaces completely nonreflective - have one "liquid" texture for
the liquid-glass interface and another, complete with reflection (and
ripples?) for the top.

	IWBNI (say) POV4.X had an additonal union-like CSG operation as well as
union and merge, which indicated that a ray that left one body and entered
the other within some threshold distance was to be treated as having only a
single interface. Other possible ways of doing the same thing would be a
modifier for union; changing union itself on the grounds that nobody ever
seems to *want* the messy ambiguity; or an "asymmetric union" that clips
the second body at the edge of the first, so that you just need to make the
liquid a tiny bit larger than the hole it occupies. 

		-Robert Dawson


Post a reply to this message

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