POV-Ray : Newsgroups : povray.unofficial.patches : Another post_process idea : Re: Another post_process idea Server Time
2 Sep 2024 06:20:14 EDT (-0400)
  Re: Another post_process idea  
From: Warp
Date: 26 Apr 2000 05:25:57
Message: <3906b624@news.povray.org>
Perhaps something like this:

#declare ColoringFunction = function { x*.25+y*.6+z*.15 }

global_settings
{ post_process { pixel_color ColoringFunction(Red, Green, Blue) }
}

or:

#declare RedFunction = function { ... }
#declare GreenFunction = function { ... }
#declare BlueFunction = function { ... }

global_settings
{ post_process
  { pixel_color <RedFuntion(Red, Green, Blue),
                 GreenFunction(Red, Green, Blue),
                 BlueFuntion(Red, Green, Blue)>
  }
}

or something similar.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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