2009/01/08

Pstate in houdini


今天在翻help意外發現這個
總算解開多年來的一個謎(這是誇示法)

The pstate attribute is actually a “bit field”, storing several different state flags in a single value. Houdini calculates the value of pstate by adding up the following values for each flag that is on:

Flag Value
Dead 1
Stopped 2
Stuck 4
Just hit 8

For example:

Particlepstate value
Active0
Stopped2
Stopped and dead3 (2 + 1)
Stuck and just hit12 (4 + 8)

總而言之在detail view裡面監看particle的pstate的屬性
上面的號碼就是對應那些狀況的

............
以上

沒有留言:

張貼留言