Logo by LAR2 - 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. November 29, 2025, 08:00:47 PM


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: Pre-/Post- Transform suggestion  (Read 1897 times)
0 Members and 1 Guest are viewing this topic.
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« on: February 07, 2011, 02:18:20 PM »

hello all,

i was thinking about the mandelbulb spherical method, i was on the wood-path of defining an alternative coordinate system with arbitrary axis,
but i came down to the point that this would just mean adding/subtracting values to the spherical representation of the point

so, i would suggest to - additionally to alternating formulas - a pre- and post- transform would make sense, like the ones in apophysis
to achieve my basic goal of an arbitrary coordinate system, this would make a pre-post transform of a simple rotate, e.g. 45 degree around
an axis in the one pre-function and a rotation back around -45 in the post transform ...

basically this should be stackable cheesy, but a single pre-post transform would make severe sense in my eyes

regards
ck
 afro fiery
Logged

---

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


Fragments of the fractal -like the tip of it


« Reply #1 on: February 07, 2011, 03:19:57 PM »

Hey! grin If you need a transform please post it in full formula form.
Example
x'=x+y
Rotations are tricky to do and long.
Pre and post? Try to apply trans before and after. Non iterated transforms may give wrong results... And I don't know how to code a pre or post trans grin
Logged

No sweat, guardian of wisdom!
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #2 on: February 07, 2011, 08:34:20 PM »

HOW TO MAKE PRE-TRANSFORM;
Put the transform BEFORE all. numiter = 1 (or more, if you want strong deformation)
Then put everything else, with numiter >>1
HOW TO MAKE POST-TRANSFORM;
Put the transform AFTER all. numiter = 1 (or more, if you want strong deformation)
Then put everything else, with numiter >>1

This works for Menger sponge. Example;


Mandelbulb3Dv16{
M.....S....O/...w....2....UCvnpSV3Z1.H.v47KoMM2EZWvmVByPRvHgLDV1qVTgzAULjRcWr5vD
................................EzbIwTjZkz1........Y./..................y.2.....
................/ME//....6k6/...s/....E2.....2MiMOU6F4rD/..........c./...w1....U
z.....kD..../..........wz.............................................sD...../..
.w1...sDKdr536GYlx1..........cegX1Y46ndjIecqatcKIuvVTw8B3RBOzMF2eAhWMXqj8vFsZCMK
IuHgUyHp8WBOzcneN8HFLXqD......22......................sD..kz0...................
.............................UJRR4.uppN.sNLb/UkRR4.arpN.cULb/U9SR4..............
...........................U..6.P....M4...EB....W....61....F....8/...I1....UJl12
...U.iVFwxDE./ozPM2Tzz7lz16.mc..zXCc.El18XGQeGyDjvIRhrVAkz1............28.kFrA0.
FWb96aAIVzvh1se7Umvxz0........../6U0.wzzz1................................E.0c..
zzzz.................................2U.8.kzzzD.................................
/6U0.wzzz1...................................2CcN/UvNP6.eeWCNq0.yRii.EJJUk1f..XR
S1.mx3CcN/UvNP6.QsLsUa3.ibhV..bTV1OK.sSq40.ly3CcN/UvNP6.MwLsUa3.ibhV.kqTV1OK.sSq
40.kz3CcN/UvNP6...EsUa3.eeWCNq0.IJ36wk8.wyLsUa3.................................
E....6....E.....I.........kLdtaRXZ5Pdt4NmZqMVl4...........................U/4M..
..........UaNaNaNaNmz.........yD................................................
................................................................................
.....................g1....3....5....oINiRKNmZYFH/EG4B3.........................
.....MU/4....................U.E........kz1........wz.........yD................
................................................................................
................................}


Mandelbulb3Dv16{
M.....S....O/...w....2....UCvnpSV3Z1.H.v47KoMM2EZWvmVByPRvHgLDV1qVTgzAULjRcWr5vD
................................EzbIwTjZkz1........Y./..................y.2.....
................/ME//....6E2/...e0....E2.....2MiMOU6F4rD/..........c./...w1....U
z.UaNadD..../..........wz.............................................sD...../..
.w1...sDKdr536GYlx1..........cegX1Y46ndjIecqatcKIuvVTw8B3RBOzMF2eAhWMXqj8vFsZCMK
IuHgUyHp8WBOzcneN8HFLXqD......oG......................sD..kz0...................
.............................UJRR4.uppN.sNLb/UkRR4.arpN.cULb/U9SR4..............
...........................U..6.P....M4...EB....W....61....F....8/...I1....UJl12
...U.iVFwxDE./ozPM2Tzz7lz16.mc..zXCc.El18XGQeGyDjvIRhrVAkz1............28.kFrA0.
FWb96aAIVzvh1se7Umvxz0........../6U0.wzzz1................................E.0c..
zzzz.................................2U.8.kzzzD.................................
/6U0.wzzz1...................................2CcN/UvNP6.eeWCNq0.yRii.EJJUk1f..XR
S1.mx3CcN/UvNP6.QsLsUa3.ibhV..bTV1OK.sSq40.ly3CcN/UvNP6.MwLsUa3.ibhV.kqTV1OK.sSq
40.kz3CcN/UvNP6...EsUa3.eeWCNq0.IJ36wk8.wyLsUa3.................................
E....6....U/....I....M....kLbtKMmlqA2/.NmZqMVl4..............................M..
..........kSIsuFVf5wzcNaNaNaNavDOaNaNaNatyXaNaNaNaNiz........U.E..........2.....
................................................................................
.....................g1....3....5....oINiRKNmZYFH/EG4B3.........................
.....MU/4....................U.E........kz1........wz.........yD................
................................................................................
................................}

 wink Menger sponge gnarled? I am crazy  cheesy
Logged

No sweat, guardian of wisdom!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #3 on: February 07, 2011, 09:35:48 PM »

hi there, thanxs for trying, but i think this should be implemented as a general feature for an iteration step, so that an
iteration step looks like:


1. Optional Pre Transform ( any formula you like, but smaller ones like add/mul are fine )
2. THE Actual Formula to Iterate
3. Optional Post Transform ( same as pre transform )

the whole steps 1..3 make up ONE iteration step

regards
ck
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Transform for R^3 Theory jehovajah 9 5065 Last post December 11, 2009, 05:01:52 AM
by jehovajah
Maybe a Fish eye transform feature request Alef 2 1879 Last post February 02, 2013, 03:23:22 PM
by PhotoComix
Apophysis 7X15D64bit final transform wont save Help & Support Haven 5 778 Last post January 10, 2017, 08:09:34 PM
by JohnVV
pre-transform in mandelbulber Feature Requests cKleinhuis 3 1276 Last post February 15, 2015, 08:35:20 PM
by Buddhi
De-activate a transform in Apophysis? Help & Support coldwetnoz 2 1549 Last post July 15, 2017, 03:03:02 AM
by coldwetnoz

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.6 seconds with 25 queries. (Pretty URLs adds 0.009s, 2q)