POV-Ray : Newsgroups : povray.binaries.images : First attempts at blurred reflection... : Re: First attempts at blurred reflection... Server Time
2 Nov 2024 02:18:02 EDT (-0400)
  Re: First attempts at blurred reflection...  
From: clipka
Date: 28 Nov 2011 10:19:11
Message: <4ed3a66f$1@news.povray.org>

> Hi(gh)!
>
> On 28.11.2011 04:05, clipka wrote:
>
>> It looks to me like you're using just one single bumpy texture, rather
>> than multiple ones - or you've forgot to translate each of them
>> randomly; you need either multiple layers (e.g. 40 as in the example),
>> or - my personal preference - some slight but high-quality focal blur
>> for good oversampling (anti-aliasing doesn't quite cut it), in which
>> case a single small-scale bumpy texture will suffice.
>
> In fact I did so... here's the code:

> #declare T_Blurred_Gold =
> texture
> {
> average
> texture_map
> {
> #while (i<40)
> #declare rn=seed(0);

Heh! You're seeding the random number generator inside the loop, giving 
you the very same sequence of "random" numbers (and hence the same 
translation vector) over and over again. Don't do that :-P


Post a reply to this message

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