POV-Ray : Newsgroups : povray.binaries.images : bright specks intersecting media objects : Re: bright specks intersecting media objects Server Time
26 Apr 2024 04:52:42 EDT (-0400)
  Re: bright specks intersecting media objects  
From: omniverse
Date: 5 Jan 2017 09:20:00
Message: <web.586e558cd75225c89c5d6c810@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 04.01.2017 um 13:50 schrieb omniverse:
> > Couldn't find a solution to this problem by changing media parameters so I
> > wonder if it's possible to remove these specks at all or if there's a bug in the
> > media code.
>
> Looks like a coincident surfaces problem to me: When a ray hits the
> surface of one of the boxes, and very shortly thereafter the surface of
> the other one, POV-Ray may miss that second intersection, and lose track
> whether it is inside or outside that box. In such cases, POV-Ray might
> erroneously come to the conclusion that the interior of the box
> (including the media) extends to infinity.
>
> If that is the case, then increasing the overall scale of the scene
> should do some good.

That was it! I almost did that but was stubborn about thinking it should be okay
at 0.1+ POV Unit sizes.

Factored everything by 100. Added scale 100 for each box and 1/100 of media
density. No speckles.

Thanks a bunch Clipka.

No bug to fix but does have me thinking this isn't the first time rescaling a
scene larger has been the answer. I'm one of those people who delve into the
small decimal regions of POV space often enough to encounter trouble, so thank
goodness for the earlier fixes.

If anything maybe there should be a troubleshooting section of the documentation
that simply says, "Build it bigger!", or smaller if the opposite causes
problems.
;)

Bob


Post a reply to this message

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