POV-Ray : Newsgroups : povray.newusers : How to make semi-believable wood? : Re: How to make semi-believable wood? Server Time
29 Jul 2024 06:25:12 EDT (-0400)
  Re: How to make semi-believable wood?  
From: nemesis
Date: 6 May 2006 14:40:00
Message: <web.445ceca6d8c1b17066cf3ced0@news.povray.org>
"RusHHouR" <gee### [at] mailnu> wrote:
> They look, well, kinda smooth...

lacking some normal, turbulence and a little contrast in the colors in the
wood colormap...

> Tried to use the wood normal, but, I didnt
> really get what I expected...

thing is:  the normal has to match the pigment settings so as to make it
believeable.

like this:


camera { location -2*z look_at 0 }

light_source {<1,.6,-.5>*10 1 }
light_source {<.3,.3,-1>*10 .4 }

#declare cm_wood =
color_map {
 [0 rgb .8*<.8,.76,.4>]
 [.4 rgb <.6,.46,.4>]
 [1 rgb .6*<.6,.46,.4>]
}

#declare t_wood =
texture {
 pigment { wood color_map { cm_wood } turbulence .10 }
 normal { wood .8 turbulence .10 }
 finish { ambient .3 diffuse .36 phong .4 phong_size 46 brilliance .6 }
}

cylinder { -1*y, 1*y, .3
 texture { t_wood rotate 80*x scale .022 scale y*1.2 translate .6 }
}


playing around with the last scale setting (.22), the color_map and the wood
bump_size (.8) can bring some surprisingly nice results.


Post a reply to this message

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