POV-Ray : Newsgroups : povray.advanced-users : Spiral of Theodorus [and rgb problem] : Re: Spiral of Theodorus [and rgb problem] Server Time
3 May 2024 16:41:13 EDT (-0400)
  Re: Spiral of Theodorus [and rgb problem]  
From: clipka
Date: 28 Feb 2016 23:17:23
Message: <56d3c653$1@news.povray.org>
Am 29.02.2016 um 01:41 schrieb Bald Eagle:

> Here's some code y'all can feel free to play with, though I can't quite seem to
> get my rgb color to change on-screen, except for the very last triangle.
> The debug stream shows the r and g components smoothly being decremented, so I'm
> not sure what's going on.
> I think there might be a nut loose somewhere between the chair and the
> keyboard...
...
> #declare RGB = <255, 255, 0>;
...
> #declare RGB = RGB - <255/NumberOfTriangles, 255/NumberOfTriangles, 0>;

Remember that in POV-Ray, the nominal range for colour values is 0.0 to 1.0.


Post a reply to this message

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