Logo by KRAFTWERK - 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. March 29, 2024, 01:56:41 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: Masquerade  (Read 1062 times)
0 Members and 1 Guest are viewing this topic.
Kali
Fractal Supremo
*****
Posts: 1138


« on: January 27, 2013, 03:20:59 AM »

Masquerade



http://www.fractalforums.com/index.php?action=gallery;sa=view;id=13278

Amazing Surface for Fragmentarium

get it here: http://www.fractalforums.com/index.php?action=downloads;sa=view;down=44

DE has some problems with some parameters and needs to be improved.
Mandelbrot modes and non-rotated or slight rotated params could be problematic.
At the moment you can use fudgefactor on the raytracer tab to get rid of the problem most of the times, but it will slow down the render  sad

Any help to improve it will be much appreciated

Logged

Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #1 on: January 27, 2013, 11:37:17 PM »

Great work, Kali. I'll add your frag to the distribution!
Logged
Kali
Fractal Supremo
*****
Posts: 1138


« Reply #2 on: January 28, 2013, 01:56:13 AM »

Ok, many thanks! I wish I could get rid of the DE problems, maybe your dual number approach?
Logged

eiffie
Guest
« Reply #3 on: January 31, 2013, 05:30:34 PM »

Great script Kali! I put the +1 back in the running derivative like this...
vec4 c=p;//p.w==1
and it helped quite a bit with the DE.

For speed (and sanity) you may want to change the scaling to...
vec4 scale=vec4(scale...,abs(scale));//remove the /MinRad2
then..
p*=scale/clamp(r2,MinRad2,1.0);//I believe this works out to be the same - check it  wink

Thanks for posting - it will keep me busy exploring for quite awhile.
Logged
Kali
Fractal Supremo
*****
Posts: 1138


« Reply #4 on: January 31, 2013, 07:48:26 PM »

Thanks eiffie! It works much better now, I updated the .frag in the download section.

Still some problems with non-rotated Julias, but it requires less raystep scaling now wink
Logged

knighty
Fractal Iambus
***
Posts: 819


« Reply #5 on: January 31, 2013, 09:36:54 PM »

Great work!

I put the +1 back in the running derivative like this...
vec4 c=p;//p.w==1
and it helped quite a bit with the DE.
You nailed it eiffie! wink
Actually, you only need that in mandelbrot mode where it is necessary to obtain well behaved DE.

Keep in mind that, just like the mandelbox and it's julias, it's usually necessary to scale down the DE in order to avoid overstepping.

For speed (and sanity) you may want to change the scaling to...
vec4 scale=vec4(scale...,abs(scale));//remove the /MinRad2
then..
p*=scale/clamp(r2,MinRad2,1.0);//I believe this works out to be the same - check it  wink
Nice trick, thanks a lot! smiley.

* amazingsurface-with-some-modifications.frag (12.57 KB - downloaded 317 times.)

* Quake.JPG (61.34 KB, 512x512 - viewed 169 times.)
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Masquerade Images Showcase (Rate My Fractal) Lois 1 3200 Last post December 03, 2017, 05:27:58 AM
by Lois

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.124 seconds with 27 queries. (Pretty URLs adds 0.007s, 2q)