Welcome to Fractal Forums

Fractal Software => Feature Requests => Topic started by: cKleinhuis on January 25, 2015, 12:44:32 PM




Title: Adding formulas from MB3D and others?
Post by: cKleinhuis on January 25, 2015, 12:44:32 PM
yay, darkbeam is back, he updated the formulas in this thread:
http://www.fractalforums.com/mandelbulb-3d/custom-formulas-and-transforms-release-t17106/


nice to have new formulas, what about a dedicated project to transform ALL mandelbulb3d formulas to a readable/editable mandelbulber formula forma ? go go go


Title: Re: I just made a new formula after ages
Post by: DarkBeam on January 25, 2015, 04:28:31 PM
Omg ALL?  ;D

No but almost all have readable editable source (pseudocode) if you read formula info!

:D


Title: Re: I just made a new formula after ages
Post by: cKleinhuis on January 25, 2015, 05:49:18 PM
Omg ALL?  ;D

haha, even more!

the formula description might be used in near future for conversions, so keep them along ;)


Title: Re: I just made a new formula after ages
Post by: Snicker02 on January 26, 2015, 01:09:11 AM
It would be so cool if the MB3D formulas were adapted for mandelbulber!!!!!


Title: Re: I just made a new formula after ages
Post by: youhn on January 26, 2015, 06:35:56 PM
I'm already hacking the source for custom formulas, so I might be of help. Just a few notes:

- My coding skills are a little better than a script kiddie, but I'm no programmer
- Currently only replacing formulas, not really adding new ones
- Have not contacted Buddhi with this idea yet

So no real obstacles I guess.

\me sending message


Title: Re: I just made a new formula after ages
Post by: DarkBeam on January 26, 2015, 11:23:57 PM
You can add the 3D mandelbrots to begin - Coded a whole lot of them :D

Easy and fast job :)

Consider also those folders. I was overwhelmed by that many formulas but if you are brave! :)

http://www.chaospro.de/formulas/database.php?path=/Compiler/Benesi/&sort=2&sorder=a&PHPSESSID=82c2f04098973b1cfa8ae2cfe9be2231

Matthew may have some new ones to share ask him ;)


Title: Re: I just made a new formula after ages
Post by: cKleinhuis on January 26, 2015, 11:59:48 PM
hmmmmmmmmmmmmmm, i think it would be nice to have an include mechanism in mandelbulber formulas, reducing most of the redundand code, but this should be adressed in the mandelbulber threads ;)


Title: Re: I just made a new formula after ages
Post by: DarkBeam on January 27, 2015, 12:06:17 AM
I just splitted the topic using my dark magic  :alien:


Title: Re: Adding formulas from MB3D and others?
Post by: zebastian on January 31, 2015, 05:31:27 PM
Hi, i am helping buddhi every now and then with the new mandelbulber version.

There is already an importer for old mandelbulber settings, which maps every property to the new program.

https://code.google.com/p/mandelbulber2/source/browse/trunk/mandelbulber2/src/old_settings.cpp

If someone with knowledge of both mb3d and mandelbulber, would be able to write an import routine, we could include this as an import option (and probably as an export option too).


Title: Re: Adding formulas from MB3D and others?
Post by: DarkBeam on January 31, 2015, 06:09:01 PM
There won't be a routine because mb3d formulas are specially coded


Title: Re: Adding formulas from MB3D and others?
Post by: zebastian on February 01, 2015, 07:32:10 PM
There won't be a routine because mb3d formulas are specially coded
I just looked in some mb3d code files.
I see now, well there seems to be no way to make this automated compatible. :sad1:


Title: Re: Adding formulas from MB3D and others?
Post by: cKleinhuis on February 01, 2015, 09:14:57 PM
it has to be hand coded yes, an include system could be also helpful, but transforming the formulas to a readable glsl syntax is going to be very productive in the far future ;)


Title: Re: Adding formulas from MB3D and others?
Post by: taurus on February 02, 2015, 01:06:37 PM
There is already an importer for old mandelbulber settings, which maps every property to the new program.
https://code.google.com/p/mandelbulber2/source/browse/trunk/mandelbulber2/src/old_settings.cpp (https://code.google.com/p/mandelbulber2/source/browse/trunk/mandelbulber2/src/old_settings.cpp)
If someone with knowledge of both mb3d and mandelbulber, would be able to write an import routine, we could include this as an import option (and probably as an export option too).

I'd be grateful, if - first of all - the importer for old params would work properly. Lately I tried and it imported fractal parameters only, a thing that is easiely transported by hand. The tricky part, the Camera settings were nan. Even a reset of camera and angles led to nothing but blank screen and insane values for the Camera. IMHO this is no import, it's a joke.


