POV-Ray : Newsgroups : povray.binaries.images : Chief Architect and POV-Ray : Re: Chief Architect and POV-Ray Server Time
1 Aug 2024 06:20:06 EDT (-0400)
  Re: Chief Architect and POV-Ray  
From: Edouard Poor
Date: 2 Mar 2009 14:50:00
Message: <web.49ac3847788f5fafbd47b0730@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
>

>
> > To me, the finish on the wood flooring makes it look more like vinyl (due
> > to the significant reflection) than wood, but there is a fine line
> > between polyurethane coating reflection and plastic looking.
>
>    Yes, it looks like a fake wood made out of vinyl... :) Wood reflections
> should be more blurry, but I still haven't found a way to mix the wood grain
> bumps with the blurred reflections trick.

That's easy - just use an averaged normal_map

e.g.

#declare bump_mapping =
 normal {
  bump_map {
   png "wood-bump.png"
   interpolate 3
   bump_size 10
  }
  rotate x*90
  scale 100
 }

#declare micro_normals =
  normal {
   bumps 0.5
   scale 0.001
  }

plane {
 <0.0, 1.0, 0.0>, 0.0
 texture {
  pigment { rgb 0.3 }
  finish { reflection 0.8 conserve_energy }
  normal {
   average
   normal_map {
    [ 1 bump_mapping ]
    [ 1 micro_normals translate <rand(s), rand(s), rand(s)>*1000 ]
   }
  }
 }
}

Cheers,
Edouard.


Post a reply to this message

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