<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nyaxt</author_name>
  <author_url>https://blog.hatena.ne.jp/nyaxt/</author_url>
  <blog_title>nyaxtのPC作業ログ</blog_title>
  <blog_url>https://nyaxt.hatenadiary.org/</blog_url>
  <categories>
    <anon>nytr</anon>
    <anon>3dcg</anon>
  </categories>
  <description>PBR本での実装が謎すぎる。 Coldな（参照回数の低い）Photon詳細データをKd-tree構造から分離するって言うのはいいアイデアだから拝借するとして、メンバ変数hasLeftChildとrightChildの必要性がわからん。 ちょっとでもメモリを詰めて(いわゆる配列化二分木の子供はid*2とid*2+1の仮定をあきらめて）メモリコヒーレンシをあげようという戦略か？ 一応再帰的にconstruct_and_balance_treeを呼び出すときに引数が少なくなることでアドバンテージがあるといっても微量だろうし。 とりあえずColdデータ分けた改良Jensen先生実装でいきますか。追記：…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnyaxt.hatenadiary.org%2Fentry%2F20060910%2F1159344618&quot; title=&quot; Photon Mapping向け kD-tree implementation - nyaxtのPC作業ログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-09-10 17:10:18</published>
  <title> Photon Mapping向け kD-tree implementation</title>
  <type>rich</type>
  <url>https://nyaxt.hatenadiary.org/entry/20060910/1159344618</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
