POV-Ray : Newsgroups : povray.general : Wood texture with additional xylem rays??? : Re: Wood texture with additional xylem rays??? Server Time
29 Jul 2024 14:13:30 EDT (-0400)
  Re: Wood texture with additional xylem rays???  
From: Jim Holsenback
Date: 1 Mar 2011 06:03:55
Message: <4d6cd29b$1@news.povray.org>
On 03/01/2011 06:01 AM, hearing wrote:
> 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
>             pigment {
>                         leopard
>                         //bozo
>                         frequency 0.35 // <-add this line
>                         scale <0.0, 0.0, 40.0>
>                         turbulence 0
>                         octaves 4
>                         lambda 2.8
>                         }
>                 }
> }

couple of things:
probably don't need ambient 0.3 in finish try 0 for now, and the wood
texture is scaled too big by default for your object. comment out the
three transforms after finish statment to get your bearings (wood
textures have the long grain going in the z direction) ... using:

texture {
	T_Wood10
	finish { specular 0.5 roughness 1e-3 ambient 0 }
	pigment {
		....
		}
	scale 0.5
	}

now you should see the circular wood grain facing you ... make more
sense now?

also to try using a color_map to better show the effects of the pigment
pattern that you're overlaying onto the wood texture: Hint at first try
some obvious colors (Red, Green) while figuring out how you want it to
be positioned ie:

pigment {
	leopard
	...
	color_map {
		[0.0 Red]
		[0.5 Red]
		[0.5 Green]
		[1.0 Green]
		}
	}


Post a reply to this message

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