Logo by AGUS - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. March 28, 2024, 10:14:31 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1] 2 3 ... 5   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Update to the mmf wip formula for Ultra Fractal  (Read 41993 times)
0 Members and 2 Guests are viewing this topic.
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« on: January 18, 2010, 05:45:25 AM »

Hi all,

Finally got the wip (3D Mandelbulb etc.) formula to a point for a new update.
The latest version is now here:

http://www.fractalgallery.co.uk/MMFwip3D.zip

Edit: 1/12/2012 An example UPR:

Code:
Fractal1 {
::10P9whn2Nq12OOuNS03Hg5fwwPsILm02ikSyWZgeIT6ZAyi0JZ3JABYxiMQWmyWj1FHJ5ub7
  v+t41qkc390+pq4lDLWFPksocRXW+QW1P823Mb2Q5QlMd+nMFxmP7hytD7TT4rntXWub/Qac
  S8sqszyu+UmqH5dytlD9pzvN7e5s7yOU28eGfJbJPgxf/tz+XYZ8AVhs3TbZwyol8/nCIbNl
  btVFvkBVFEs+9fCGCZX5hZfuq8rHkd1ZNvf1SuQVLf+bfj2c0mfe2xhy2m05fIL/wuu2TNbn
  Pr9YWe5w5UWQwsa5w+2tp1nqGKPm13PboLrp/YWnsZI9ss/tvpO74xymdG4gSldpBLiYRiko
  YGLMe1SQlvOOOhFKiWlEHNrObXTaUoYRcSET823U02BDQmGi6sHLVYwCmdU2lvXmfIttoYWR
  ZlsJrG813d3neo8o42FnKqnPDGxuzpz/zf+3F3GNXhwxvsF8X9yuu2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8EBnJN5hyh9D7hgwe13S9pCm+KtZ3jVBbsZ+kfXPH97P/Czzfy2G3rIP/5A5lX/SaleX
  uX4kBfT1B3Pc+P8zN1Mwd2i+c8+62W4qDqrq4356mYxsymtyHTTEz0YBpwy5hMxKb5s416/l
  w66CjTiSSSsVxXH66DLJREseFcxBz/DZ6ACnTbafg/fpMPCS+5/D5WobiD==
}

Edit: (12th Feb.2010) The formula now includes Tom Lowe's Mandelbox formula (Tglad) as "Fractal Type"=3D Mandelbrot and "3D type"=Lowe Mandelbox.

Edit: (2nd March 2010) The formula now includes "Simple Sierps" under the Mandelbulb/Juliabulb option (here due to the architecture of the formula). The "Simple Sierps" options allow Location Restricted escape-time IFS based on Tglad's fractal type.

Edit: (12th March 2010) Have added "Lighting + Orbits" to the colouring options. This includes full-3D orbit trapping for any of the formulas and the option to use "genetics" based colouring for the "Simple Sierps" and "Lowe's Mandelbox" formulas (as suggested by Tglad).

