POV-Ray : Newsgroups : povray.general : Interpolating between textures using clock? : Re: Interpolating between textures using clock? Server Time
25 Apr 2024 23:03:06 EDT (-0400)
  Re: Interpolating between textures using clock?  
From: tutki
Date: 3 Feb 2022 14:50:00
Message: <web.61fc30c07de8ac05c8e85ceb98f01db@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "tutki" <nomail@nomail> wrote:
>
> > P.S. Oh nevermind, just realized povray allows the color part of each entry to
> > be variable. So I could do something like Red + Green*clock, Green + Blue*clock,
> > etc., to get what I want.
> >
> > Thanks for the idea!
>
> Yes, you've got the idea.   :)
>
> You _might_ also think about using the same static pigments in the map, but vary
> the map indices using the clock value...

Huh, the map indices are allowed to be variable too?? Wow my grasp of SDL is a
lot weaker than I thought. :-D


> colors.inc has a macro called CHSV2RGB in case the direct rgb variation doesn't
> provide what you want.
>
> https://wiki.povray.org/content/Reference:Colors.inc

Ohh, that looks very useful, thanks!


Post a reply to this message

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