POV-Ray : Newsgroups : povray.general : The Transmit Value : Re: The Transmit Value Server Time
8 Aug 2024 18:14:28 EDT (-0400)
  Re: The Transmit Value  
From: Chris Huff
Date: 13 Nov 2000 16:14:57
Message: <chrishuff-72E4DE.16150813112000@news.povray.org>
In article <3a05e6c8@news.povray.org>, "Rune" <run### [at] inamecom> 
wrote:

> Anyway, values outside the 0 to 1 range *can* be used; the question 
> is why it works in such a strange way. Is there an actual senseful 
> reason behind, or was it coded this way for no particular reason?
> That's why I would *reeeaally* like to be told *why* *it* *works* 
> *as* *it* *does*! (Both for official POV-Ray and for MegaPOV).

Because it was designed to work for values between 0 and 1, and 
apparently someone didn't take into account the use of values outside 
that range. Someone probably noticed that although it only works 
properly in the [0, 1] range, it allowed values outside that range, so 
they "fixed" it, not realizing values outside that range had any use.
Or maybe it messes up layered textures or something...

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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