Edit: (11th April 2010) Have added analytical distance estimation for the Mandelboxes including an automatic routine for getting the correct scaling for the DE values. Added the option to start with the equivalent of "z=pixel". Fixed a bug in the orbit colouring options. Added the ability to apply location based IFS to any formula. Added the ability to add Mandelbox-style rectagular folding to any formula. Added the "Crazy double complex" formula. Changed the option to negate the spherical inversion values on the Mandelbox to an option to scale by a value instead. Added the Iteration estimation method (doesn't work on the Simple Sierps or Mandelbox). Added rectangular and spherical ambient occlusion options.

Edit: (20th April 2010) Updated again.
Improved the autobox information output as compiler messages.
Added an option such that when possible the rectangular occlusion will use the values calculated from the "autobox" precalculations (i.e. for box centre and size).
Added experimental pseudo-depth of field options.
Added general spherical folding such that it can be applied to all formulas.
Fixed the analytical DE for the crazy double complex formula.
When passing the background colour from the formula to the colouring then the alpha channel of the background colour parameter now controls the opacity of the background against lower layers in the same way that the "inside" opacity does when not passing the background colour. (This update also needs you to update mmf4.ucl from the UF formula database).

http://www.fractalgallery.co.uk/MMFwip3D.zip

And you'll also need the update to mmf4.ucl which is in the Ultra Fractal formula database.

The main Mandelbulb formulas (White/Nylander and Thornton 1) have been vastly optimised.
Plus several fixes, plus additions including fogging, visible light sources and the ability to use any UF class based colouring to colour the fractal if you have UF5.
Also the formula is now fully backwardly compatible with UF4 - just the fBm and "Lighting+UF colouring" options won't work.
« Last Edit: December 01, 2012, 12:45:57 PM by David Makin » Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #1 on: January 18, 2010, 01:50:59 PM »

great, thx dave, perhaps a few more words about how to install it, and a basic tutorial for setting up the coloring cheesy
the .ufm file should be copied to the own documents/uf5/formulas folder i think

hope there will be a uf5 version, with plugable functions

great work!


and how the heck to increase the iteration values for more detail ?!?
sorry, i always got into this  angel
« Last Edit: January 18, 2010, 01:59:36 PM by Trifox » Logged

---

divide and conquer - iterate and rule - chaos is No random!
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #2 on: January 18, 2010, 02:13:39 PM »

great, thx dave, perhaps a few more words about how to install it, and a basic tutorial for setting up the coloring cheesy
the .ufm file should be copied to the own documents/uf5/formulas folder i think

hope there will be a uf5 version, with plugable functions

great work!


and how the heck to increase the iteration values for more detail ?!?
sorry, i always got into this  angel

OK.

1. Download the zip to your hard drive.
2. Extract MMFwip3D.ufm to somewhere in your Ultra Fractal "formulas" folder - it's better *not* to put it in the "public" folder since that's best kept specifically for UF database formulas so instead either extract to the root of the "formulas" folder or a special folder in "formulas" for example called "downloads".
3. Update your formulas from the UF formula database to get the new version of mmf4.ucl.

Am working on the class-based version smiley

By default the iteration count is set to 400 (it's a user parameter in the main formula called "Max. Iterations"), normally to change the level of detail just change the "Solid Threshold" - the smaller the value then the closer to the "inside" you get.
If you wish to render based solely on iteration count then set the formulas "Max. Iterations" parameter to the value you want and reduce the value of "Solid Threshold" - this way solid will be based on the iteration count rather than the sold threshold - always use values greater than zero for the solid threshold (but otherwise as small as necessary).

Note the information section and the fact that most or all the parameters have useful hints.
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #3 on: January 18, 2010, 07:44:21 PM »

thank you very much, i had to use a solid treshold of 0.000000000001 just zoomed ~100x

but what is not working for me is the lighting, i do not understand how to define the surface color
of the object, and shade it properly .. .sad

perhaps bib can write a nice tutorial cheesy
Logged

---

divide and conquer - iterate and rule - chaos is No random!
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #4 on: January 18, 2010, 09:19:44 PM »

perhaps bib can write a nice tutorial cheesy

That would not meet your expectations!

But tell what video/picture you like and I'll post the upr smiley

Thank you Dave for this update cheesy Do you have an example of how to use fogging?
« Last Edit: January 18, 2010, 09:38:05 PM by bib » Logged

Between order and disorder reigns a delicious moment. (Paul Valéry)
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #5 on: January 18, 2010, 10:21:49 PM »

http://www.fractalforums.com/videos/mandelbulb-tunnel/

this one would be nice cheesy

and @bib i think you adjust the treshold and the iteration values carefully for each zoom level ?
Logged

---

divide and conquer - iterate and rule - chaos is No random!
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #6 on: January 18, 2010, 10:32:50 PM »

Trifox I have attached the file.
 
I usually do not change iteration count and sticks with Dave's default at 400. I adjust solid threshold for all keyframes. At the beginning I used to set Distance adjustment to 0, but I discovered that setting it to positive values (less than 1) helps reducing the variation range of the solid threshold in a zoom, as you will notice in the attached file, and to optimize calculation speed, because it seems that this enables distance related solid threshold: the farther an object is, the less details it will calculate.

Edit : file removed because it's not compatible with the updated formula.

« Last Edit: January 18, 2010, 11:04:01 PM by bib » Logged

Between order and disorder reigns a delicious moment. (Paul Valéry)
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #7 on: January 18, 2010, 10:43:23 PM »

Trifox I forgot to say that you better use Dave latest formula posted in this thread rather than the one in my file. You might have to manually re-set all parameters unfortunately.
Logged

Between order and disorder reigns a delicious moment. (Paul Valéry)
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #8 on: January 18, 2010, 10:50:02 PM »

Irk, I'm confused. The one he linked to in the .zip has 3D3 and 3D5. I don't know the difference. And the .ufr bib gave seems to want 3D4. I've also update the .ucl file. What's going wrong?  cry
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #9 on: January 18, 2010, 11:02:22 PM »

The name of the formula has changed.

Try with this one. It's just an image, but with Dave's latest version, and some standard parameters to start playing with.

Mbulb {
::QEkkRhn2Ni1SPytNS47Gw/Ha0nSg9oWkiSt6sgHsz4FIA2JejPkb7AKJquZGqHrE1MTP/63i
  PkIl65Q0JWkV9xPWkVVkqegVqYyf59vb3OlQJ509frYSWsf3ziK1Faec8uLcx5LKaG0UyuyH
  GpIt6lD8KhakunNMyb5/L0BU+BcMKe/7fnRPDolselorlu/zsyHPP0N1WtfXXPrUouSRAkNc
  1luKazkUJ6Zjj7UDs2xe2AvVRvyHf/7aY99i2zW4ge5D04DghsztUUU27fXd3AYOzoQD7FhW
  DU8ue+Q5Fe5j0u66d1CJvl1oXff7f/soP5+op6m97A8GuS3/X/23TuPdvGh+HmG5qBxZabHI
  o4jgjx2+JYxrXMoIA9HGv09sotuzOWT3Tg/YURjjitwUb9tqr9c63YtVcp2zqHYq6M3BiTpP
  DjQ/rLA1P87XlalHWBSy9AxZPKa3lc/uX/v4PUuHGsXONCz+KNJgm/nJG4DaBq61dsTKqo3/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u5f0RdbJtcqgPomzq7+hMryBOV7KTZTg7fOq3lAv7bW4hf001pusfzjX
  v5JghjobbgEG6NsT/GZwfFq1KVW+LVbtd5XmBXFGGcGIzm0ohmmzCi2K+LwloMTANFdikjjd
  9iQxu+zzh2J5u+xkjm/dqZIyx0jkjuRSOm76+EGRyIQRI3/mNceBfpV94l/cLOFU9/Tcrigh
}


* Mbulb2.jpg (200.69 KB, 1024x768 - viewed 2289 times.)
Logged

Between order and disorder reigns a delicious moment. (Paul Valéry)
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #10 on: January 18, 2010, 11:06:26 PM »

OK, here's a parameter file for everyone to pick through.
It includes two layers each of which produce the same image but the way the fogging is accomplished is different in each case.

The upper of the two layers is the "simpler" method, here the "inside" solid colour is set to the fog blue (the same as the fog colour parameter in the 3D formula), in the bottom layer however "Specify background colour" is enabled in the 3D formula "Viewing control" section which means that in fact everywhere is coloured using the "outside" colouring including the background - the coluor for which is passed from the 3D formula to the colouring, however because fogging is enabled the background actually gets coloured in the fog colour.
As to the fog itself you control it's thickness and start distance using the fog parameters - the distances you specify are from the viewpoint which is at "Camera Distance" + "Image Plane distance" from the target - in the example that's 3 + 12 and the fractal is approx. 1 unit in radius so I've set the fog start distance to 14 i.e. 3+12-1 and the farpoint to 16 (2 units = approx. diameter oif fractal).
Now if you reduce the opacity of the fog colour parameter on each of the layers you'll see the difference between using fog with and without enabling the "Specify background colour" option.

The main reason to enable the "Specify background colour" parameter was so that it's possible to make visible the "other" lights when you wish to do so, even when they're over the background - note that that will only happen when they are point sources and obvioously when they're in view smiley

Note that when enabling "Specify background colour" then you need to enable "Background colour" in the 3D colouring formula plus if using "other" lights then you'll also need to enable "Visible lights" in the colouring (even if you have no point sources). If you enable fogging in the main formula then you need to enable "Fogging" in the colouring.

I realise that animation using the current fogging method will be "tricky" to say the least but I will extend the options in future wink
I confess I only really implimented it with stills in mind.
However there's no such problem with the visible lights option so having an animation with up to 6 spherical UFO's in various colours flying round and lighting up the fractal is entirely possible smiley

Code:
Fractal1 {
::gXT/Oin2tn1SPuNOS47BI/HM0pZQS7Wk6htnF8QS6MAzgkNZ3EsztNgWiymToE1KJ3ud/rfL
  +QiUyud6LLwuLkOxisqP+xikVRKW0Qz6oif5lvYxiOengRC+VTVogFH55d7JpxhL2z4723Ri
  XHuQQPxaaJYlFZNsceXLJ4O6988Ffk+de1fBdLa9t4QUYwLfhWZN4Z06OusiE8BVVLA0l10M
  e3JCKMcRJrbvMnUeQ0xrpttL6aoVt10GWVH5Er9lvokWXzr2ZwCql1QCvFMkurigWm+yXUIb
  AzpaFKpPwVagCXUzay2zy+ORWUsogLYV0SYQ+xP+rH51R3VxO2wELPUUGsAQt5EJ4P+tPHdX
  SgCn6vdol11w3RqkgQHrF8Rmy3DOB14BtE6jv1uXekXVINtVKvH8LtdkwlhGYKM+0uT1Myvf
  QwpbPI2qq/Q+OmFDrOvFah8H7B+Py0o7ASr8vLiubxj/T8ryCgGrFHah+ckmxgm/tDUY8XBE
  0pbrUwzJ39+b/NoJqaywYG4qrt+/gPL5VdKnfdgtlHb4aHtV6P/uVS2sl3pdypGY695xhqm3
  S5C5hOYGAHb8Qd0muBs0SGsMWbqQ5wAhMZVrS3bCXivNc5m+qADsVNolykYDE1yjQ3j14XWf
  shsWrWOHmqAnsRCmPv79k3URFn64ZUBUFNL7A45OZWSD2yr0Teo3fTkRsFUsfWSXmKEqVlKj
  P0JVa3aWlatvtjVTSe/NxWRGFWESwLtVlzEdUAP8gKtts8h5Rgjb5V2OAEU9hVS37VwKdqwy
  HVnTz/zDKCPMRo7fT7NsCBLrztAutePrh5kNj1lYrXEmFbhVQPqKWtTwgyGntsJ3Wm+ATpSw
  Dv+0rf81HVrU4VqJb/Bw3t7ZgCZCYVBe1a0mww16VSPcSNTbnH7e8objSGtUToIzgTKEnslz
  akdkbwK7wWDV1YxxYNEuIHWD8ZYvZNMohZeF3AXB2sDLTACGj3qLnYgGKiGYvWqoRCR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g+cL6c5tlSJceCVezhIX3sOcBvKn9AMjrhC6jV4NpJp2qjXpfJNdTprTx40eDWjtVHluOEZr
  EFtxWLOJxWXk6QF9YEHvKMEBXX1+se+MDyz3zl+H9DQ5ivO4bh7atrReoKf+BCnfgw5HI8/r
  fgQ7J9nfhw5XIc+FCnfhw5XIc+FCnfhw5XIc+FCnfhw5XIc+FCnfhw5XIc+FC/P2LE+fhPIo
  l6X/FBHu/Y/VsmfRw5XEc+FBnfRw5XEc+FBnfRw/n+FB/3QNFCnb
}
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #11 on: January 18, 2010, 11:11:10 PM »

so, what do i have to do to get more detail on this ?

Code:
Mbulb {
::h9XM8hn2Ni1STyNKS47OC/foi60MhdrSgQPqZCOYPt3ImYtnx76DzttDKJUVMN6xqHd3V/rf
  TeJQq6DrORCkf5HJkZCqegVOxk/y7f3udTiJJnu/bnmln2v7ZR10FaRc8uLcx5LT0MopkdlP
  MSRqpXOwrETj09lR/TJX0eZWM+roDoiD4YU8vyGG5tcfH7f/70arNVJrfS01S3/ZW5jnH6mb
  r2vrrnVKmuSRgha4TX6qoNzyJRPbcc30ArdsnNwbnoX5jv/dNs+eR7ZDcQv8BacUe2xijHxo
  0sYyxDxRkY8RCCjPmkRy31wO3SR5ojRFZHTf/7q7GADw0Q0weRowAHvrnPUehX+ItrueXtQy
  bZNK/y3+HPL6TuPauuZ/OwiDXp7/rf/7J3nuXhQ/Dzj8pBxZabHIMxHBHqp9TgTTtcRRA6PM
  ep7ZRbdnZsmunA/44Ew+YDM1m9kpr9c63YtVcpaHRNwc1ZuFE7k+MMC9vuAU/wfcVqm8wKQS
  uHIO7RR7uk7396/B/hy9wg9y5Rw6rmJBm5/amB+gWgq+5O2JFV07/yhfHGip21MqBbI92dp9
  fvT0Op2i63bH51BBN+QsT6v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MryBOXbLTZSg7fOq3lAv7zJ8wPa66musfzjXv5JghjoarhEG6N0T
  9GZwfFOrVTZ5vVtV3lfdGcVYYQHQ6NpRNN1nFEtV8XgLRpNANFdkUgjt9iQx2+LKg2JF2+xk
  c9fZVPEJPNnkbHJJvw29RMikRgiQ2/ibodBfpZ6xL/jXcKM1/HQzdeBf
}


* Mbulb.jpg (57.28 KB, 800x600 - viewed 2140 times.)
Logged

---

divide and conquer - iterate and rule - chaos is No random!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #12 on: January 18, 2010, 11:13:00 PM »

ok, i got it, just use immense small treshold values cheesy
like 0.000010047448
Logged

---

divide and conquer - iterate and rule - chaos is No random!
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #13 on: January 18, 2010, 11:13:19 PM »

Thanks Dave smiley


However there's no such problem with the visible lights option so having an animation with up to 6 spherical UFO's in various colours flying round and lighting up the fractal is entirely possible smiley


That's gonna be Trifox's new challenge cheesy
Logged

Between order and disorder reigns a delicious moment. (Paul Valéry)
bib
Global Moderator
Fractal Senior
******
Posts: 2070


At the borders...


100008697663777 @bib993
WWW
« Reply #14 on: January 18, 2010, 11:14:28 PM »

so, what do i have to do to get more detail on this ?


reduce solid thresold by a factor 100 or 1000
Logged

Between order and disorder reigns a delicious moment. (Paul Valéry)
Pages: [1] 2 3 ... 5   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Update to mmf.ufm in the UF formula database UltraFractal David Makin 1 5285 Last post June 19, 2009, 03:01:21 AM
by David Makin
Formula update Mandelbulb 3d Jesse 12 7142 Last post December 18, 2010, 12:00:17 AM
by Madman
Formula Database Update Other / General Discussion Plotz 9 4500 Last post July 21, 2011, 12:07:04 AM
by Plotz
Pauldelbrot's Ultra Fractal colouring formula Images Showcase (Rate My Fractal) Pharmagician 7 3822 Last post June 14, 2012, 03:06:59 AM
by Pauldelbrot
Ultra Fractal update for OSX (inc. animation) Announcements & News David Makin 1 2700 Last post August 17, 2013, 03:40:57 AM
by fengda2870

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.223 seconds with 29 queries. (Pretty URLs adds 0.008s, 2q)