Tags : Script

Entries in this Tags : 92logs Showing : 1 - 7 / 92

CheetahToMotion.js

Cheetah3D のシーンから、 Motion の .motn ファイルを作成する Tool スクリプトです。

~/ライブラリ/Application Support/Cheetah3D/scripts/Tool フォルダにスクリプトファイルを移動(コピー)して使用します。 全てのカメラ/オブジェクトが書き出された .motnファイルが作成されます。尚、オブジェクトはグループレイヤーとして書き出されます。


It's a Tool script to make new .motn file of Motion from Cheetah3D's scene.

Place it into ~/Libarary/Application Support/Cheetah3D/scripts/Tool folder.

All cameras / objects ( as group layer ) will be exported with animation.


CheetahToMotion.js_20130511.zip ( application/zip : 5 KB)

MD5 : 32fd90cf3164b2d8a5d47f26e90aeaa0

make your donation
for my scripts.

Multi UV Editor.js

複数オブジェクトの UV データを一枚のポリゴンにまとめて編集したい場合に、補助ツールとして使用するタグスクリプトです。

~/Library/Application Support/Cheetah3D/Scripts/Tag フォルダにスクリプトをコピーし、Cheetah3D を再起動してインストールを完了して下さい。

  1. まず UV をまとめたいオブジェクトをフォルダ等を使って階層にまとめておきます。(フォルダを使用せずに、子オブジェクトにして階層化しても OK)
  2. 親オブジェクトに Multi UV Editor.js タグを適用します。
  3. make editor object の make ボタンをクリックすると、階層中のすべてのポリゴンが合成された編集用のオブジェクトが作成されます。writeback target には、作成された編集用オブジェクトが自動的にセットされます。
  4. 編集用のオブジェクトの UV を編集します。このとき、コピー元や編集用オブジェクトのポリゴン・頂点は編集しないでください。
  5. 編集完了後に、writeback UV の write ボタンをクリックし、編集した UV 情報をそれぞれのコピー元に書き戻します。

注意点
編集中にドキュメントを閉じると、書き戻し用の情報が失われ、正しく書き戻せなくなります。その場合は、編集用オブジェクトの作成からやり直してください。
編集用のオブジェクトを書き出した後に、コピー元オブジェクト/編集用オブジェクトのポリゴン・頂点を編集すると、正しく UV 情報を書き戻せなくなります。


Multi_UV_Editor.js.zip ( application/zip : 2 KB)

MD5 : 3e3da5a35967d844181c86931c5f8dd2

make your donation
for my scripts.

Boids.js

It's a particle script to create Boids objects from particle object.


Boids.js_20130405.zip ( application/zip : 4 KB)

MD5 : 8e01cbe17b99d09332885fd5889ac073

make your donation
for my scripts.

Controlled Spline.js

It's a spline script, that create spline with control points as child objects position.

to install, copy 2 files into certain folders.

Controlled Spline.js -> ~/Library/Application Support/Scripts/Splineobj folder
Controlled Spline Tag.js -> ~/Librrary/Application Support/Scripts/Tag folder

If you want change 'curve' parameter at certain child object, attach 'Controlled Spline Tag.js' tag to it, then change its property.


子オブジェクトの位置をコントロールポイントとして、スプラインを生成するスプラインスクリプトです。

2つのファイルをそれぞれフォルダにコピーしてインストールして下さい。

Controlled Spline.js -> ~/Library/Application Support/Scripts/Splineobj folder
Controlled Spline Tag.js -> ~/Librrary/Application Support/Scripts/Tag folder

特定の子オブジェクトでカーブの比率を変えたい場合は、 その子オブジェクトに Controlled Spline Tag.js を適用して、そのプロパティを調整します。


ch3d_20130118_controlledspline_ss.jpg

Controlled Spline_20130118b.zip ( application/zip : 4 KB)

MD5 : ee05bde62e909dc221c0c0d2ee9d06d2

make your donation
for my scripts.

Set Changer.js

It's a polygon script to switching visibility of object(s).

Set_Changer_20130118.zip ( application/zip : 5 KB)

MD5 : e2d53da7726d34195ac38698cf65abf3

make your donation
for my scripts.

Multi Joint.js

It's a tool script to set joint's parameter ( type / display mode / color ) recursively. To use, place this script into ~/Library/Application Support/Cheetah3D/Scripts/Tool folder.

set type : a switch to set joint's type
joint type : joint's type setting
set mode : a switch to set joint's display mode
joint mode : joint's display mode
set color : a switch to set joint's color
joint color R/G/B/A : factor of joint's color
recursive : if you want to change parameters of all child joints, check this
only children : if you don't want to change selected joint's parameter, check this

capture : to capture selected joint's parameters, click this button


Multi Joint.js_20121102.zip ( application/zip : 2 KB)

MD5 : 0729ee5ad70c8c074c738f8e94408854

make your donation
for my scripts.

Alignment+.js

選択したオブジェクトを整列させるツールスクリプトです。

base obj: 整列のベースになるオブジェクトを指定します。何も指定しない場合、ワールド座標の原点に整列します。
x axis: X 軸の整列モードを選択します。
y axis: Y 軸の整列モードを選択します。
z axis: Z 軸の整列モードを選択します。
margin: 軸の整列モードを "|↔|"にした場合の間隔を設定します。

|←: 形状の最も小さい位置に選択オブジェクトを整列させます。
→|: 形状の最も大きい位置に選択オブジェクトを整列させます。
→|←: 形状の中心位置に選択オブジェクトを整列させます。
|↔|: ベース形状の最大値と選択オブジェクトの最小値が margin で設定した距離離れた位置に選択オブジェクトを整列させます。

update 20121011: Cheetah3D 5.8 使用時のバグを修正(Cheetah3D 5.8 で使用する場合、取り消す/やり直す機能は使えません)


It's a Tool script to make selected object aligned to 'base obj'.

base obj: set base object to make align to. if no object is set, script make align to 0 point of world coordinate.
x axis: alignment mode for X axis.
y axis: alignment mode for Y axis.
z axis: alignment mode for Z axis.
margin: set distance value when alignment mode is set to "|↔|".

|←: align selected object with the minimum points of each objects.
→|: align selected object with the maximum points of each objects.
→|←: align selected object with the center points of each objects.
|↔|: align selected object with the maximum point of base object and the minimum point of selected object at intervals of 'margin' property.

update 20121011: fixed bug for Cheetah3D 5.8 ( Undo/Redo functions are disabled with Cheetah3D 5.8. )

Alignment+.js_20121011.zip ( application/zip : 2 KB)

MD5 : a43ead95a5a3f4182085f577be5e41a3

make your donation
for my scripts.