Maya/Particles 2015. 7. 6. 01:02

Particle test.


linstep, noise, if else if else가 사용되었다.

이전 작업자의 작업파일을 보며 왜 이렇게 했을까 생각 해봤지만 난 아직 제대로된 개념도 잡혀있지 않아서

적잔히 당황했었다. 팀장님께서 설명해주셔서 어느정도는 이해했다.(크...답답한 나를 웃으며 가르쳐주셨음.ㅠㅜ)


linstep

http://download.autodesk.com/global/docs/maya2014/en_us/index.html?url=files/Useful_functions_sin.htm,topicNumber=d30e808121


Returns a value from 0 to 1 that represents a parameter’s proportional distance between a minimum and maximum value. This function lets you increase an attribute such as Opacity from 0 to 1 linearly over a time range.


음 그러니까 설명하자면, linstep(2, 3, time)이라고 예를 들자면 time의 값이 start가 5라면 2의 범위에서 벗어나므로 2, end값이 7이라면 이역시 3의 값에서 벗어나므로 3이 반환된다. 값이 2와 3안에있는 2.1, 2.2, 2.3....이라면 0또는 1의 반환한다는 말이다.


noise

http://download.autodesk.com/global/docs/maya2014/en_us/index.html?url=files/Useful_functions_sin.htm,topicNumber=d30e808121


Returns a random number from -1 to 1 according to a Perlin noise field generator.


-1과 1사이를 랜덤하게 반복해준다.


if else if else

http://blog.naver.com/jssout/220137193200


if(7 > 5)

5;

else if(3 <  5)

7;

else

3;


이런식이다. 7이 5보다 크다가 참이라면 5를 반환.

아니면 3이 5보다 작다가 참일 경우 7을 반환 둘다 아닐경우 3을 반환. 예가 좀 이상하긴 하지만 이런식의 쓰임이다.

'Maya > Particles' 카테고리의 다른 글

smoothstep함수를 이용한 particle Expression.  (0) 2015.07.14
Particle Expression Test.(linstep설명)  (0) 2015.07.13
Febreze Final.  (0) 2015.06.30
Field조절.  (0) 2015.06.25
새로배운 Function추가.  (0) 2015.06.14