POV-Ray : Newsgroups : povray.general : A renderer in 100 lines of c++ Server Time
2 Jun 2024 08:31:10 EDT (-0400)
  A renderer in 100 lines of c++ (Message 1 to 2 of 2)  
From: jhu
Subject: A renderer in 100 lines of c++
Date: 3 Sep 2014 17:35:00
Message: <web.5407896b760cbd5dd19b0ec40@news.povray.org>
Thought this is interesting: a global illumination renderer in 100 lines of C++
code use Monte Carlo tracing. Not very fully featured, but it's pretty amazing
for 100 lines of code. The GPU version is even faster.

http://www.kevinbeason.com/smallpt/

At 1000 samples/pixel, it takes about 5 minutes to renderr on my FX 8350.


Post a reply to this message

From: jhu
Subject: Re: A renderer in 100 lines of c++
Date: 4 Sep 2014 00:20:00
Message: <web.5407e86d62b474cad19b0ec40@news.povray.org>
Here's a presentation explaining that obfuscated code:

https://docs.google.com/file/d/0B8g97JkuSSBwUENiWTJXeGtTOHFmSm51UC01YWtCZw/edit?pli=1


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.