JosLeys
|
|
« Reply #90 on: January 17, 2017, 05:20:53 PM » |
|
The 'separation line' that is now in the algorithm works fine for most cases, but there are other! For certain values of the Klein parameter the limit set becomes 'cusped'. The complement, that is , the part that normally remains empty, now consist of circles also. In such a case, the separation line has to be very curvy and thus makes it very difficult to determine whether a point is 'under' or 'above' that line. The image below is for the so-called 33/185 cusp. I got help from Geoff Smith, a Kleinian 'connaisseur' is determining the line.
|
|
|
Logged
|
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #91 on: January 17, 2017, 06:04:11 PM » |
|
A fractal separation line!!! Does not look easy to implement it at all ... ouch
|
|
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
Aexion
|
|
« Reply #92 on: January 17, 2017, 06:44:13 PM » |
|
A fractal separation line!!! Does not look easy to implement it at all ... ouch Hmmm, you can draw the line on a texture (or any bitmap buffer), use a paint algorithm, and then read the transformation from the buffer... It may works for 2d or simple 3d cases.. (it's just an idea)..
|
|
|
Logged
|
| Fractals all the way.. Incendia for 3D Fractals Aural for Musical Fractals |
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #93 on: January 17, 2017, 08:08:26 PM » |
|
Ramiro it is really not helpful ... I don't have access to images normally... And even if, it would mean a dramatic slowdown to read from it!
|
|
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
JosLeys
|
|
« Reply #94 on: January 17, 2017, 08:26:02 PM » |
|
#Darkbeam: if you think reading from an image or texture slows things down, you don't want to know how the points on this goofy separation line are calculated That will really slow things down...
|
|
|
Logged
|
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #95 on: January 17, 2017, 10:56:34 PM » |
|
I do imagine that The formula must stay as is - "brute" and working for most cases - people simply ignores slow formulas. Sad truth but. Little corrections can be done but not really much else. In my opinion.
|
|
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
JosLeys
|
|
« Reply #96 on: January 17, 2017, 11:14:48 PM » |
|
@Darkbeam : I fully agree
|
|
|
Logged
|
|
|
|
JosLeys
|
|
« Reply #97 on: January 19, 2017, 01:21:02 PM » |
|
Here is the result when using the exact separation line. In this example the line consists of about 150 points. As the image shows, the horizontal 'wrapping' cannot be just by a straight line anymore either.
Not good for a 3D version I'm afraid: taking into account all those points at every iteration and step will be very expensive indeed.
Also: for this level of detail, it required 800 iterations!
|
|
|
Logged
|
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #98 on: January 20, 2017, 05:21:31 PM » |
|
A side note: the separation line looks self similar! Can we compute a single segment of it, then "tile" it somewhat?
|
|
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
JosLeys
|
|
« Reply #99 on: January 20, 2017, 05:40:31 PM » |
|
@Darkbeam : I don't think so, I'm afraid....
|
|
|
Logged
|
|
|
|
JosLeys
|
|
« Reply #100 on: January 23, 2017, 12:16:26 PM » |
|
|
|
|
Logged
|
|
|
|
Imagyx
|
|
« Reply #101 on: January 24, 2017, 04:58:28 PM » |
|
I have to ask again, because it doesn't seem to be working in my program yet. The Distance Estimation float JosKleinian(vec3 z) {...}
from one of the posted .frag files can be inserted into any raymarcher that works well with for example: dist = z.getLength() - r; for tracing a sphere where z is the point the distance estimation is calculated for and r the radius of the sphere. Right ?
|
|
|
Logged
|
During difficult times, keep steady and play the match.
|
|
|
DarkBeam
Global Moderator
Fractal Senior
Posts: 2512
Fragments of the fractal -like the tip of it
|
|
« Reply #102 on: January 24, 2017, 07:18:01 PM » |
|
The de is returned into a single float value. Read again the frags for details.
|
|
|
Logged
|
No sweat, guardian of wisdom!
|
|
|
|
|
|