HOME | DD

codeinsane — Compile-Time Raytracing

Published: 2007-09-25 23:47:52 +0000 UTC; Views: 804; Favourites: 2; Downloads: 17
Redirect to original
Description Image generated using compile-time raytracing in the D programming language. It has been created before D had compile-time function interpretation, thus only used classic metaprogramming facilities. More info here: [link]
Related content
Comments: 6

FireyFly [2011-04-04 15:12:13 +0000 UTC]

Nice work! It seems your link in the description is now broken, though.

👍: 0 ⏩: 1

codeinsane In reply to FireyFly [2011-04-04 20:55:10 +0000 UTC]

Thanks for the feedback and reporting the broken linky! It's fixed now.

👍: 0 ⏩: 0

patlefort [2010-06-14 12:35:04 +0000 UTC]

lol, I see phresnel isn't the only crazy programmer

👍: 0 ⏩: 1

codeinsane In reply to patlefort [2010-06-14 14:38:50 +0000 UTC]

I think many actually dreamed of writing a compile-time ray-tracer. I managed to be the first ( to my knowledge ) because D made it quite a bit easier with its ability to parametrize templates with floats and due to 'static if'

👍: 0 ⏩: 0

lyc [2009-04-03 23:58:44 +0000 UTC]

hahahaha, that must have been a LONG compile!

👍: 0 ⏩: 1

codeinsane In reply to lyc [2010-06-14 14:36:47 +0000 UTC]

26148 seconds on a 1.7GHz Centrino. Long enough for a nice coffee break, even without the famous macro from flipcode ;D

👍: 0 ⏩: 0