tag:blogger.com,1999:blog-3109489567717785438.post8879624849745316025..comments2014-02-18T23:47:14.055-08:00Comments on Thin Lense Reflex - Rendering: TLRcam goes haskellMatt Mirmanhttp://www.blogger.com/profile/05284383073231319422noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3109489567717785438.post-46703411618299184392014-02-18T23:47:14.055-08:002014-02-18T23:47:14.055-08:00Dude, wow, I can't believe you actually found ...Dude, wow, I can't believe you actually found my other blog. I haven't checked this in ages.mmirmanhttps://www.blogger.com/profile/13836564620982399216noreply@blogger.comtag:blogger.com,1999:blog-3109489567717785438.post-24659927527175736872013-04-30T08:51:59.851-07:002013-04-30T08:51:59.851-07:00Also, since you like language stuff, you should ch...Also, since you like language stuff, you should check out pages 278-280 of this book:<br /><br />http://www.itu.dk/~sestoft/pebook/pebook.html<br /><br />which outlines how partial evaluation can be used to speed up a raytracer. I can't find the Mogensen paper, but Anderson did a similar paper:<br /><br />http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.119.227<br /><br />Joshua Ballhttps://www.blogger.com/profile/06420272596782781072noreply@blogger.comtag:blogger.com,1999:blog-3109489567717785438.post-50626722538022110102013-04-30T08:41:32.641-07:002013-04-30T08:41:32.641-07:00If you haven't seen it already, this guy has a...If you haven't seen it already, this guy has an interesting pure approach to writing a raytracer in haskell:<br /><br />http://sebastiansylvan.wordpress.com/2009/07/04/ray-tracing-signed-distance-functions/<br /><br />The basic idea is: every object is represented as a function from a vector to a number, the number being the smallest distance to the nearest object. To combine objects for a scene, you just compute the minimum!Joshua Ballhttps://www.blogger.com/profile/06420272596782781072noreply@blogger.com