Fractal Related Discussion > Noob's Corner

 How to read .m3f files

(1/1)

belmax:
Hi,

Is there a way of reading .m3f files? I would like to see the formulas used inside Mandelbulb 3d but currently am unable to open any of them.

I am very new to fractals in general but very curious :)

Thanks!



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

Sabine62:
You can open these formula-files with for  instance notepad.exe, but you will not always find a lot of useful information there. Sometimes there is information about the actual formula, often there isn't.
They usually look something like this:



--- Code: ---[OPTIONS]
.Version = 2
.DEoption = -1
.3SingleAngles Term Rotation = 0
.Double Term Scale = .5
[CODE]
558BEC568B75088B7630DD00D8C8DD02D8C8DD01D8C8DEC1DEC1D9FADD46CCDE
F1DD01D8C9DD02D8CADD00D8CB909090909090D9C0D84EDCD9C2D84ED8DEC1D9
C3D84ED4DEC1D9C1D84EF4D9C3D84EF0DEC1D9C4D84EECDEC1D9CAD84EE8D9CB
D84EE4DEC3D9CBD84EE0DEC2DC00DD18DC02DD1ADC01DD19DDD85E5DC20800
[END]

A cool 3D transform suggested by Asdam in the forums;

vec3d += Scale * Rotation * vec3d / cabs3d(vec3d)

Where cabs3d(x,y,z) = sqrt(x*x + y*y + z*z)

Somewhat similar to a pinch/punch effect.

LucaGN & Asdam 2012
--- End code ---

belmax:
Thanks Sabine62.

I did indeed try to open files using notepad. Are the formulas/code kept secret for ownership?

Alef:
They are very secret  :lol:

There are 2 type of formulas.
1. Formulas made useing assembly. Machine codes maybe readable with hex editors: "DD02  D8CAD  D00D8  CB909  0909 09" But there they have some explanation text of what these formula are.
They are fast but their coding require some superb skills.

2. JIT formulas compiled during the start of the programm. They are just a plain text file readable in notepad. And they can be edited with notepad, too. There are built in editor usable for error checking.
All JIT formulas starts with JIT_ ..... .m3f   So that software could detect it is JIT.

Sabine62:
this was my transformation ^-^

vec3d += Scale * Rotation * vec3d / cabs3d(vec3d)
Where cabs3d(x,y,z) = sqrt(x*x + y*y + z*z)

that is Z = Z + Scale * Z / |Z|
I think small negative numbers on 2D mandelbrot set are the best, say Scale = -0.1.

Sabine62:
Ohh Alef, you are Asdam? I did not know!  :cool:  :highfive:

Love your transform, ported it to Fragmentarium to play with ;)
https://fractalforums.org/code-snippets-fragments/74/asdam-transform/3662/msg22943#msg22943

And thank you for the much better explanation than I gave about the formulas!  :thumbs: :yes:
I totally forgot about the JIT-formulas, and I heard Luca (Darkbeam) moan so much about MB3D's assembler code... :rofl:

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Rates (Facepunch) Mod
Powered by SMFPacks SEO Pro Mod | Sitemap
Powered by Advanced Topic Prefix Pro
Powered by SMFPacks Advanced Attachments Uploader Mod