POV-Ray : Newsgroups : povray.programming : Rendering Objects In gray scale : Re: Rendering Objects In gray scale Server Time
15 Jul 2025 04:50:46 EDT (-0400)
  Re: Rendering Objects In gray scale  
From: Ken
Date: 7 Feb 2001 16:29:02
Message: <3A81BEC7.337A39F2@pacbell.net>
Pablo Viojo wrote:
> 
> 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.

We are pointing out that "rgb x" is valid notation as far as POV-Ray
is concerned. As is rgb y and rgb z.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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