<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>euphilia</author_name>
  <author_url>https://blog.hatena.ne.jp/euphilia/</author_url>
  <blog_title>神様のバグ帳</blog_title>
  <blog_url>https://euphilia.hatenadiary.org/</blog_url>
  <categories>
    <anon>サンプル</anon>
    <anon>Android</anon>
  </categories>
  <description>立体を描画するには頂点配列やらテクスチャ座標やらがあります。 まず考える事は、（１）立体の座標を自力で計算する （２）立体の座標をモデリングソフトで描いてそれを読み込むの２点です。正直、（２）の方が使える技術だと思うのですが、今回は（１）で立体を描画してみます。後々、照明やら反射やらの計算をするので一応法線も描いておきましたが、テクスチャを貼るだけなら不要です。３次元の描画では物体の前後も考えないといけません。 奥の物を奥に、手前の物を手前に描画する為には隠面消去を使います。[Android] gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feuphilia.hatenadiary.org%2Fentry%2F20120202%2F1328156000&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.f.st-hatena.com/images/fotolife/e/euphilia/20120202/20120202130250.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-02-02 13:13:20</published>
  <title>テクスチャ付き立方体</title>
  <type>rich</type>
  <url>https://euphilia.hatenadiary.org/entry/20120202/1328156000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
