POV-Ray : Newsgroups : povray.binaries.images : Spherical Harmonics : Re: Spherical Harmonics Server Time
7 Nov 2024 07:30:37 EST (-0500)
  Re: Spherical Harmonics  
From: Cousin Ricky
Date: 7 Aug 2016 00:40:01
Message: <web.57a6bb7b58721232b484452a0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> I copied the CHSV2RGB macro and stored the r, g, and b values in separate
> variables to get rid of the parser warning about a suspicious expression.  How
> do I suppress that?

I get that message when I use the rgb keyword with a value that is already a 5
component color.  And it so happens that CHSV2RGB returns a 5 component color.

Depending on the situation, I get rid of the message by using color or rgbft
instead of rgb, or by omitting the keyword altogether.


Post a reply to this message

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