<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taiyakisun</author_name>
  <author_url>https://blog.hatena.ne.jp/taiyakisun/</author_url>
  <blog_title>結果だけでなく過程も見てください</blog_title>
  <blog_url>https://taiyakisun.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>C++</anon>
    <anon>ゲーム</anon>
    <anon>DirectX</anon>
  </categories>
  <description>さてさて。 今まで何回か題名の話を書いてきましたが、 結局なにをやりたいかっていうと、 テクスチャを貼り付けた板ポリゴンがズレなく ドットがつぶれることなく(UV値を正しく算出する)描画することでした。 で、色々調べたり聞いたりしたところ 1つのイメージに複数のテクスチャが描かれている状態で UV値を計算すると、浮動小数点の丸め誤差とかの問題で どーしても1ドットずれたりずれなかったりしてしまうようです↓↓ この問題を回避する方法ももちろんあります。 といってもだいぶ微妙なのですが。。。 イメージに複数のテクスチャを描くのが悪いのですから 1つのイメージには1つのテクスチャだけを描けばよいので…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaiyakisun.hatenablog.com%2Fentry%2F20101204%2F1291410599&quot; title=&quot;3D空間に2Dオブジェクトを描画するときにy座標だけ1ドット下にずれる(4) - 結果だけでなく過程も見てください&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-12-04 06:09:59</published>
  <title>3D空間に2Dオブジェクトを描画するときにy座標だけ1ドット下にずれる(4)</title>
  <type>rich</type>
  <url>https://taiyakisun.hatenablog.com/entry/20101204/1291410599</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
