POV-Ray : Newsgroups : povray.beta-test : Incorrect image_map shadows : Incorrect image_map shadows Server Time
29 Jul 2024 18:23:12 EDT (-0400)
  Incorrect image_map shadows  
From: Anders K 
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

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