|
![](/i/fill.gif) |
> 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
|
![](/i/fill.gif) |