<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to build a BVH &#8211; part 8: Whitted-Style	</title>
	<atom:link href="https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/feed/" rel="self" type="application/rss+xml" />
	<link>https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/</link>
	<description>Links, Code &#38; Articles</description>
	<lastBuildDate>Sat, 17 May 2025 10:14:43 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>
	<item>
		<title>
		By: jbikker		</title>
		<link>https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/#comment-4085</link>

		<dc:creator><![CDATA[jbikker]]></dc:creator>
		<pubDate>Sat, 17 May 2025 10:14:43 +0000</pubDate>
		<guid isPermaLink="false">https://jacco.ompf2.com/?p=1329#comment-4085</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/#comment-4084&quot;&gt;PeterZ&lt;/a&gt;.

That would indeed improve things. There is a good article in one of the ray tracing gems books that addresses this issue. It&#039;s not trivial, but certainly doable.]]></description>
			<content:encoded><![CDATA[<p>That would indeed improve things. There is a good article in one of the ray tracing gems books that addresses this issue. It&#8217;s not trivial, but certainly doable.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: PeterZ		</title>
		<link>https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/#comment-4084</link>

		<dc:creator><![CDATA[PeterZ]]></dc:creator>
		<pubDate>Sat, 17 May 2025 09:15:15 +0000</pubDate>
		<guid isPermaLink="false">https://jacco.ompf2.com/?p=1329#comment-4084</guid>

					<description><![CDATA[For the texture section, should we not consider each ray to represent a cone (as a simplification of the projection of the square frame pixel onto the triangle) and as such consider the albedo to be the average of the texels caught in the cone intersection. This fixes the mess you see where the objects are too far away.

Traditional (rasterisation) techniques addressing this issue are mipmaps and MSAA I believe.]]></description>
			<content:encoded><![CDATA[<p>For the texture section, should we not consider each ray to represent a cone (as a simplification of the projection of the square frame pixel onto the triangle) and as such consider the albedo to be the average of the texels caught in the cone intersection. This fixes the mess you see where the objects are too far away.</p>
<p>Traditional (rasterisation) techniques addressing this issue are mipmaps and MSAA I believe.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jbikker		</title>
		<link>https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/#comment-4083</link>

		<dc:creator><![CDATA[jbikker]]></dc:creator>
		<pubDate>Sat, 17 May 2025 09:08:58 +0000</pubDate>
		<guid isPermaLink="false">https://jacco.ompf2.com/?p=1329#comment-4083</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/#comment-4082&quot;&gt;PeterZ&lt;/a&gt;.

That is correct!]]></description>
			<content:encoded><![CDATA[<p>That is correct!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: PeterZ		</title>
		<link>https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/#comment-4082</link>

		<dc:creator><![CDATA[PeterZ]]></dc:creator>
		<pubDate>Sat, 17 May 2025 09:03:01 +0000</pubDate>
		<guid isPermaLink="false">https://jacco.ompf2.com/?p=1329#comment-4082</guid>

					<description><![CDATA[In the shading section you first compute dist=length(L); and then dist*dist, as the reciprocal for light falloff. If instead you start by doing dist2=dot(L,L); dist=sqrt(dist2); and then reuse dist2 for the falloff, you&#039;ve saved yourself one multiplication.]]></description>
			<content:encoded><![CDATA[<p>In the shading section you first compute dist=length(L); and then dist*dist, as the reciprocal for light falloff. If instead you start by doing dist2=dot(L,L); dist=sqrt(dist2); and then reuse dist2 for the falloff, you&#8217;ve saved yourself one multiplication.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jbikker		</title>
		<link>https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/#comment-2838</link>

		<dc:creator><![CDATA[jbikker]]></dc:creator>
		<pubDate>Fri, 24 Jun 2022 07:07:56 +0000</pubDate>
		<guid isPermaLink="false">https://jacco.ompf2.com/?p=1329#comment-2838</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/#comment-2837&quot;&gt;Lok&lt;/a&gt;.

Good question, there&#039;s absolutely no difference. ;) I should have picked a different bit than the least significant one...]]></description>
			<content:encoded><![CDATA[<p>Good question, there&#8217;s absolutely no difference. 😉 I should have picked a different bit than the least significant one&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lok		</title>
		<link>https://jacco.ompf2.com/2022/05/27/how-to-build-a-bvh-part-8-whitted-style/#comment-2837</link>

		<dc:creator><![CDATA[Lok]]></dc:creator>
		<pubDate>Fri, 24 Jun 2022 02:40:58 +0000</pubDate>
		<guid isPermaLink="false">https://jacco.ompf2.com/?p=1329#comment-2837</guid>

					<description><![CDATA[What&#039;s the difference between

bool mirror = (instIdx * 17) &#038; 1;

and 

bool mirror = instIdx &#038; 1;]]></description>
			<content:encoded><![CDATA[<p>What&#8217;s the difference between</p>
<p>bool mirror = (instIdx * 17) &amp; 1;</p>
<p>and </p>
<p>bool mirror = instIdx &amp; 1;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
