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
|