POV-Ray : Newsgroups : povray.newusers : angle of incidence of rays of light : Re: angle of incidence of rays of light Server Time
7 Dec 2021 16:32:15 EST (-0500)
  Re: angle of incidence of rays of light  
From: ttyUSB0
Date: 28 Sep 2018 04:00:01
Message: <web.5badde7747fdf4edb540a4420@news.povray.org>
"ttyUSB0" <nomail@nomail> wrote:
I have read the manual carefully.. :)
This code does something similar to what I need:

polygon {4, <-w/2, -h/2>, <w/2, -h/2>, <w/2, h/2>, <-w/2, h/2>
    pigment{
        aoi
        color_map {
            [0.71 color Blue transmit 0.1]
            [0.99 color Red transmit 0.9]
        }
    }
    rotate 15*x
    no_image
}

Shadow now depends on rotation angle.


Post a reply to this message

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