POV-Ray : Newsgroups : povray.bugreports : Incorrect shadows with transparent meshs Server Time
31 Oct 2024 14:11:34 EDT (-0400)
  Incorrect shadows with transparent meshs (Message 1 to 1 of 1)  
From: Micha Riser
Subject: Incorrect shadows with transparent meshs
Date: 2 May 2001 20:39:23
Message: <3af0a8bb$1@news.povray.org>
Following scene produces an incorrect rendering with povray 3.1 (the linux 
and windows version, as well as megapov). The 'f' and 't' of the pigment 
are ignored in the shadow calculation; when the triangle is not inside a 
mesh{}, then everything is correct.

Code follows.

- Micha Riser

// begin code

camera{
         location <0,4,-4>
         look_at <0,1,0>
}

light_source{<-10,50,0>  color 1 }

#declare TT=texture{pigment{rgbf <1,.5,.5,0.7>}} //or 'rgbt'

mesh{
         triangle{ <-1,1,-1>,<1,2,0>,<0,1.5,1> texture{TT} }
}

plane{y,0 pigment{rgb 1} }

// end code


Post a reply to this message

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