<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>TG BLOG</title>
<link>http://www.tres-graficos.jp/blog/index.php</link>
<pubDate>Thu, 08 Feb 2007 08:33:55 </pubDate>
<description>
TG BLOG - RSS 2.0 (Really Simple Syndication).
</description>
<item>
<title>Bottle Scene W.I.P. 02</title>
<link>http://www.tres-graficos.jp/blog/article.php?id=351</link>
<pubDate>Thu, 08 Feb 2007 08:33:55 +0900</pubDate>
<description>テスト用に水を入れたガラスのコップをレンダリングしてみた。元ネタは、これ。
前作った同じようなシーンは、法線バグのためおかしな結果になってましたね（気付けよなぁ）。



Modeling: Cheetah3D 3.6.1, Renderi...</description>
<content:encoded>
<![CDATA[<p>テスト用に水を入れたガラスのコップをレンダリングしてみた。元ネタは、<a href="http://www.maxwellrender.com/forum/viewtopic.php?t=5631" class="ex-ref">これ</a>。<br />
<a href="http://www.tres-graficos.jp/blog/article.php?id=329" class="in-ref">前作った同じようなシーン</a>は、法線バグのためおかしな結果になってましたね（気付けよなぁ）。</p>
<p>
<img src="http://www.tres-graficos.jp/blog/resources/rad_20070208_cp2w.jpg" width="640" height="480" alt="" />
</p>
<p class="spec">Modeling: Cheetah3D 3.6.1, Rendering: radium renderer 0.00.09</p>
<hr />
<!-- more -->
<p>昨日のシーンのボトルとグラスに水を入れてみた。</p>
<p>radium で透過を設定する時に、オブジェクトの厚みを考えてカラーを調整しないといけなくて、ちょっと面倒なんて思っていたんですが、シーンファイルに直接式を書ける事に気付いたので、以下のようにしてみた。</p>
<div class="code">
<code>
material CM_mat_glassWhite_4 = {
    diffuse &lt;0.737253, 0.906416, 1.00000&gt;*0.1
    transmit &lt;0.737253, 0.906416, 1.00000&gt;*0.002
    reflect 0
    ior 1.57000
}
</code>
</div>
<p>radium での単位がちょっと不明なので試行錯誤は必要なんですが、設定方法が簡単になります。</p>
<p>
<img src="http://www.tres-graficos.jp/blog/resources/rad_20070208_bottlesWip2.jpg" width="640" height="640" alt="" />
</p>
<p class="spec">Modeling: Cheetah3D 3.6.1, Rendering: radium renderer 0.00.09 + NeatImage</p>
<p>reflect 0 がよけいだったかも。プラっぽくなってますね。 :-P</p>
<p>radium のシーンファイルには、変数も定義や vector の操作関数、 for / while とかも使えたりして、面白い事がいろいろ出来そう。 :-)</p>
]]>
</content:encoded>
</item>
</channel>
</rss>