POV-Ray : Newsgroups : povray.text.scene-files : find edges postprocess using functions : Re: find edges postprocess using functions Server Time
1 Jul 2024 02:00:06 EDT (-0400)
  Re: find edges postprocess using functions  
From:  Light Beam 
Date: 25 Jul 2002 06:08:02
Message: <3d3fce02@news.povray.org>
I try and I obtain a black image !?... how does it works ?


3d3fc72a@news.povray.org...
>
> >   #declare Ofun_Norm=
> >   function{
> >     max
> >     (
> >     select(abs(Ifun_green_blur(x,y,z)-Ifun(x,y,z).green)-Di_Dist,0,1),
> >     select(abs(Ifun_blue_blur(x,y,z)-Ifun(x,y,z).blue)-Di_Dist,0,1)
> >     )
> >   }
> >
>
> This has to be:
>
> #declare Ofun_Norm=
>   function{
>     max
>     (
>     select(abs(Ifun_green_blur(x,y,z)-Ifun(x,y,z).green)-Di_Norm,0,1),
>     select(abs(Ifun_blue_blur(x,y,z)-Ifun(x,y,z).blue)-Di_Norm,0,1)
>     )
>   }
>
>


Post a reply to this message

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