POV-Ray : Newsgroups : povray.beta-test : Incorrect image_map shadows Server Time
29 Jul 2024 16:29:42 EDT (-0400)
  Incorrect image_map shadows (Message 1 to 3 of 3)  
From: Anders K 
Subject: Incorrect image_map shadows
Date: 22 Mar 2002 21:51:34
Message: <3c9bedb6$1@news.povray.org>
This scene has a sphere with an image_map that uses a transmit modifier to
make one of the colors transparent. There is also a red cylinder that goes
through the sphere. The light source is at the camera location, so the
visible parts of the cylinder should not be in shadow. However, if you
render the scene you'll see that the part of the cylinder that's inside the
sphere has an incorrect shadow. This worked properly in 3.1g.

// ---start---
global_settings { assumed_gamma 1 }
camera { location -3*z look_at 0 }
light_source { -3*z color rgb 1 }
sphere { 0, 1 texture { pigment { image_map { png "fract003.png" map_type 1
transmit 1, 1 } } } }
cylinder { <-1, 0, -1>, <1, 0, 1>, .25 pigment { red 1 } }
// ---end---

POV-Ray 3.5 beta 13, Windows 98

Anders

--
light_source{6#local D=#macro B(E)#macro A(D)#declare E=(E-#declare
C=mod(E D);C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(
C>2)}torus{1..2clipped_by{box{-2y}}rotate<1 0C>*90translate<D+1A(2)
*2+1#else}cylinder{0(C-v=1).2translate<D+C*A(2)A(4)#end-2 13>finish
{specular 1}pigment{rgb x}#end#end#end-8;1B(445000298)B(519053970)B
(483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Incorrect image_map shadows
Date: 23 Mar 2002 08:57:20
Message: <3c9c89c0$1@news.povray.org>
You are correct:

Message-ID: <3c8a4d2e@news.povray.org>
From: Warp <war### [at] tagpovrayorg>
Subject: Known bugs 9 Mar 2002
Newsgroups: povray.beta-test
Xref: news.povray.org povray.beta-test:5014

* image_map transparency bug (job000211)
  (Objects with transparent image_maps have "non-transparent" shadows)
  Reported in:
Re: problem with transparent image_maps
http://news.povray.org/eGSwuBAritK8EwLH@econym.demon.co.uk

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Anders K 
Subject: Re: Incorrect image_map shadows
Date: 23 Mar 2002 15:09:52
Message: <3c9ce110@news.povray.org>
> You are correct:
> [...]
> http://news.povray.org/eGSwuBAritK8EwLH@econym.demon.co.uk

Okay. Sorry, I missed that somehow.

Anders

--
light_source{6#local D=#macro B(E)#macro A(D)#declare E=(E-#declare
C=mod(E D);C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(
C>2)}torus{1..2clipped_by{box{-2y}}rotate<1 0C>*90translate<D+1A(2)
*2+1#else}cylinder{0(C-v=1).2translate<D+C*A(2)A(4)#end-2 13>finish
{specular 1}pigment{rgb x}#end#end#end-8;1B(445000298)B(519053970)B
(483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}


Post a reply to this message

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