Browse Search Popular Register Upload Rules User list Login:
Search:
8ch. color fader MCF-80

Image:
screenshot of the scene

Author: MuskMan

Group: Japanese

Filesize: 35.24 kB

Date added: 2011-08-12

Rating: 5.6

Downloads: 656

Views: 1044

Comments: 4

Ratings: 2

Times favored: 0

Made with: Phun

Tags:

Scene tag

【概要】
8チャネル汎用カラーフェーダー MCF-80
物体の色を周期的に変化させます
8箇所の色を独立して色、波形、周期、位相を指定して変化させることができます。
色を変化させられるのは、図形およびバネ、固定具、ヒンジ、ペンです

Phunシーン、ゲーム、動画作成等ご自由にお使いください
衝突防止灯、パトライト、踏切灯、謎動力の表現などに…

【使用法デモ】
見るだけのデモです。

【他のシーンへの導入】
①物体に色情報を渡すためにシーン独自変数を使用します、以下の8行を導入するシーンの背景にコピペして独自変数の定義を行ってください。

↓この下の行から
Scene.my.myColor0 := [0.5 , 0.5 , 0.5 , 0.5];
Scene.my.myColor1 := [0.5 , 0.5 , 0.5 , 0.5];
Scene.my.myColor2 := [0.5 , 0.5 , 0.5 , 0.5];
Scene.my.myColor3 := [0.5 , 0.5 , 0.5 , 0.5];
Scene.my.myColor4 := [0.5 , 0.5 , 0.5 , 0.5];
Scene.my.myColor5 := [0.5 , 0.5 , 0.5 , 0.5];
Scene.my.myColor6 := [0.5 , 0.5 , 0.5 , 0.5];
Scene.my.myColor7 := [0.5 , 0.5 , 0.5 , 0.5];
↑この上の行まで

②機材を導入するシーンに持っていってください(コピペまたはファンレット保存/読み込み)

③色変化させたい物体のcolor項目に変数をセットしてください
スクリプトメニューを開き
color= [x.x , x.x , x.x , x.x] となっているところを
color= {Scene.my.myColor■} (■=0~7)と書き換え、Enterキーを押します

④色変化パラメータのセットを行います

各チャネルの「しかくの部分」で色を決定します
カラーメニューから、四角本体の色を色1として指定します
カラーメニューから、四角のテキスト色を色2として指定します

各チャネルの「まるの部分」で色変化パラメータを指定します
青い丸を選択し、スクリプトメニューを開きます。
一番下のtextureMatrixの各項目でパラメータを指定します。

1番目のパラメータ・・・色変化モード(0~4)
  0=正弦波   1=矩形波   2=三角波
  3=ノコギリ波 4=開始時に一回限り 

2番目のパラメータ・・・変化周波数
1.0で1秒周期で色変化、0.5で2秒に1回変化です。

3番目のパラメータ・・・シミュレーション開始時の位相
正弦波の場合0~2π
その他の場合は0~1で指定します

4番目のパラメータ・・・パルス幅(デューティ比)
矩形波の場合にのみ使用されます
色1を表示する時間の
周期全体に対する比率です。(0.5で色1色2が同じ時間)
パッ…………パッ……………パッ…………という感じの点滅ができます
Please log in to rate this scene
edit
Similar scenes
Title: Green Ford Mustang (w/ suspension)
Rating: 5
Filesize: 0.76 MB
Downloads: 953
Comments: 2
Ratings: 1
Date added: 2014/08/08 19:12:37
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: NEW 3D BREAKABLE CAR!!!!!!
Rating: 5
Filesize: 255.86 kB
Downloads: 1100
Comments: 0
Ratings: 1
Date added: 2014/06/03 01:45:55
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: do not fall (game)
Rating: 5
Filesize: 33.17 kB
Downloads: 2660
Comments: 4
Ratings: 1
Date added: 2022/10/21 01:22:40
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: fruits
Rating: 5
Filesize: 24.04 kB
Downloads: 2724
Comments: 3
Ratings: 1
Date added: 2022/10/10 18:09:21
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Jumpable 1969 Foose Camero (w/ suspension)
Rating: 5
Filesize: 96.79 kB
Downloads: 548
Comments: 2
Ratings: 1
Date added: 2014/06/24 23:16:01
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: DVD Maker
Rating: 4.75
Filesize: 365.33 kB
Downloads: 1720
Comments: 33
Ratings: 2
Date added: 2023/03/07 18:46:41
Made with: Algodoo v2.1.0
Rating: rated 4.8
download
Cool how do i get my stuff to do that:D pls tell me in comment
(I can't write English. So, I use the Google translation.)

Introduction to another scene

Use variables to pass information to their own scene object color

1. please do your own definition of a variable background of the scene Copy and paste the following eight lines for introduced.

Scene.my.myColor0: = [0.5, 0.5, 0.5, 0.5];
Scene.my.myColor1: = [0.5, 0.5, 0.5, 0.5];
Scene.my.myColor2: = [0.5, 0.5, 0.5, 0.5];
Scene.my.myColor3: = [0.5, 0.5, 0.5, 0.5];
Scene.my.myColor4: = [0.5, 0.5, 0.5, 0.5];
Scene.my.myColor5: = [0.5, 0.5, 0.5, 0.5];
Scene.my.myColor6: = [0.5, 0.5, 0.5, 0.5];
Scene.my.myColor7: = [0.5, 0.5, 0.5, 0.5];

2.please take them to the scene to introduce the equipment
(save / load as Phunlet, or copy and paste)


3.please set a variable to the item you want to change the color of the object color

Open the Script Menu
color = [xx, xx, xx, xx]
color = {Scene.my.myColorX} (X= 0-7) and rewriting, and then press Enter

4. Make a set of parameters for color change

Set the color to "part of the square" in each channel.

From the color menu to specify the "color" for the primary color.
From the color menu to specify the "text color" for the secondary color.

Set the change parameters on "blue circle" for each channel.
Select the blue circle and open the Script menu.
The parameters set to textureMatrix.

The first parameter is the color change mode (0-4)
0 = sine wave
1 = square wave
2 = Triangle wave
3 = Sawtooth wave
4 = At only one-time on start

The second parameter is the frequency of change
Set frequency of change cycle at [Hz].

The third parameter is the phase at the start
If use the sine wave specified 0.0 ~ 6.28(2*pi)
In other cases specified in 0.0-1.0

The fourth parameter is the pulse width (duty cycle)
Used only when the square wave
The ratio of time to display the Color 1
The ratio for the entire period. (1 color 2 colors at the same time if set 0.5)
Ohh your Japanese :D japanese is cool i respect you guys :tup: :tup: :)
I can speak your language watch. Here is what pizza is,

Pizza:
ピザは最高級のペパローニ、ピーマン、玉ねぎ、七面鳥のスライス、ソーセージと一緒に、調理された生地とサルサとチーズのコーティングから作られています。ので、いくつかの今日試してD:ピザは、誰もがこのような彼らの顔に笑顔を持っています!