POV-Ray : Newsgroups : povray.general : Another strange message Server Time
8 Aug 2024 12:25:54 EDT (-0400)
  Another strange message (Message 1 to 7 of 7)  
From: Warp
Subject: Another strange message
Date: 12 Jan 2001 07:38:41
Message: <3a5efad1@news.povray.org>
I don't remember seeing this warning before (I have been using povray for
several years):

warning: Suspicious expression after rgb.

  Can you guess what causes it?-)

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

From: Josh English
Subject: Re: Another strange message
Date: 12 Jan 2001 07:50:36
Message: <3A5EFE0A.9C0C278F@spiritone.com>
I usually get this when I have rgb <1.1,1> by mistake, or four components of
the vector instead of 3

Josh

Warp wrote:

>   I don't remember seeing this warning before (I have been using povray for
> several years):
>
> warning: Suspicious expression after rgb.
>
>   Can you guess what causes it?-)
>
> --
> char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
> main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
> c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/

--
Josh English -- Lexiphanic Lethomaniac
eng### [at] spiritonecom
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/


Post a reply to this message

From: Gail Shaw
Subject: Re: Another strange message
Date: 12 Jan 2001 07:54:02
Message: <3a5efe6a@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote in message news:3a5efad1@news.povray.org...
>   I don't remember seeing this warning before (I have been using povray
for
> several years):
>
> warning: Suspicious expression after rgb.
>
>   Can you guess what causes it?-)
>

I get that frequently as I tend to mix up commas and dots when
typing fast. Any of the below causes the warning.

rgb <1.2.2,0,0>

rgb <1,1,1,1>

rgb <0..1,1,1>

Gail
********************************************************************
* gsh### [at] monotixcoza              * System.dat not found.         *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
********************************************************************
* If at first you don't succeed, call it version 1.0               *
********************************************************************


Post a reply to this message

From: Warp
Subject: Re: Another strange message
Date: 12 Jan 2001 11:47:34
Message: <3a5f3526@news.povray.org>
Gail Shaw <gsh### [at] monotixcoza> wrote:
: I get that frequently

  I wonder why this is the first time I see it.

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

From: Christoph Hormann
Subject: Re: Another strange message
Date: 12 Jan 2001 13:53:26
Message: <3A5F52A9.E9111D9@gmx.de>
Warp wrote:
> 
>   I don't remember seeing this warning before (I have been using povray for
> several years):
> 
> warning: Suspicious expression after rgb.
> 
>   Can you guess what causes it?-)
> 

I get it sometimes, when i write a slightly more complicated float
expression for a 'color rgb'.  Since it's only a warning i rarely see it
:-)

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Gail Shaw
Subject: Re: Another strange message
Date: 15 Jan 2001 07:51:14
Message: <3a62f242@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote in message news:3a5f3526@news.povray.org...
> Gail Shaw <gsh### [at] monotixcoza> wrote:
> : I get that frequently
>
>   I wonder why this is the first time I see it.
>

<grin> You type better than I do.

Gail
********************************************************************
* gsh### [at] monotixcoza              * System.dat not found.         *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
********************************************************************
* If at first you don't succeed, call it version 1.0               *
********************************************************************


Post a reply to this message

From: Warp
Subject: Re: Another strange message
Date: 15 Jan 2001 09:54:31
Message: <3a630f27@news.povray.org>
Gail Shaw <gsh### [at] monotixcoza> wrote:
: <grin> You type better than I do.

  And it even wasn't a mistyping. IIRC it was something like this:

#declare Color = rgb <1,.5,0>;
...
  color_map
  { [0 rgb Color]


-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

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