POV-Ray : Newsgroups : povray.binaries.images : Playing with texture Server Time
31 Jul 2024 08:28:39 EDT (-0400)
  Playing with texture (Message 1 to 7 of 7)  
From: H  Karsten
Subject: Playing with texture
Date: 4 Apr 2010 01:30:10
Message: <web.4bb823afc802e8ebda6353d60@news.povray.org>
I've experimented a little around making blurry reflection on mesh, mesh2 and
patches.
This one works well:

//######################################

#declare Rd=seed(12352345);// use this line only once, at the beginning of your
scene

interior{ior 1.1}

texture {

 average texture_map {

  #local eN=1;#while (eN<32)

   [1

    pigment {color rgb 0}

    finish{

      reflection {0,10 fresnel on}

     ambient 0 diffuse 1}

     normal {spotted 1 scale eN/100*rand(Rd)*.1

    }

   ]

  #local eN=eN+1;#end

 }

}

//######################################



Rendered with beta 3.7


For sure, its not necessary to use fresnel - up to you.


Holger



Ps.: Remember to make a nice environment, _this_ is the good looking
"something". To round it up, take a black background-plane, using the
"screen.inc" file.


Post a reply to this message


Attachments:
Download 'bot-tom2.jpg' (55 KB)

Preview of image 'bot-tom2.jpg'
bot-tom2.jpg


 

From: Paolo Gibellini
Subject: Re: Playing with texture
Date: 6 Apr 2010 04:59:41
Message: <4bbaf7fd$1@news.povray.org>
>H. Karsten  on date 04/04/2010 07:29 wrote:
> I've experimented a little around making blurry reflection on mesh, mesh2 and
> patches.
> This one works well:
>
> //######################################
>
> #declare Rd=seed(12352345);// use this line only once, at the beginning of your
> scene
>
> interior{ior 1.1}
>
> texture {
>
>   average texture_map {
>
>    #local eN=1;#while (eN<32)
>
>     [1
>
>      pigment {color rgb 0}
>
>      finish{
>
>        reflection {0,10 fresnel on}
>
>       ambient 0 diffuse 1}
>
>       normal {spotted 1 scale eN/100*rand(Rd)*.1
>
>      }
>
>     ]
>
>    #local eN=eN+1;#end
>
>   }
>
> }
>
> //######################################
>
>
>
> Rendered with beta 3.7
>
>
> For sure, its not necessary to use fresnel - up to you.
>
>
> Holger
>
>
>
> Ps.: Remember to make a nice environment, _this_ is the good looking
> "something". To round it up, take a black background-plane, using the
> "screen.inc" file.
>


A _very_ nice look.
;-)
Paolo


Post a reply to this message

From: Kenneth
Subject: Re: Playing with texture
Date: 6 Apr 2010 13:25:01
Message: <web.4bbb6dfa5929bcf465f302820@news.povray.org>
"H. Karsten" <h-karsten()web.de> wrote:

Your code is quite ingenious, especially

normal {spotted 1 scale eN/100*rand(Rd)*.1

for changing the scale of the normal. I definitely want to play around with this
general idea. My 'post-process motion-blur' animation code is very similar to
your overall #while-loop/averaging set-up (using pre-rendered images to average
together) but it never occurred to me to use such a scheme with normals.  Thanks
for posting it.

Ken


Post a reply to this message

From: Warp
Subject: Re: Playing with texture
Date: 7 Apr 2010 08:21:33
Message: <4bbc78cd@news.povray.org>
On 04/06/2010 08:23 PM, Kenneth wrote:
> for changing the scale of the normal. I definitely want to play around with this
> general idea. My 'post-process motion-blur' animation code is very similar to
> your overall #while-loop/averaging set-up (using pre-rendered images to average
> together) but it never occurred to me to use such a scheme with normals.  Thanks
> for posting it.

  Well, achieving blurred reflections with averaged normals is a quite
old trick, eg. described here:

http://wiki.povray.org/content/Knowledgebase:Language_Questions_and_Tips#Topic_13

  IIRC the trick was originally discovered by Ron Parker.


Post a reply to this message

From: Kenneth
Subject: Re: Playing with texture
Date: 7 Apr 2010 13:50:00
Message: <web.4bbcc4f05929bcf465f302820@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:

>   Well, achieving blurred reflections with averaged normals is a quite
> old trick, eg. described here:
>
> http://wiki.povray.org/content/Knowledgebase:Language_Questions_and_Tips#Topic_13

VERY helpful and informative (and in POV-Ray's own Wiki--duh!) Thanks for the
link.

Ken


Post a reply to this message

From: H  Karsten
Subject: Re: Playing with texture
Date: 16 Apr 2010 18:20:01
Message: <web.4bc8e1f25929bcf4dec81f370@news.povray.org>
Hi

having strange effects with the DOF:

angle cam_angle

  aperture .5
  blur_samples 256
  focal_point <-16.043,61.816,-40.952>
  confidence 0.99999999999
  variance   1/99999999999
}

I realy try to make a goof quality DOF here but now the blur in the back have
some "rectangle" shape.

Does anyone have an idea for that to fix?

Holger


Post a reply to this message


Attachments:
Download 'bot-tom.jpg' (67 KB)

Preview of image 'bot-tom.jpg'
bot-tom.jpg


 

From: Kenneth
Subject: Re: Playing with texture
Date: 19 Apr 2010 03:10:01
Message: <web.4bcc00905929bcf49ffb52250@news.povray.org>
"H. Karsten" <h-karsten()web.de> wrote:
> Hi
>
> having strange effects with the DOF:
....
> I realy try to make a goof quality DOF here but now the blur in the back have
> some "rectangle" shape.

Is the background an image_map, or is it real POV-Ray geometry? If an image_map,
then the problem *could* be with how DOF works with the pixels in an image.
I.e., the pixels don't have 'infinite detail' like real geometry would have.
Just a guess, though.

Ken


Post a reply to this message

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