Title: Re: Adding formulas from MB3D and others?
Post by: Buddhi on February 15, 2015, 08:09:39 PM
I'd be grateful, if - first of all - the importer for old params would work properly. Lately I tried and it imported fractal parameters only, a thing that is easiely transported by hand. The tricky part, the Camera settings were nan. Even a reset of camera and angles led to nothing but blank screen and insane values for the Camera. IMHO this is no import, it's a joke.

Could you send me one of files which you can't import? I will try to improve import function. It works in most of cases but not in every.


Title: Re: Adding formulas from MB3D and others?
Post by: taurus on February 16, 2015, 09:44:25 AM
Could you send me one of files which you can't import? I will try to improve import function. It works in most of cases but not in every.
to be honest, I didn't find one that imports propperly and I chose five or six randomly. Allways the camera slot shows nan regardless if I check old camera model or not. I'll prepare some, when I'm back from work...


Title: Re: Adding formulas from MB3D and others?
Post by: Buddhi on February 16, 2015, 06:17:54 PM
to be honest, I didn't find one that imports propperly and I chose five or six randomly. Allways the camera slot shows nan regardless if I check old camera model or not. I'll prepare some, when I'm back from work...

It's possible that the problem is related to string<->double conversion in import function. I will see when you send some file. So I'm waiting...


Title: Re: Adding formulas from MB3D and others?
Post by: taurus on February 16, 2015, 08:57:03 PM
ok, here we go. Here are some of my rotboxes. Two from pretty old mandelbulber versions and one of my latest ones natively out of 1.21 - all with the same camera glitch. Happy hunting!

edit >> not even a reset of camera helps here... Oh and tried today with 2.03 win64 Version


Title: Re: Adding formulas from MB3D and others?
Post by: Buddhi on February 16, 2015, 09:29:51 PM
On my system it works. See attached screenshot. So now I need to ask for details to be able to reproduce this problem:
1. Which operating system do you use?
2. What language settings do you have in your system. Especially there is interesting for me what is used as decimal point. Is it comma or dot?
With this information I will try to find what could be wrong in your case. I think some other people has similar problems.

Bubble.fract - was converted without any issue.
Octopi.fract - needed to change fog visibility. New Mandelbulber uses completely different scaling of fog.
Symbioplant.fract - no issues


Title: Re: Adding formulas from MB3D and others?
Post by: taurus on February 16, 2015, 10:01:36 PM
Guess this is the right path.
1. Win 7 pro 64
2. A german system with comma as decimal point.

attached a screenshot from my system with bubble_.fract


Title: Re: Adding formulas from MB3D and others?
Post by: taurus on February 17, 2015, 05:53:24 AM
one little mention. changing the keyboard layout on my system to en(US) with dot as separator does not help either...


Title: Re: Adding formulas from MB3D and others?
Post by: Buddhi on February 17, 2015, 08:38:25 PM
one little mention. changing the keyboard layout on my system to en(US) with dot as separator does not help either...

It's not the same to change keyboard layout and locale settings. When I run Mandelbulber under Windows with Polish format of number, I have exactly the same problem as you. Polish regional settings also uses comma as decimal separator. When I switch to use dot as separator it started to work properly. Try to follow this instruction: http://www.nirvanatec.com/support/regional_sett.htm

Now I'm trying to fix the problem in Mandelbulber code (probably I know what is wrong). As it will be fixed, I will release corrected exe files and inform you.


Title: Re: Adding formulas from MB3D and others?
Post by: taurus on February 18, 2015, 10:14:27 AM
Good to know, that the problem is figured out and help is on its way!
Changing regional settings will be a last option for me, as all other software I am using, will have problems with that. So far I am mostly using opencl version for animation and randomized parameter search, so I'm ok with the current state.
I'll keep the eyes open for other issues and report, when I encounter them. Keep up!  ;D


Title: Re: Adding formulas from MB3D and others?
Post by: Buddhi on February 18, 2015, 08:21:14 PM
Good to know, that the problem is figured out and help is on its way!
Changing regional settings will be a last option for me, as all other software I am using, will have problems with that. So far I am mostly using opencl version for animation and randomized parameter search, so I'm ok with the current state.
I'll keep the eyes open for other issues and report, when I encounter them. Keep up!  ;D

It was faster to fix this problem and create new packages than I thought. You can download version 2.03-1 (https://sourceforge.net/projects/mandelbulber/files/Mandelbulber%20v2/) which should import old settings properly. Give me a sign if it works or not.


Title: Re: Adding formulas from MB3D and others?
Post by: taurus on February 19, 2015, 09:26:26 PM
yepp, works fine. Thanks a lot!  :beer: