plusminusaverage

各Maya用戶可在這裡交流問題和分享制作經驗

版主: h2o, stantang

plusminusaverage

文章eidosyam » 12日 7月 2005年, 23:05

i want to ask, when ball 1 translate x conncet to plusminusaverage input1d(0)
then ball 2 connet to input1d(1), but input1d(1) not appear??
thank you for reply
附加檔案
translatex1.jpg
translatex1.jpg (96.37 KiB) 被瀏覽 5282 次
eidosyam
討論區新秀
討論區新秀
 
文章: 43
註冊時間: 4日 12月 2004年, 00:55

Share On:

Share on Facebook Facebook Share on Twitter Twitter

文章stantang » 13日 7月 2005年, 03:34

That is because "input2" is a two parameters node, so you can only connect node which has two parameters to it. you will have better idea of input2 and input3 if you load the +/- average into connection editor, select "show readable" under "right/left display".
頭像
stantang
討論區主持
討論區主持
 
文章: 1566
註冊時間: 8日 11月 2001年, 08:00
來自: Groom Lake

文章eidosyam » 13日 7月 2005年, 17:35

sorry!! i dont understand.
beucase i try it, when i use pshere1 connect to input2, but no response. why??
when form input change output, after i click the readable button .
why???
thank you for reply.
附加檔案
output2[1].jpg
output2[1].jpg (99.67 KiB) 被瀏覽 4950 次
eidosyam
討論區新秀
討論區新秀
 
文章: 43
註冊時間: 4日 12月 2004年, 00:55

文章vectoreffect » 13日 7月 2005年, 23:04

you could try to use mel script to connect the ball2.tx to input1d[1]. Open the script editor, and then type:
connectAttr -force ball2.translateX plusMinusAverage1.input1D[1];

Finally press Ctrl + Enter to execute the script.
頭像
vectoreffect
討論區主持
討論區主持
 
文章: 249
註冊時間: 13日 6月 2002年, 18:13
來自: HK

文章stantang » 13日 7月 2005年, 23:32

eidosyam, I'm sorry I didn't read your post carefully. input1 has only ONE parameter input meaning you can only connect one parameter to it. That means input has only input1d[0] no input1d[1] or input1d[2] by default.

Of cource, you can use the melscript Vectoreffects written to force ball2.tx connect to input1d[1] (or even input1d[100]), but maya will not use it. My question to you is, what are you trying to do? Why do you neet to have ball2.tx connect to input1d[1]?
頭像
stantang
討論區主持
討論區主持
 
文章: 1566
註冊時間: 8日 11月 2001年, 08:00
來自: Groom Lake

文章h2o » 14日 7月 2005年, 02:22

1. 首先開 hypershade & outliner
2. 喺 outliner 度, select 個 object, 按住 middle mouse button, drag 去 hypershade
3. Hypershade 裡面既 object node 右下角按 left mouse button (fig.1), select "translateX"
4. 駁去 plusMinusAverage 左下角既三角形, select "input1D[n] > [0]" (fig.2)
5. 然後同樣做法, 將 sphere2 output 駁去 plusMinusAverage input - "input1D[n] > [1]" (fig.3)
6. 完成 :mrgreen:
附加檔案
plusMinusAverage3.jpg
fig.3
plusMinusAverage3.jpg (61.73 KiB) 被瀏覽 5150 次
plusMinusAverage2.jpg
fig.2
plusMinusAverage2.jpg (60.2 KiB) 被瀏覽 5150 次
plusMinusAverage1.jpg
fig.1
plusMinusAverage1.jpg (57.77 KiB) 被瀏覽 5150 次
FB
My Lab
CG guy + Researcher + Educator
頭像
h2o
討論區主持
討論區主持
 
文章: 4945
註冊時間: 7日 4月 2002年, 08:00
來自: Dark Side
外號: 水水

文章eidosyam » 14日 7月 2005年, 03:38

thank you Everybody~~~ :P
eidosyam
討論區新秀
討論區新秀
 
文章: 43
註冊時間: 4日 12月 2004年, 00:55

文章eidosyam » 14日 7月 2005年, 03:56

nothing ar..
i see a book to teach use plusminaverage to connect some shader and texture , i want to try it..
thankyou for reply
eidosyam
討論區新秀
討論區新秀
 
文章: 43
註冊時間: 4日 12月 2004年, 00:55


回到 Autodesk Maya

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 25 位訪客