POV-Ray : Newsgroups : povray.binaries.images : Stumbled upon a turbulence pattern detail. Server Time
28 Mar 2024 08:02:22 EDT (-0400)
  Stumbled upon a turbulence pattern detail. (Message 1 to 3 of 3)  
From: William F Pokorny
Subject: Stumbled upon a turbulence pattern detail.
Date: 4 May 2020 13:32:44
Message: <5eb051bc@news.povray.org>
Looking at creating an inbuilt f_agate() rather than the limited macro 
wrapper. Happened to see some code in the parser for handling octaves, 
omega and lambda - stand alone. Meaning used in this way they modify the 
last turbulence in the pattern warp list. If no turbulence defined. any 
of keywords would create a new one.

Perhaps some know, but it's new to me - this allows you to do the 
following with patterns like agate, which have an internal turbulence 
defined. Those keywords standalone are modifying the turbulence going 
into the 'agate' pattern creation code.

#declare Fn00 = function { pattern {
     agate
     octaves 2   // 6
     omega   0.5 // 0.5
     lambda  1.0 // 2.0
     agate_turb 19.0
     noise_generator 2
     phase 0.5
     cubic_wave
     scale 1/3
     rotate x*90
}}

Attached isosurface image is using the feature along with povr's updated 
cubic_wave (bump/selection) function.

Bill P.


Post a reply to this message


Attachments:
Download 'agateisooffsety.png' (2231 KB)

Preview of image 'agateisooffsety.png'
agateisooffsety.png


 

From: Bald Eagle
Subject: Re: Stumbled upon a turbulence pattern detail.
Date: 4 May 2020 15:00:01
Message: <web.5eb0662348feffbffb0b41570@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:

> Attached isosurface image is using the feature along with povr's updated
> cubic_wave (bump/selection) function.


Nice catch - that could certainly be useful, if I ever remember to use all of
those features.   ;)

With regard to that image - you should give it a nice blue water texture with
ior - because it looks almost exactly like the surface of water that rain drops
are falling onto.


Post a reply to this message

From: BayashiPascal
Subject: Re: Stumbled upon a turbulence pattern detail.
Date: 5 May 2020 05:40:00
Message: <web.5eb1346148feffbf61449da70@news.povray.org>
It looks like the sole of my shoes :-)


William F Pokorny <ano### [at] anonymousorg> wrote:
> Looking at creating an inbuilt f_agate() rather than the limited macro
> wrapper. Happened to see some code in the parser for handling octaves,
> omega and lambda - stand alone. Meaning used in this way they modify the
> last turbulence in the pattern warp list. If no turbulence defined. any
> of keywords would create a new one.
>
> Perhaps some know, but it's new to me - this allows you to do the
> following with patterns like agate, which have an internal turbulence
> defined. Those keywords standalone are modifying the turbulence going
> into the 'agate' pattern creation code.
>
> #declare Fn00 = function { pattern {
>      agate
>      octaves 2   // 6
>      omega   0.5 // 0.5
>      lambda  1.0 // 2.0
>      agate_turb 19.0
>      noise_generator 2
>      phase 0.5
>      cubic_wave
>      scale 1/3
>      rotate x*90
> }}
>
> Attached isosurface image is using the feature along with povr's updated
> cubic_wave (bump/selection) function.
>
> Bill P.


Post a reply to this message

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