POV-Ray : Newsgroups : povray.general : Parse Warning: Suspicious expression after rgb : Re: Parse Warning: Suspicious expression after rgb Server Time
29 Jul 2024 02:33:17 EDT (-0400)
  Re: Parse Warning: Suspicious expression after rgb  
From: clipka
Date: 16 May 2013 09:46:40
Message: <5194e340@news.povray.org>
Am 15.05.2013 21:34, schrieb Nekar Xenos:
> How can I find out what this suspicious expression is?
> The variable was obtained through eval_pigment()

I suspect eval_pigment() gives you a 5-component colour (RGBFT), while 
rgb expects a 3-component vector. Try using "rgbft" instead of "rgb", or 
omitting the "rgb" keyword entirely.


Post a reply to this message

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