<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kenmo</author_name>
  <author_url>https://blog.hatena.ne.jp/kenmo/</author_url>
  <blog_title>ゲームプログラムめも日記</blog_title>
  <blog_url>https://kenmo.hatenadiary.org/</blog_url>
  <categories>
    <anon>その他</anon>
  </categories>
  <description>３日間部屋にこもってフルスクラッチによるグラフィックスプログラミング入門で画像処理を勉強。 色々と画像処理のテクニックが分かってきたのが嬉しい。 カラーキー付き転送やαブレンド、加算合成 これらは理屈は分かっていたけど、やっぱり実際に作ってみてこそ理解できますね。 カラーキーは、指定の色を転送しない。 αブレンドは、既にある色と重ねたい色を按分してブレンドする。 加算合成は、そのまま足しこむ。 ですね。 直線を引く、三角形を塗りつぶす 直線は、指定した２点から、y = ax + bを求めれば簡単に出ますね。 三角形はちょっと面倒で、任意の座標と３つの角それぞれにおけるベクトルとのz方向への外積…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenmo.hatenadiary.org%2Fentry%2F20050320%2Fp1&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/kenmo/2005-03-20.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-03-20 00:00:00</published>
  <title>画像処理</title>
  <type>rich</type>
  <url>https://kenmo.hatenadiary.org/entry/20050320/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
