POV-Ray : Newsgroups : povray.binaries.images : A radial pattern contains randomize(bump) : Re: A radial pattern contains randomize(bump) Server Time
22 Sep 2023 03:55:00 EDT (-0400)
  Re: A radial pattern contains randomize(bump)  
From: Bald Eagle
Date: 29 Aug 2023 06:55:00
Message: <web.64edce6a24fd44d91f9dae3025979125@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:

> I'm looking for patterns which have random characteristic(like bump), but I need
> apply it to associate 0~360 degree(angular), because that is a not completed yet
> challenge for me.

OK, I ran a few more experiments and came up with the attached.

#declare Rad = function {sqrt (x*x+y*y)}
#declare S = 0.5;
#declare W5 = function {Ang (x, y, z) * sin (Rad(x,y,z)*tau/RadFreq)*f_noise3d
(x/S, y/S, z)}

I hope that's more like what you want.

> In fact, I know your W2 function have a seam... I have tried your (W2) method
> when I started coding the macro for my wood generator program last year. So I
> exchange it by a array value - function that time.

Yeah - I've noticed a radial asymmetry and a seam as well - I'll try to think
about a way to not have any discontinuities.

- BE


Post a reply to this message


Attachments:
Download 'radialfunctions.png' (199 KB)

Preview of image 'radialfunctions.png'
radialfunctions.png


 

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