POV-Ray : Newsgroups : povray.beta-test : bug with no_image, transparency and reflections Server Time
24 Dec 2024 23:58:27 EST (-0500)
  bug with no_image, transparency and reflections (Message 1 to 1 of 1)  
From: slongay
Subject: bug with no_image, transparency and reflections
Date: 10 Jun 2009 04:25:00
Message: <web.4a2f6da2bfbd6bbfdc638afc0@news.povray.org>
I believe this post is very much related to the one here,
http://news.povray.org/povray.beta-test/thread/%3Cweb.46f84a9cd032f3c7cb86afba0@news.povray.org%3E/

But that thread claims the bug was fixed in version 26 and i'm still having a
related issue.

The issue I am having is with a reflective object reflecting another object
which has the no_image modifier on it. If you place an alpha mapped object
between them, the image is correct but the reflection is not.

Here is a sample scene, with a triangle mapped half white and half transparent.
In the image you only see the white half but in the reflective plane below it
you see the whole triangle.

camera {
  location  <0.0, 0.5, -4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
}

light_source {
  <0, 5, 0>
  color rgb <1, 1, 1>
  translate <-30, 30, -30>
}

triangle
{
 0,<0,0,1>,<1,0,0>
 rotate x*30
 translate y

 texture {
       gradient x
       texture_map {
        [0.5 pigment { rgbt <0,0,0,1> } finish { ambient 0 diffuse 0 } ]
        [0.5 pigment {rgbt <1,1,1,0> } finish { ambient 0.5 diffuse 1}]

      }
    }
}

plane {
  y, 0
  pigment { color rgb <0.7,0.5,0.3> } finish { reflection 1.0 }
}

plane {
  y, 0
  pigment { color rgb <0,0,0.3> }
  rotate x*30
  translate y*10

  no_image
}

Thanks
-Steve


Post a reply to this message

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