|
|
"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
|
|