• May 22, 2022, 09:58:41 AM

Author Topic: (Question) Formulas using maps?  (Read 69 times)

0 Members and 1 Guest are viewing this topic.

Offline MrMondragon

  • Fractal Friend
  • **
  • Posts: 14
(Question) Formulas using maps?
« on: May 09, 2022, 01:46:27 AM »
And here goes another: Found the following formula in M3D and would like to know if this can be achieved in Mandelbulber and if anyone could point me to an example of use.

Thanks

Code: [Select]
Formula: ABoxMapSFold

Description:

A modified "Amazing Box" by an idea of Aexion,
the radius for the sphere folding is modified by a 2d pixelmap,
creating surface pattern on spherefold areas:

x = abs(x+Fold) - abs(x-Fold) - x
y = abs(y+Fold) - abs(y-Fold) - y
z = abs(z+Fold) - abs(z-Fold) - z
Mvec = (GetRGBfromSphereMap(@x, Map_nr) + Map_offset) * Map_scale
rr = Sqr(x + Mvec[0]) + Sqr(y + Mvec[1]) + Sqr(z + Mvec[2])
if rr < sqr(Min_R) then m = Scale/sqr(Min_R) else
if rr < 1 then m = Scale/rr else m = Scale
x = x * m + Cx
y = y * m + Cy
z = z * m + Cz


Linkback: https://fractalforums.org/index.php?topic=4751.0

Offline mclarekin

  • 3d
  • ****
  • Posts: 996
Re: Formulas using maps?
« Reply #1 on: May 09, 2022, 02:49:25 AM »
cannot currently be done  in an existing formula

added it to issue #907 at github

Offline MrMondragon

  • Fractal Friend
  • **
  • Posts: 14
Re: Formulas using maps?
« Reply #2 on: May 09, 2022, 01:04:34 PM »
Thanks :thumbs:


xx
Particle Storm - Cosmic Style Transfer Zoom Flight

Started by schizo on Fractal movie gallery

3 Replies
262 Views
Last post April 04, 2021, 09:52:25 PM
by patched
clip
Minuscule source code for Lyapunov images (ASCII style)

Started by marcm200 on Programming

8 Replies
1156 Views
Last post March 20, 2019, 06:37:58 PM
by marcm200
clip
Neural Style Transfer with Fractal Art

Started by reallybigname on Other Artforms

1 Replies
966 Views
Last post July 20, 2019, 02:25:41 PM
by reallybigname
xx
Neural Style Transfer enhanced Mandelbrot zoom

Started by schizo on Fractal movie gallery

6 Replies
1053 Views
Last post December 22, 2020, 08:31:14 PM
by schizo
clip
Colored Boundary rendering style

Started by hobold on Programming

7 Replies
273 Views
Last post April 04, 2022, 09:25:52 AM
by hobold