POV-Ray : Newsgroups : povray.binaries.images : (~33k) povray image processing - pic_to_bgr.jpg (1/1) : Re: (~33k) povray image processing - pic_to_bgr.jpg (1/1) Server Time
17 Aug 2024 00:14:00 EDT (-0400)
  Re: (~33k) povray image processing - pic_to_bgr.jpg (1/1)  
From: Ron Parker
Date: 30 Nov 2001 22:23:46
Message: <slrna0gja5.ht.ron.parker@fwi.com>
On Sat, 01 Dec 2001 02:56:26 GMT, Pet### [at] nymaliasnetalmost wrote:
> 	Here I used the new function erm, function in povray
> 3.5 to take an input image map and process it, generating
> greyscale, sepia tone, negative, weirded out, etc. versions
> of it.
> 	Source in povray.text.scene-files.

And, for those who haven't seen it because they don't read p.t.s-f,
there's a more complex example of the same thing under the subject 
"halftones" in the same group. 

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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