Logo by DarkBeam - 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: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 19, 2024, 12:26:46 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: global illumination (article)  (Read 2672 times)
0 Members and 1 Guest are viewing this topic.
willvarfar
Explorer
****
Posts: 57


« on: October 07, 2012, 04:02:36 PM »

http://www.iquilezles.org/www/articles/simplepathtracing/simplepathtracing.htm
Logged
eiffie
Guest
« Reply #1 on: October 09, 2012, 04:49:21 PM »

Thanks for posting. I hadn't checked to see what IQ was up to for a while and now I have a lesson from the master!

I put the code in the article together and made a Fragmentarium script out of it. (see attached)
I tried to keep it as simple as possible so others can add to it.


* iqPath.jpg (33.32 KB, 520x412 - viewed 1895 times.)
* iqPath4fragmentarium.frag (5.2 KB - downloaded 250 times.)
« Last Edit: November 15, 2012, 05:33:48 PM by eiffie, Reason: adding attachments » Logged
Kali
Fractal Supremo
*****
Posts: 1138


« Reply #2 on: November 15, 2012, 06:56:21 PM »

Excelent, thanks for sharing!
Logged

richardrosenman
Conqueror
*******
Posts: 104



WWW
« Reply #3 on: November 22, 2012, 09:55:25 PM »

Hi eiffie;

Thank you for posting this code! It's awesome!

Is it tough to extend this to the Mandelbulb or other fractals? I played around with it but removing any single object seems to break down most of the script.

-Rich
Logged

eiffie
Guest
« Reply #4 on: November 24, 2012, 06:00:02 PM »

Hi Rich I should have posted a link here to another thread where I have updated the code...
http://www.fractalforums.com/fragmentarium/inigo-quilez's-brute-force-global-illumination/

The last code posted shows a bit better how to add fractals. Actually it has a bulb now as a LIGHT!

I am still puttering with it so expect at least one more update. I think it can be made faster.
Logged
tryptophan
Safarist
******
Posts: 86


« Reply #5 on: April 05, 2013, 08:38:30 PM »

I am stoked to check this out thanks for sharing.
Logged
eiffie
Guest
« Reply #6 on: April 06, 2013, 05:28:14 PM »

If you are looking at my code make sure you check the code in the thread mentioned above.
There are a couple of obvious areas for improvement - I didn't handle shadows of reflective objects correctly and the shadows are colored?!?!?
I also didn't use Schlick's approx for determining diffuse vs spec lighting although I remember adding a fake in one version.

I also made an unbiased version (that doesn't cheat toward finding light). It handles fractal lighting well but unfortunately takes FOREVER!
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Global illumination here we come! Mandelbulb Renderings « 1 2 3 » twinbee 41 15028 Last post April 03, 2011, 09:11:26 PM
by pfrancke
Ambient illumination changes cased by image render size - ? Mandelbulb 3d Sfumato 2 2603 Last post August 13, 2011, 08:12:24 AM
by Sfumato
Inigo Quilez's brute force global illumination Fragmentarium « 1 2 3 » eiffie 35 9278 Last post June 13, 2013, 06:35:05 PM
by vinz
Illumination Mandelbulb3D Gallery Dermis 0 708 Last post February 03, 2013, 08:33:20 PM
by Dermis
Aperture Buckshot Bulb Dramatic Illumination Initiative Mandelbulb3D Gallery John Smith 0 704 Last post November 16, 2013, 03:52:28 PM
by John Smith

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.13 seconds with 24 queries. (Pretty URLs adds 0.005s, 2q)