<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Culling on blog</title>
    <link>https://jpcharalambosh.co/tags/culling/</link>
    <description>Recent content in Culling on blog</description>
    <image>
      <title>blog</title>
      <url>https://jpcharalambosh.co/papermod-cover.png</url>
      <link>https://jpcharalambosh.co/papermod-cover.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 25 Apr 2026 15:00:00 -0500</lastBuildDate>
    <atom:link href="https://jpcharalambosh.co/tags/culling/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Visibility testing</title>
      <link>https://jpcharalambosh.co/posts/visibility_testing/</link>
      <pubDate>Sat, 25 Apr 2026 15:00:00 -0500</pubDate>
      <guid>https://jpcharalambosh.co/posts/visibility_testing/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Per-object frustum culling with &lt;a href=&#34;https://github.com/VisualComputing/p5.tree#visibility-testing&#34;&gt;&lt;code&gt;visibility&lt;/code&gt;&lt;/a&gt;. Sixty mixed primitives drift around in a wide volume; each frame their bounds — AABBs for boxes, spheres for spheres — are tested against a fixed test camera&amp;rsquo;s frustum, with the six frustum planes pre-computed once per frame via &lt;a href=&#34;https://github.com/VisualComputing/p5.tree#visibility-testing&#34;&gt;&lt;code&gt;bounds({ mat4Eye })&lt;/code&gt;&lt;/a&gt;. Three return states drive the render: solid lit material for &lt;code&gt;VISIBLE&lt;/code&gt;, amber wireframe for &lt;code&gt;SEMIVISIBLE&lt;/code&gt; (the bounds straddle a plane), faint grey for &lt;code&gt;INVISIBLE&lt;/code&gt;. Toggle the test camera&amp;rsquo;s projection between perspective and orthographic with the gold checkbox; drag to orbit the observer and watch the cyan wireframe stay put while objects drift through it.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
