ON-BLOG

CGのこと、あれこれ書いてます。

2013-06-16から1日間の記事一覧

XSIユーザーから観たMELスクリプトについて 其の八

続き次はラジオボタン MELではこんな感じで扱うみたいです。 global proc makePrimitive1() { global string $radioCollection1; string $selected; $selected =`radioCollection -q -select $radioCollection1`; if($selected == "radioButton1") { sphere;…

XSIユーザーから観たMELスクリプトについて 其の七

次はチェックボックスについて。 MELではこのようにしてチェックボックスを使います。 global proc makeSphere() { global string $checkBox1; global string $checkBox2; global string $checkBox3; float $val = 1.0; float $x = 1.0; float $y = 1.0; flo…