<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mirichi</author_name>
  <author_url>https://blog.hatena.ne.jp/mirichi/</author_url>
  <blog_title>mirichiの日記</blog_title>
  <blog_url>https://mirichi.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>DirectX9には2D描画機能が無い。描画はすべて3Dだ。 一応D3DXSpriteが用意されていて、これは内部で3D処理をやっているが、インターフェイスは2D描画として扱える。でもちょっと遅い。もっと高速な2D描画が必要なら、3D機能を使って2D描画することになる。 3D機能で2Dを描画するためのポイントは、座標変換とテクスチャだろう。 座標変換については頂点座標にRHWを追加すれば、3D座標変換処理をすっ飛ばしてスクリーン座標として扱ってくれる。 RHWは同次座標で、3Dでは射影変換で真ん中に寄せるためにZ座標が入るが、この値を直接指定することで変換は終わった、と言うことをDirect3…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmirichi.hatenadiary.org%2Fentry%2F20100122%2Fp1&quot; title=&quot;3D機能で2D描画をする話 - mirichiの日記&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>2010-01-22 00:00:00</published>
  <title>3D機能で2D描画をする話</title>
  <type>rich</type>
  <url>https://mirichi.hatenadiary.org/entry/20100122/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
