Logo by Pauldelbrot - 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: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. October 20, 2019, 03:50:18 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: Iteration fog  (Read 970 times)
0 Members and 1 Guest are viewing this topic.
Patryk Kizny
Global Moderator
Fractal Fertilizer
******
Posts: 372



kizny
WWW
« on: September 18, 2015, 06:28:48 PM »

Hey,

Can someone give me some more technical details on how the iteration fog algorithm works?
Would love to implement it as an extension to the DE raytracer I use now in Fragmentarium.

Thanks!
Logged

Visual Artist, Director & Cinematographer specialized in emerging imaging techniques.
Buddhi
Fractal Iambus
***
Posts: 895



WWW
« Reply #1 on: September 19, 2015, 06:21:12 PM »

Hey,

Can someone give me some more technical details on how the iteration fog algorithm works?
Would love to implement it as an extension to the DE raytracer I use now in Fragmentarium.

Thanks!

In general fog casts shadows and receives shadows. Opacity of fog depend on iteration count of fractal formula. More iterations gives higher opacity.
For every ray marching step it calculates lights and shadows. But ray-marching has to be done in opposite direction than for calculating fractal surface. It must be from fractal to camera.
If you need more details you can look into source code:
https://github.com/buddhi1980/mandelbulber2/blob/master/mandelbulber2/src/shaders.cpp#L417

If you have more questions just ask.

Logged

3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #2 on: September 19, 2015, 08:13:24 PM »

if you... grep fog Fragmentarium/Examples/*/* you will find about 80 instances of the word "fog" mostly in the raytracer.frags wink
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
First! (iteration) Philosophy oftakofta 1 2724 Last post December 19, 2009, 11:01:43 AM
by jehovajah
Iteration fog 2 Mandelbulber Gallery Buddhi 0 321 Last post February 12, 2012, 10:19:07 PM
by Buddhi
Iteration fog 1 Mandelbulber Gallery Buddhi 0 371 Last post February 12, 2012, 10:19:12 PM
by Buddhi
Buddha Slices (Drawing escape time at iteration n instead of iteration 0) Mandelbrot & Julia Set brainiac94 11 1005 Last post November 04, 2016, 08:05:00 PM
by tit_toinou
Ascenseur pour l'itÚration (Elevator to the iteration) Film Bfractalien 0 665 Last post May 21, 2016, 11:51:38 PM
by Bfractalien

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.14 seconds with 28 queries. (Pretty URLs adds 0.012s, 2q)