<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hidetobara</author_name>
  <author_url>https://blog.hatena.ne.jp/hidetobara/</author_url>
  <blog_title>猫足画廊。</blog_title>
  <blog_url>https://hidetobara.hatenadiary.org/</blog_url>
  <categories>
    <anon>OpenGL</anon>
  </categories>
  <description>あるオブジェクトが画面内に描写されたか、そうでないかの判定には Occlusion Queries を使います なお、クエリー内に入る数は、デプステストを通過するとインクリメントします。もし、デプステストを通過し値がインクリメントされたとしても、後に前のオブジェクトに遮られて全く見えなくなることもあるので注意 unsigned int idsQuery[27];//描写するオブジェクトのクエリーの結果を保存する void Init() { glGenQueries(27, idsQuery); ... } void Draw() { DrawOccluder();//オブジェクトをさえぎる壁な…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhidetobara.hatenadiary.org%2Fentry%2F20090126%2F1232954326&quot; title=&quot;OpenGL Occlusion Queries - 猫足画廊。&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>2009-01-26 16:18:46</published>
  <title>OpenGL Occlusion Queries</title>
  <type>rich</type>
  <url>https://hidetobara.hatenadiary.org/entry/20090126/1232954326</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
