<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ousttrue</author_name>
  <author_url>https://blog.hatena.ne.jp/ousttrue/</author_url>
  <blog_title>三次元日誌</blog_title>
  <blog_url>https://ousttrue.hatenadiary.org/</blog_url>
  <categories>
    <anon>wx</anon>
    <anon>python</anon>
    <anon>OpenGL</anon>
    <anon>メタセコイア</anon>
  </categories>
  <description>思ったより大変だ(画像のほっぺのぐるぐるが透明ぶぶん)まずmqo形式の透明は、 模様画像にアルファチャンネルがついているもの(pngとかtgaで)と、 透明にグレイスケール画像(とは限らないが)を指定する２種類がある。ひとつめに対応するのは簡単で、 glEnable(GL_ALPHA_TEST) glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) とすることで対応することができる。ただし奥から順番に描画しないといけないのだがその件については後述。ふたつめのアルファチャンネルが別画像になっているものはちょっと厄介でマルチテクスチャを使う必要がある(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fousttrue.hatenadiary.org%2Fentry%2F20080208%2F1202494057&quot; title=&quot;透過に対応 - 三次元日誌&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>https://cdn-ak.d.st-hatena.com/diary/ousttrue/2008-02-08.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-02-08 03:07:37</published>
  <title>透過に対応</title>
  <type>rich</type>
  <url>https://ousttrue.hatenadiary.org/entry/20080208/1202494057</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
