Logo by wmauzey - 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: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. April 19, 2024, 01:20: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]   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: Decoding Mandelbulb3D parameters?  (Read 7181 times)
0 Members and 1 Guest are viewing this topic.
OSAlien
Forums Newbie
*
Posts: 2


« on: June 30, 2013, 06:17:03 PM »

I was wondering if there was any simple way for me to decode Mandelbulb3D parameters. After messing around with parameters I've found I've managed to be able to (somewhat) control resolution before loading the file, but I would like to know how the parameter is encoded/prepared, as I have an idea for a project.
Logged
lenord
Fractal Bachius
*
Posts: 611


No Matter where you go there you are


« Reply #1 on: July 01, 2013, 03:15:50 AM »

In a single word...Nope!

Formulas yes, Params, no way...
Logged
Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



« Reply #2 on: July 01, 2013, 11:39:43 AM »

I was wondering if there was any simple way for me to decode Mandelbulb3D parameters. After messing around with parameters I've found I've managed to be able to (somewhat) control resolution before loading the file, but I would like to know how the parameter is encoded/prepared, as I have an idea for a project.

I think it was once stated that the text format is really machine code representing the formulas, combination type, and parameters for each variable.

So if you know machine code, it's possible.  Otherwise...  Try this:

 head batting hopping mad head banging wall
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #3 on: July 01, 2013, 12:04:40 PM »

so, to bring some light to it, it is definately no machine code, the machine code is just in the formulas, and in the mb3d config file
is saved an index or the name of the formula that is used, together with the parameters everything needed for a scene is inside
the params (@jesse please correct me if wrong )

the parameters are encoded binary and then transformed to a copy&paste able text, that is used to decipher it, for interpreting
the content you have to now the encoding system used, it might be just base64 encoding, but this information has to be retrieved
from the programmer....
Logged

---

divide and conquer - iterate and rule - chaos is No random!
taurus
Fractal Supremo
*****
Posts: 1175



profile.php?id=1339106810 @taurus_arts_66
WWW
« Reply #4 on: July 01, 2013, 12:37:22 PM »

... it is definately no machine code
...the parameters are encoded binary and then transformed to a copy&paste able text...
Thanks for clarifying. I think binary and machine-code are often mistaken.

but this information has to be retrieved from the programmer....
I doubt, that Jesse lays his cards on the table in this case...
Logged

when life offers you a lemon, get yourself some salt and tequila!
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #5 on: July 01, 2013, 08:15:33 PM »

I was wondering if there was any simple way for me to decode Mandelbulb3D parameters. After messing around with parameters I've found I've managed to be able to (somewhat) control resolution before loading the file, but I would like to know how the parameter is encoded/prepared, as I have an idea for a project.

The only problem i see is that parameter structures will always change from release to release, so the project might only work for a specific release.

The m3p parameter format is just the binary saved record (windows byte order) of all parameter, and the text format is then further converted to ASCII.

So if you tell what parameter you want to change, i will try to give the infos for the offset and value type, but can take a while because i am a bit short of time...
Logged
OSAlien
Forums Newbie
*
Posts: 2


« Reply #6 on: July 03, 2013, 03:08:20 AM »

The only problem i see is that parameter structures will always change from release to release, so the project might only work for a specific release.

The m3p parameter format is just the binary saved record (windows byte order) of all parameter, and the text format is then further converted to ASCII.

So if you tell what parameter you want to change, i will try to give the infos for the offset and value type, but can take a while because i am a bit short of time...

Ideally, I'd like all of them. I have no problem with waiting, take all the time you need.
Editing saved files through a hex editor has gotten me a little farther, as I can see the names of the base formulas used, however values used are still 'unreadable'.
Logged
Jesse
Download Section
Fractal Schemer
*
Posts: 1013


« Reply #7 on: September 05, 2013, 02:09:34 AM »

Sorry that i did not replied earlier, but all parameters would be not an option anyway.   smiley

The values for each formula must somewhere after the formula name and are always 16 double values in this format:
http://en.wikipedia.org/wiki/Double-precision_floating-point_format

So you might figure out by yourself where they are.
Of course only as much values are used, as the formula parameters got.

Hth so far at least.
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
m3p parameters ? Mandelbulb 3d petrus romanus 2 5840 Last post November 10, 2010, 11:04:25 PM
by cKleinhuis
Parameters Mandelbulb 3d Vanth 3 2891 Last post May 26, 2011, 06:06:07 PM
by Vanth
parameters Mandelbulb Renderings cricke49 10 4349 Last post December 25, 2011, 01:31:05 PM
by David Makin
Rot box parameters? Tutorials Lalla 3 3098 Last post July 25, 2012, 05:37:23 PM
by DarkBeam
Cant load parameters in Mandelbulb3d 1.9.1 Pref-Ini-Dirs are OK I´m using win 10 bug reporting Bendikt 3 6249 Last post January 30, 2017, 11:47:54 PM
by 1Bryan1

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.161 seconds with 28 queries. (Pretty URLs adds 0.006s, 2q)