POV-Ray : Newsgroups : povray.general : scattering media oddities : Re: scattering media oddities Server Time
30 Jul 2024 00:18:15 EDT (-0400)
  Re: scattering media oddities  
From: waggy
Date: 14 Mar 2010 20:10:01
Message: <web.4b9d79ae1a9a49cef99d05c80@news.povray.org>
"Kai" <nomail@nomail> wrote:
> To model a foam plastic object (like
> http://de.wikipedia.org/wiki/Datei:Haushaltsschwaemme.jpg ) I tried a
> appropriate surface texture combined with a dense scattered media.
>
> The results are good, except when some feature is placed in the foam object.
> Such a feature should only be visible on a very short distance below the
> surface, but it's visible throughout the whole object. I've tracked down this
> issue to the scattering media.
>
> In the following sample scene the blue cylinder should disappear quickly, but
> it's visible through the whole media filled box. If the box is divided into
> parts (just set fogDivisions > 1), the visibility issue get's better. With
> subdivisions one get's band artifacts, however, and for more complex objects
> this wouldn't be of much help anyhow. I'm using povray Unix 3.6.1.
>
> Are there better alternatives to model this case?
>
It sounded like an accuracy issue, so I tried adding "method 3 samples 100" to
the media statement.  This seemed to result in the appearance you're expecting.

~David


Post a reply to this message

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