<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[PublMe - Space: Posted Reaction by PublMe bot in PublMe]]></title>
	<link>https://publme.space/reactions/v/58205</link>
	<atom:link href="https://publme.space/reactions/v/58205" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://publme.space/reactions/v/58205</guid>
	<pubDate>Sat, 06 Sep 2025 22:00:13 +0200</pubDate>
	<link>https://publme.space/reactions/v/58205</link>
	<title><![CDATA[Posted Reaction by PublMe bot in PublMe]]></title>
	<description><![CDATA[
<p>No Plans for the Weekend? Learn Raytracing!</p>
<div><img width="800" height="450" src="https://hackaday.com/wp-content/uploads/2025/09/img-1.23-book1-final.jpg?w=800" alt="" srcset="https://hackaday.com/wp-content/uploads/2025/09/img-1.23-book1-final.jpg 1200w, https://hackaday.com/wp-content/uploads/2025/09/img-1.23-book1-final.jpg?resize=250, 141 250w, https://hackaday.com/wp-content/uploads/2025/09/img-1.23-book1-final.jpg?resize=400, 225 400w, https://hackaday.com/wp-content/uploads/2025/09/img-1.23-book1-final.jpg?resize=800, 450 800w" data-attachment-id="813573" data-permalink="https://hackaday.com/2025/09/06/no-plans-for-the-weekend-learn-raytracing/img-1-23-book1-final/" data-orig-file="https://hackaday.com/wp-content/uploads/2025/09/img-1.23-book1-final.jpg" data-orig-size="1200,675" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="img-1.23-book1-final" data-image-description="" data-image-caption="" data-medium-file="https://hackaday.com/wp-content/uploads/2025/09/img-1.23-book1-final.jpg?w=400" data-large-file="https://hackaday.com/wp-content/uploads/2025/09/img-1.23-book1-final.jpg?w=800"></div><p>Weekends can be busy for a lot of us, but sometimes you have one gloriously free and full of possibilities. If that’s you, you might consider taking a gander at [Peter Shirley]’s e-book <a rel="nofollow" href="https://raytracing.github.io/books/RayTracingInOneWeekend.html" target="_blank">“Learning Raytracing in One Weekend”</a>.</p><figure aria-describedby="caption-attachment-813561"><a rel="nofollow" href="https://hackaday.com/wp-content/uploads/2025/09/img-1.01-first-ppm-image.png"><img data-attachment-id="813561" data-permalink="https://hackaday.com/2025/09/06/no-plans-for-the-weekend-learn-raytracing/img-1-01-first-ppm-image/" data-orig-file="https://hackaday.com/wp-content/uploads/2025/09/img-1.01-first-ppm-image.png" data-orig-size="256,256" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="img-1.01-first-ppm-image" data-image-description="" data-image-caption="&lt;p&gt;This gradient is the first image the book talks you through producing. It ends with the spheres.&lt;/p&gt;" data-medium-file="https://hackaday.com/wp-content/uploads/2025/09/img-1.01-first-ppm-image.png?w=256" data-large-file="https://hackaday.com/wp-content/uploads/2025/09/img-1.01-first-ppm-image.png?w=256" src="https://hackaday.com/wp-content/uploads/2025/09/img-1.01-first-ppm-image.png?w=256" alt="" width="256" height="256" srcset="https://hackaday.com/wp-content/uploads/2025/09/img-1.01-first-ppm-image.png 256w, https://hackaday.com/wp-content/uploads/2025/09/img-1.01-first-ppm-image.png?resize=250, 250 250w"></a><figcaption>This gradient is the first image that the book talks you through producing. It ends with the spheres.</figcaption></figure><p>This is very much a zero-to-hero kind of class: it starts out defining the <a rel="nofollow" href="https://hackaday.com/2018/06/29/linux-fu-scripting-for-binary-files/">PPM image format</a>, which is easy to create and manipulate using nearly any language. The book uses C++, but as [Peter] points out in the introduction, you don’t have to follow along in that language; there won’t be anything unique to C++ you couldn’t implement in your language of choice.</p><p>There are many types of ray tracers. Technically, what you should end up with after the weekend ends is a path tracer. You won’t be replacing the Blender Cycles renderer with your weekend’s work, but you get some nice images and a place to build from. [Peter] manages to cram a lot of topics into a weekend, including diffuse materials, metals, dialectrics, diffraction, and camera classes with simple lens effects.</p><p>If you find yourself with slightly more time, [Peter] has you covered. He’s also released books on “<a rel="nofollow" href="https://raytracing.github.io/books/RayTracingTheNextWeek.html" target="_blank">Raytracing: The Next Week</a>.” If you have a lot more time, then check out his third book, “<a rel="nofollow" href="https://raytracing.github.io/books/RayTracingTheRestOfYourLife.html" target="_blank">Raytracing: The Rest of Your Life</a>.”</p><p>This weekend e-book shows that ray-tracing doesn’t have to be the darkest of occult sciences; it doesn’t need oodles of hardware, either. Even <a rel="nofollow" href="https://hackaday.com/2014/11/25/ray-tracing-on-an-arduino/">an Arduino</a> can do it..</p>]]></description>
	<dc:creator>PublMe bot</dc:creator>
</item>

</channel>
</rss>