POV-Ray : Newsgroups : povray.binaries.utilities : Wood program but still develop : Re: Wood program but still develop Server Time
3 May 2024 02:00:13 EDT (-0400)
  Re: Wood program but still develop  
From: And
Date: 10 Apr 2024 02:15:00
Message: <web.66162d0a5b6ed24a432d90aa81652d@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> Here's a dispersion pattern I found that seems to also make a good wood ring
> pattern.
>
> https://en.wikipedia.org/wiki/Dispersion_(water_waves)#Dispersion_relation
> https://www.desmos.com/calculator/dzrqmexxik
>
> #declare T_wave = 0.5; // -10 to 10 in example
> #declare FWave1 = function {sum (k_wave, 0.3, 3, mod ( (sqrt(x*x+y*y) - sqrt
> (9.81*k_wave*3)*T_wave)*k_wave*3, 2*pi) <= 1)}
> #declare FWave2 = function {sum (k_wave, 0.3, 3, abs ( (sqrt(x*x+y*y) - sqrt
> (9.81*k_wave*3)*T_wave)*k_wave*3) <= 0.3)}
> #declare Formula201 = function {(FWave1 (x, y, z) + FWave2 (x, y, z))/2}
>
> plane {z, 0 pigment {function {Formula201 (x,y,z)} } }
>
> Add 2 different color maps for light and dark wood, and it should look a lot
> better.


I see this idea describing...
"when annual ring pattern is not very clear"


Post a reply to this message

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