POV-Ray : Newsgroups : povray.general : hi~, everybody, how to modulate two bmp files with the third bmp file? : Re: hi~, everybody, how to modulate two bmp files with the third bmp file? Server Time
1 Aug 2024 22:19:55 EDT (-0400)
  Re: hi~, everybody, how to modulate two bmp files with the third bmp file?  
From: lien0n
Date: 10 Mar 2005 05:35:01
Message: <web.42302284a2703140598059850@news.povray.org>
"lien0n" <nomail@nomail> wrote:
> "Mienai" <Mienai> wrote:
> > "lien0n" <nomail@nomail> wrote:
> > > It seems that (x,y,z), I use to locate the pixel, does not work. Maybe i am
> > > still not familiar enough with the syntex of how to use
> > > user-defined-fuction, and maybe there is an other way to implement what i
> > > want to do.
> > >
> > > So any advice will be deeply appreciated!
> >
> > If I'm not mistaken, x,y, and z are reserved for the POV-Ray coordinate
> > system only.  Try using (X,Y,Z) for your functions.
>
> Another error:
> undeclared identifier X found instead.
>
> Thx anyway!

of course,if i add something like this:
#local X=0;
#local Y=0;
#local Z=0;
then Factor(X,Y,Z) would not to iterate inside the whole bmp, it just
extract the value at pixel (0,0,0).


Post a reply to this message

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