POV-Ray : Newsgroups : povray.general : Is media only sampled on an object's surface? : Re: Is media only sampled on an object's surface? Server Time
4 Nov 2024 12:59:29 EST (-0500)
  Re: Is media only sampled on an object's surface?  
From: clipka
Date: 7 Dec 2008 13:50:00
Message: <web.493c1a459118521d8f4fceef0@news.povray.org>
"Andy" <nomail@nomail> wrote:
> In some renderings of a cube with interior media I just did it seems like the
> media is only being sampled on the surface, even though the help file says
> media get sampled in intervals throughout an object.  I tried changing the
> number of intervals to 10 in case the default is erroneously 1, and while it
> took longer to render I got the same result.
>
> I'm using POV-Ray version 3.7 beta 28.

I see no problems (neither with MegaPoV 1.2.1 which is based on PoV 3.6, nor
with the beta 29) here.

Maybe you just have a wrong expectation about how the image should look?

It is perfectly normal (and realistic) for media effects to show quite sharp
contrasts at the object's surface (unless you add some terms to your formula
that generates some falloff towards the container's boundaries), which are
often strong enough to hide the more subtle brightness differences in the
object's interior.

As a rule of thumb, non-uniform media effects that end abruptly at the object's
boundaries just tend to look crappy (and especially so if you use a shape with
sharp edges like a cube.


Post a reply to this message

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