POV-Ray : Newsgroups : povray.general : parse warning : Re: parse warning Server Time
29 Jul 2024 04:26:14 EDT (-0400)
  Re: parse warning  
From: MichaelJF
Date: 2 Jan 2013 13:50:00
Message: <web.50e48126f283053278ca74630@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 2-1-2013 15:16, Jaime Vives Piqueres wrote:

> >> For some time now I have been wondering about the meaning of:
> >>
> >> Parse warning: Suspicious expression after rgb.
> >
> >    That warning is the one I most see... due to my tendency to mix
> > colors by arithmetic operations (i.e.: Red*.5+Yellow*.3). I learned to
> > just ignore it... ;)
>
> I also do that a lot (mixing and... ignoring) ;-)
>
> I just got curious because sometimes it seems not to make sense,
> everything loud an clear, so to speak, but I probably have some hidden
> things I overlook in the process.
>
> Thanks all for the clarification.
>
> Thomas

I'm not sure completelly but I see his warning often when I add a forth or fifth
component to a color vector (e.g. something like this: color Red +
<0,0,0,0.5,0.5>) to get filtered or general transmittance. Mainly within color
maps and the like.

Best regards,
Michael


Post a reply to this message

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