<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>soma_arc</author_name>
  <author_url>https://blog.hatena.ne.jp/soma_arc/</author_url>
  <blog_title>心鏡曼荼羅</blog_title>
  <blog_url>https://soma.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>レイトレーシングで曲線を描画する方法をまとめます．とりあえず3つほど見つけたのですが，今回はこちらの方法を実装してみました． Koji Nakamaru and Yoshio Ono, RAY TRACING FOR CURVES PRIMITIVE, WSCG 2002. ベジェ曲線を直接幅を持ったリボンのようなものとして描く方法で,髪の毛などの細いものを描画するのに向いているそうです. レンダリング結果はこのような感じになりました． 青い球の位置が制御点です．太くしすぎたため，少しがたつきがでています． アルゴリズム自体は割と単純で，擬似コードも載っているので実装は簡単だと思いますが，その…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsoma.hatenablog.jp%2Fentry%2F2016%2F05%2F27%2F230054&quot; title=&quot;レイトレでベジェ曲線を描画する(Ray tracing for curves primitive) - 心鏡曼荼羅&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>http://cdn-ak.f.st-hatena.com/images/fotolife/s/soma_arc/20160504/20160504163335.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-05-27 23:00:54</published>
  <title>レイトレでベジェ曲線を描画する(Ray tracing for curves primitive)</title>
  <type>rich</type>
  <url>https://soma.hatenablog.jp/entry/2016/05/27/230054</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
