POV-Ray : Newsgroups : povray.binaries.images : blurred : Re: blurred Server Time
8 Aug 2024 14:24:12 EDT (-0400)
  Re: blurred  
From: m1j
Date: 13 Jun 2005 20:30:00
Message: <web.42ae241ba8c921ff9dce7a310@news.povray.org>
"s.day" <s.d### [at] uelacuk> wrote:
> "m1j" <mik### [at] hotmailcom> wrote:
> > Just playing with blurred reflections from some of the code found online.
>
> Nice picture, excellent lighting it looks very realistic. I assume blurred
> reflections are mega pov only or can they be done with normal POV?
>
> Sean

Well the first attempts I did where using povman with a combination of
shaders I wrote and code I found online. This image was done using SDL code
I here in the forums.

#macro BTEX(BlurAmount,BlurSamples,ObjectPigment,ObjectFinish )
texture {
   average texture_map
    { #declare Ind = 0;
      #declare S = seed(0);
      #while(Ind < BlurSamples)
        [1 // The pigment of the object:
           pigment { ObjectPigment }
           // The surface finish:
           finish { ObjectFinish }
           // This is the actual trick:
           normal
           { bumps BlurAmount
             translate <rand(S),rand(S),rand(S)>*10
             scale 1000
           }
        ]
        #declare Ind = Ind+1;
      #end
    }
}
#end

Credit goes to the very smart person that wrote this code but I can not
remember names very well.

I have not tried the megapov blur yet.

The povman shader gives more control but is slower. With it I was able to
fade the reflection off based on distance from the object. Not sure yet how
to do that with any other version of povray. Will keep playing.


Post a reply to this message

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