<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="http://tres-graficos.jp/blog/rss/style.css" type="text/css"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:content="http://purl.org/rss/1.0/modules/content/"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xml:lang="en">
<channel rdf:about="http://tres-graficos.jp/blog/rss/1.0.php?id=351">
<title>TG BLOG</title>
<link>http://tres-graficos.jp/blog/index.php</link>
<dc:date>2007-02-08T08:33:55+0900</dc:date>
<description>
TG BLOG - RSS (RDF Site Summary).
</description>
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://tres-graficos.jp/blog/article.php?id=351" />
</rdf:Seq>
</items>
</channel>
<item>
<title>Bottle Scene W.I.P. 02</title>
<link>http://tres-graficos.jp/blog/article.php?id=351</link>
<dc:date>2007-02-08T08:33:55+0900</dc:date>
<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://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://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>

</rdf:RDF>