POV-Ray : Newsgroups : povray.programming : Rendering Objects In gray scale : Re: Rendering Objects In gray scale Server Time
15 Jul 2025 03:08:19 EDT (-0400)
  Re: Rendering Objects In gray scale  
From: Pablo Viojo
Date: 7 Feb 2001 16:13:12
Message: <3a81ba68@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote in message news:3a7ff560@news.povray.org...
> Pablo Viojo <pvi### [at] adinetcomuy> wrote:
> : It's internally converted to rgb <x,x,x>
>
>   "rgb <x,x,x>" is invalid povray code since you can't give vectors as
> components of a vector.
>   "rgb x" is the same as "rgb <1,0,0>".
>
> --
> 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 -*/


rgb x, means rgb <any_number>, not x as vector.

Pablo Viojo


Post a reply to this message

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