POV-Ray : Newsgroups : povray.binaries.animations : Liquid animation 9 : Re: Liquid animation 9 Server Time
5 Jul 2024 11:36:29 EDT (-0400)
  Re: Liquid animation 9  
From: Slime
Date: 25 Jun 2005 19:52:34
Message: <42bdee42$1@news.povray.org>
> The problem I
> faced with PovRay is that I wasn't able to define with different
properties
> the air <-> water, air <-> glass and glass <-> water surface properties.

The best way to do this is to simply avoid coincident surfaces. You have two
options:

1. Slightly overlap glass and water. Rays will go through air -> glass ->
glass + water -> water, and in the process will use the air ior -> glass
ior -> water ior -> water ior.

2. Leave a tiny space between glass and water. Rays will go through air ->
glass -> air -> water, and in the process will use the air ior -> glass
ior -> air ior -> water ior. If the gap is small it won't be noticeable.

You may have already done one of these.

> (the idea was that there is no so
> much difference between water and glass).

There is actually a significant difference; water's ior is 1.33 and glass is
1.5 according to the documentation. However, this doesn't explain why the
bookshelf looks the same through empty tank as it does through water.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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