POV-Ray : Newsgroups : povray.general : Parser messages : Parser messages Server Time
29 Jul 2024 14:13:57 EDT (-0400)
  Parser messages  
From: SGeier
Date: 13 May 2011 14:08:38
Message: <4dcd73a6@news.povray.org>
Low priority and not really a "bug", but there's a couple error/warning 
messages floating around that aren't really useful (and/or possibly 
misleading). I don't think they warrant a bug report, but I'm not sure where 
I would report them so that someone can think about them.

The one that triggered this post (and has been around for a metric 
forever[*]) is this one:
      Parse Warning: Suspicious expression after rgb.

which I get whenever I do something like this:

     color rgb CHSV2RGB(<n*2,.85,.7>)

Now CHSV2RGB isn't a built-in (it's in colors.inc) - but does that alone 
make it "suspicious"? And of course I use it mostly when I have something 
algorithmic (place a lot of objects in a circle, say, and color them by 
angle). So this error message tends to arise in large quantities, that can 
obscure other (legitimate) warnings.





([*] a metric forever is about 20% longer than an imperial forever)


Post a reply to this message

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