POV-Ray : Newsgroups : povray.newusers : angle of incidence of rays of light : Re: angle of incidence of rays of light Server Time
18 Apr 2024 18:55:53 EDT (-0400)
  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-2023 Persistence of Vision Raytracer Pty. Ltd.