POV-Ray : Newsgroups : povray.advanced-users : Wood coloring help. : Re: Wood coloring help. Server Time
28 Jul 2024 18:12:20 EDT (-0400)
  Re: Wood coloring help.  
From: Jim Charter
Date: 24 Aug 2004 10:29:43
Message: <412b50d7$1@news.povray.org>
Gary Blessing wrote:

Maybe a little more on what you see the difference is to be gapped and 
what you have tried

For instance the most noticeable difference to me is the way the large 
grain in your target wood acts more like a ramp_wave with a fairly crisp 
chage in color between extreme light and extreme dark.  Wood by default 
uses a triangle_wave

So I tried these changes:

#declare M_Wood14A =
colour_map {
     [0.00 0.10 color rgb < 0.80, 0.232, 0.115 >
                color rgb < 0.80, 0.232, 0.115 >]
     [0.10 0.90 color rgb < 0.80, 0.232, 0.115 >
                color rgb < 0.45, 0.115, 0.060 >]
     [0.90 1.0  color rgb < 0, 0, 0 >            <<<<<<<<<<<<<<
                color rgb < 0.45, 0.115, 0.060 >]
}

and

#declare P_WoodGrain14A =
pigment {
     wood
     ramp_wave  <<<<<<<<<<<<<<<<<<<<<<<
     colour_map { M_Wood14A }
     turbulence 0.065
     octaves 2
     scale <0.15, .15, 1>
     translate < -1 0 0 >
     rotate <-3, -3, 0>
}


Post a reply to this message

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