<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cvl-robot</author_name>
  <author_url>https://blog.hatena.ne.jp/cvl-robot/</author_url>
  <blog_title>cvl-robot's diary</blog_title>
  <blog_url>https://cvl-robot.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>OpenGLの描画結果のデプス値を単位を直して画像データとして取得するサンプル。詳細は[１]を参照のこと。 1. glReadPixelsでデプスバッファのデータを読み込み 2. nearClipとfarClipでデプス値を正規化 3. 上下反転されているので入れ替え ofPixels pix; pix.allocate(ofGetWidth(), ofGetHeight(), OF_IMAGE_COLOR); double depth_scale = 1000.0; std::vector&lt;float&gt; depth_image; depth_image.resize(ofGetWidth()…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcvl-robot.hateblo.jp%2Fentry%2F2018%2F07%2F04%2F203308&quot; title=&quot;メモ：OpenGLの描画結果のデプスバッファから距離情報を復元する方法 - cvl-robot&amp;#39;s diary&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>http://ecx.images-amazon.com/images/I/31jW7dFrxkL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-04 20:33:08</published>
  <title>メモ：OpenGLの描画結果のデプスバッファから距離情報を復元する方法</title>
  <type>rich</type>
  <url>https://cvl-robot.hateblo.jp/entry/2018/07/04/203308</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
