POV-Ray : Newsgroups : povray.binaries.images : Povray phyics simulation : Re: Povray phyics simulation Server Time
4 Oct 2024 11:16:40 EDT (-0400)
  Re: Povray phyics simulation  
From: Thomas Lake
Date: 15 Apr 1999 21:23:51
Message: <37168460.308B6702@home.com>
Jerry Anning wrote:

> On Thu, 15 Apr 1999 17:52:06 +0300, Lewis <ble### [at] netvisionnetil>
> wrote:
>
> >I handed in the lab report today, but I would like to know how to
> >specify a spectrum for the light source (in UVPOV)
>
> Here is a quote from a recent post by Nathan Kopp:
>
> > I have implemented dispersion, but there's no default spectrum.  If you
> > creat your light source like this:
> >
> > light_source
> >   <10,10,10>
> >   color <1,1,1> // this will be replaced, but the parser is a hack right
> >                 //   now, so it is still required
> >   color_map{    // here you define your light's spectrum
> >                 //   this color_map acts like "average":  the first value is
> >                 //   weight (intensity), the second is color
> >     [1, <.5,0,0>]
> >     [1, <.2,.2,0>]
> >     [1, <.3,.3,0>]
> >     [1, <0,.5,.5>]
> >     [1, <0,0,.5>]
> >   }
> > }
> >
> > Notice, the color map entries added up to <1,1,1>.  This spectrum will
> > probably look bad (I made it up just now), but you get the idea.
>
> Jerry Anning
> clem "at" dhol "dot" com

Does this mean that UVPov can't actually simulate colour splitting. Instead you
have to fake it by defining the spectrum colours?


Post a reply to this message

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