POV-Ray : Newsgroups : povray.beta-test : Re: problem with transparent image_maps : Re: problem with transparent image_maps Server Time
30 Jul 2024 06:17:50 EDT (-0400)
  Re: problem with transparent image_maps  
From: Mike Williams
Date: 27 Dec 2001 13:12:44
Message: <eGSwuBAritK8EwLH@econym.demon.co.uk>
Wasn't it Hugo who wrote:
>Objects with transparent image_maps have "non-transparent" shadows. POV-Ray
>3.1 and MegaPov did it very well. Please check the images!
>The object, that caused the problem is the following:

The article that reported this error has been cancelled, because it
contained some binaries. It also didn't contain a complete scene file
that showed the error, and the scene fragment that it did contain was
over complicated.

However, I confirm the existence of the bug that it reported.

Here's a simpler, more complete scene file that displays the problem. To
see the problem you will require something to use as "test.gif" a
palletized image with a significant proportion of the image being colour
zero.

When rendered in pov 3.1, the shadow matches the shape of the non-
transparent part of the object. When rendered in 3.5b9 the shadow is
that the full box.

POV 3.5b9, Win 98se, Celeron II 850, 128 Mb



camera { location  <2, 3, -4> look_at <0, 0.5, 0> angle 30}

sky_sphere { pigment {rgb z}}

light_source {<-100,100,-100> colour rgb 1}
light_source {<100,100,100> colour rgb 1}

box {<-0.5,0,0><0.5,1,0.001> 
  pigment {image_map {gif "test.gif" transmit 0,1}
  translate <-0.5,0,0>}
}

plane {y 0 pigment {rgb 1}}


Post a reply to this message

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