POV-Ray : Newsgroups : povray.general : Colour in shadow! : Colour in shadow! Server Time
29 Jul 2024 14:23:40 EDT (-0400)
  Colour in shadow!  
From: Ian Snook
Date: 10 Apr 2011 19:50:00
Message: <web.4da2416e42a4b003413a4eea0@news.povray.org>
i have created a object with the following code:

#declare Window =
union{
  box{<0,0,0.1>,< 1.50,1.50,0.1>
        texture {
        pigment {image_map { png "net.png"}}
        }  }
  box{<0,0,0.11>,<1.5,0.05,0.21>}
  box{<0,1.50,0.11>,< 1.50,1.55,0.13>}
  box{<0,0,0.11>,<0.05,1.50,0.13>}
  box{<1.50,0,0.11>,<1.55,1.50,0.13>}
  box{<1.50,1,0.11>,<0,1.05,0.13>}
  texture {
        pigment{ color White}
        finish { ambient 0.9 phong 0.5}
        }
        }
and called with

object{ Window
        scale <1,1,1>*1
        rotate<0,0,0>
        translate<4,2.3,2.401>
        rotate y*90}


This creates a window that looks exactly how i want it, the only thing being
that, when the window is in the shadow of something, eg a tree im trying to do,
it still stays bright white rather than going dull, does anyone know how to do
this?


Post a reply to this message

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