title


genchansansanは今日も戦う。

2013/01/01

Copyとpointのattributes

なんだよattributeって...




"Copy"SOPの前にattributeを加えておくと、
複製された後の個々のコピー達に個性を与えられるよう。

よく使いそうな奴のみ選んでみた。


v (vector) : 速度。popを利用すれば手軽にくっついてくる。
※Nやorientがなければが前向きも決める(=N)。


N (vector) : コピーの法線.....多分、前向きを決める(+Z axis)。※orientがなければ!!
up (vector) : 上方向(+Y axis)。※orientがなければ!!
orient (float4(quaternion)) : 直訳すると「方位」.......クォータニオンなので、Nとupを両方合わせたもの?



rot (quaternion) : 上のattributeで決められたorientationを元に回転。