POV-Ray : Newsgroups : povray.general : Wood texture with additional xylem rays??? : Wood texture with additional xylem rays??? Server Time
29 Jul 2024 14:16:55 EDT (-0400)
  Wood texture with additional xylem rays???  
From: hearing
Date: 28 Feb 2011 13:20:01
Message: <web.4d6be58fc23a6d957cf44a70@news.povray.org>
Hi everybody,

i am looking for a specific kind of wood texture.
In general the wood textures given in "woods.inc" have a cylindrical shape with
different modifications. For my application i find a combination, which is quite
near with this short example:
-----------------------------
#include "woods.inc"

background { color rgb <1, 1, 1> }
camera { location <1.1, 1.4, -1.1> look_at <0.0, 0.0, 0.0> }
light_source { <6.0, 8.0, -8.0> color rgb <1.0, 1.0, 1.0> }

box {
  <-0.35, -0.35, -0.35>
  < 0.35,  0.35,  0.35>
    texture {
            T_Wood10
            finish { specular 0.35 roughness 0.05 ambient 0.3 }
            rotate <-0, 90, 0>
            translate -y*0.2
            translate z*3
        }
}
-----------------------------
My specific wood species has additional radial xylem rays which are moving from
the center of the cylinder to the boundary bark. With their ellipsoid cross
section they have a wonderful appearance after cutting like:

http://de.wikipedia.org/w/index.php?title=Datei:Buche_Holz_1.jpg&filetimestamp=20050814172227

My Question: Do anyone know how to generate those additional radial rays in the
wood texture?

The wood texture is defined as:
-----------------------------
#declare T_Wood10 =
    texture {  pigment{ P_WoodGrain10A color_map { M_Wood10A }}}
    texture {  pigment{ P_WoodGrain10B color_map { M_Wood10B }}}
-----------------------------
with:
-----------------------------
#declare P_WoodGrain10A =
pigment {
    wood
    turbulence 0.02
 //   turbulence 0.5
    octaves 4
    lambda 3
    scale 0.175
    //scale <0.3,0.175,0.175>
    rotate <2, 2, 0>
}
#declare P_WoodGrain10B =
pigment {
    wood
    turbulence 0.02
    octaves 4
    lambda 2.8
    scale 0.2
    //scale <0.3,0.2,0.2>
    rotate <2, 2, 0>
    translate <0.0175, 0.0175, 0.0175>
}
-----------------------------

For your help many thanks in advance

hearing


Post a reply to this message

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