POV-Ray : Newsgroups : povray.general : Simple math question : Re: Simple math question Server Time
30 Jul 2024 12:23:53 EDT (-0400)
  Re: Simple math question  
From: some yahoo
Date: 14 Feb 2009 18:45:47
Message: <499757ab$1@news.povray.org>
triple_r wrote:
> some_yahoo <209### [at] gmailcom> wrote:
>> Trying to render something in a sequence of colors using an animation.  Lets just
say they are web buttons. I provide
> 
>> this color cube source to illustrate that I am getting a lot of missing colors. 
What I really need is a function tha
> t
>> converts a float (0..1) into an rgb value such that from 0 to 1 all colors are
represented (with enough granularity).
> 
> 
> Is there a reason the HSV or HSL color model would not work?  That way you could
> use a nested loop to achieve a range of all colors, all saturations, and all
> brightnesses in a very controlled fashion.
> 
> http://www.povray.org/documentation/view/3.6.1/434/
> 
>  - Ricky
> 
> 


no - I am doing a different color in each frame.  I only have a clock variable to work
with.  There are no nested loops


Post a reply to this message

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