Problems emitting from multiple positions stored in an array

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Post Reply
angelous4x
Posts: 133
Joined: 06 Nov 2011, 05:24
Location: new York
Contact:

Problems emitting from multiple positions stored in an array

Post by angelous4x » 03 Aug 2012, 00:57

Hello all
hope some one could help.


i have created an array of positions so i could randomly choose to emit particle from. so i get the data i have set and then plug it into an "select in array", and plug it into the "emit from position" node.

works fine but. once i plug in a "randomize" node into the index or a "module". or anything in to the index of the "select in array". nothing emits. it only works if when nothing is plugged into the index. I feel that it should work with a "randomize" node plugged in.

any reason why the randomize node plugged into the index of the select in array stops the emittion from working? and is there a work around?
Attachments
multi_pos_emit.rar
xsi scene
(137.67 KiB) Downloaded 56 times
emitt from multiple position
emitt from multiple position

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 11:02
Location: Montreal Canada
Contact:

Re: Problems emitting from multiple positions stored in an array

Post by xsisupport » 03 Aug 2012, 11:59

Yes, there is a reason why Randomize Value by Range does not work in that ICE tree. Take a look inside the Randomize compound. Hint: ID
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

angelous4x
Posts: 133
Joined: 06 Nov 2011, 05:24
Location: new York
Contact:

Re: Problems emitting from multiple positions stored in an array

Post by angelous4x » 03 Aug 2012, 22:13

Thanks steve Blair


works fine. so simple

i think i understand why it didn't work. it was looking for the point ID to randomize the value per point vs just randomizing the index.

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 11:02
Location: Montreal Canada
Contact:

Re: Problems emitting from multiple positions stored in an array

Post by xsisupport » 03 Aug 2012, 22:14

angelous4x wrote:Thanks steve Blair


works fine. so simple

i think i understand why it didn't work. it was looking for the point ID to randomize the value per point vs just randomizing the index.
Right, and the point ID did not exist at that point. You just need to use something else as the ID, like maybe NbPoints (except that you are deleting points later on) or maybe even the frame number.
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

angelous4x
Posts: 133
Joined: 06 Nov 2011, 05:24
Location: new York
Contact:

Re: Problems emitting from multiple positions stored in an array

Post by angelous4x » 05 Aug 2012, 03:41

thanks for your help. Much appreciated.

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests