saisimha
Scatter Position Bug.. Positions of Points  changes every time reopen the scene :(

I made sure that all connection are right but in-case ..  attaching the file...


Reply 0 0
pshipkov
This is not a bug, but the nature of the things.
If you want to preserve the positions across maya sessions you have two options:
- "cache" the output points. The scatter node allows you to convert the point cloud into nurbs curve. If you don't want this you can dump the outPositionPP vector array into another attribute.
- the scatter node has inPositionPP attribute that allows us to predefine the primary point positions that are used later to scatter the output points. You can do something like this here: create a vector array attribute on the scatter node connect and then disconnect the outPositionPP array to that attribute. Then connect that attribute to inPositionPP.
I actually may provide you a built-in function for that and hook it to another button on the scatter node's AE template in addition to the "convert to curve" option.

Reply 0 0
saisimha
Hii.. Thank you very much for the wuick reply my friend...
but how to
Create a vector array attribute on the scatter node ??
connect and then disconnect the outPositionPP array to that attribute!!!
Then connect that attribute to inPositionPP.!!
sorry for being dummy about it. .. :( bit Confusing :D
Reply 0 0
saisimha
I tried to create a Vector Attribute .. Am i Right !!

no idea how to connect the things u said bro..

here is Scatter UI i Made using python and QT (very Basic)
http://www.youtube.com/watch?v=W9KTuBbnGrA
Reply 0 0
saisimha
pshipkov  pls explain the fix for my problem !!
Is it possible to fix it know !!!
Reply 0 0
pshipkov
look-up the addAttr - it creates dynamic attributes on nodes.
Also there is a little tool on under the "wrench" button on the SOuP shelf - something like "manage array attributes", etc.
It can create/delete/makePaintable/initializeWithValues array attributes.

Reply 0 0
pshipkov
wow, i would like to take a closer look at that thing if possible.
Reply 0 0
saisimha
hi pshipkov i sent a mail to
pshipkov at  yahoo dot com attached the script i made pls check your mail once.
Reply 0 0
Reply