POV-Ray : Newsgroups : povray.newusers : Emitting objects masked by trasnparent ones. : Re: Emitting objects masked by trasnparent ones. Server Time
23 Apr 2024 09:30:02 EDT (-0400)
  Re: Emitting objects masked by trasnparent ones.  
From: green
Date: 16 May 2016 12:55:00
Message: <web.5739fa8f352152539c083ab80@news.povray.org>
"EdR" <nomail@nomail> wrote:
> Hi,
>
> I'm having a problem rendering emitting objects, where transparent objects seem
> to be blocking the light from others behind.
>
> It can be seen in the minimal code (part of a larger scene) below and in this
> render https://www.dropbox.com/s/fki0av19wjwnbvu/minimal_bug_example.png?dl=0
>
> The left hand cylinder seems to obscure the right hand one, and I can't work out
> why. Can anyone help?
>
> Thanks!
>
> ----
> #include "colors.inc"
> camera {
>   location <15,0,40>
>   look_at <5,0,0>
>   angle 45
> }
>
> //background
> background { color Black }
>
> #declare thick = 1.5;
> union {
>   #for (ii, 8, 9)
>     cylinder{
>       (ii*thick*x), (((ii+1)*thick*x)-0.000001), 1
>       pigment { Clear }
>       hollow
>
>       interior {
>         media {
>           emission White * 0.03
>         }
>       }
>     scale <1,12.4,12.4>
>     }
>   #end
> }
> ----

maybe not related, but did you realize -0.000001 is -0.000001*<1,1,1> ?


Post a reply to this message

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