Logo by Fractal Ken - 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: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. April 19, 2024, 06:51:15 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-transform in mandelbulber  (Read 1079 times)
0 Members and 1 Guest are viewing this topic.
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« on: February 14, 2015, 11:51:34 PM »

hi there, i consider a space warp pre transform step as very versatile, similar to the transform method that is common ultrafractal

the definition would be easy as:


vec3 transform(vec3)

this should be stackable (as in ultrafractal ) and each of it shall have its own parameters

to achieve donut like transformations, mirroring or modulus space filling or whatever one comes up with
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #1 on: February 15, 2015, 08:13:36 PM »

hi there, i consider a space warp pre transform step as very versatile, similar to the transform method that is common ultrafractal

the definition would be easy as:


vec3 transform(vec3)

this should be stackable (as in ultrafractal ) and each of it shall have its own parameters

to achieve donut like transformations, mirroring or modulus space filling or whatever one comes up with

I don't know Ultrafractal. Could you  show me some example (as pseudo-code), how it should work? What this transform() function is doing? Is it translate, scale and rotation together?
Logged

cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #2 on: February 15, 2015, 08:20:37 PM »

its a standard transformation, in ultrafractal it is called "mapping"

it works as simple as input a vec3 and output a vec3

some examples, because its really easy to do but offers some neat possibilities

identity - does nothing wink
vec3 transform(input)return input;

modulus - creates copies of the formula
vec3 transform(input)return input%range;

inverse - inverses formula (turns inside out, like inverse mandelbrot)
vec3 transform(input)return 1/input;

... and so on fish eye effects and such are also possible, but with the hard mode for 3d, so, just warp the space before iterating

obviously this method is not directly useable to transform a formula along a torus shape, like aexion described, nevertheless some space transformations as options in the program using the shading language comes in very handy from time to time
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #3 on: February 15, 2015, 08:35:20 PM »

Thanks for explanation. Some of transforms are already implemented. There is translate, modulo and rotation of whole fractal and each primitive object. Now when there are implemented boolean functions, I'm thinking to implement transform for every formula separately.
There will be also possible to do boolean operations with primitive objects.

Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Transform for R^3 Theory jehovajah 9 4663 Last post December 11, 2009, 05:01:52 AM
by jehovajah
Mandelbrot and transform Mandelbrot & Julia Set element90 0 2593 Last post August 28, 2011, 01:22:49 PM
by element90
Maybe a Fish eye transform feature request Alef 2 1445 Last post February 02, 2013, 03:23:22 PM
by PhotoComix
Apophysis 7X15D64bit final transform wont save Help & Support Haven 5 602 Last post January 10, 2017, 08:09:34 PM
by JohnVV
De-activate a transform in Apophysis? Help & Support coldwetnoz 2 1046 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.178 seconds with 26 queries. (Pretty URLs adds 0.007s, 2q)