particle Id ??

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 08 August 2003   #1
particle Id ??

d if I access individual particle ,how can I do?
what is different with particleId and pt[] attribute??
is that the same?
thanks.
if could have a simple example ,that would be better
 
Old 08 August 2003   #2
pt[] attribute??
 
Old 08 August 2003   #3
You should look up the setParticleAttr mel command. That should answer a lot of your questions.

--Concept4
__________________
Software Technical Director @ Animal Logic
Houdini | Maya | Renderman | Shake

There are only 10 types of people in the world: Those who understand binary, and those who don't.

http://www.astralreality.com
 
Old 08 August 2003   #4
Your post is a bit confusing but let's say that you need to read each particles ID ?
Go to particleShape's attribute editor...Scrool to render attributes section and choose "numeric" as particle render type...hit the "current render type" button and by default particleID will be written in attribute name field...now you can see each particles ID in your viewports...you can also type any attribute name to show it's numeric values...(goalU,goalV,velocity...etc)
Maya automaticly adds ID number to each new born particle and thet number can never be shared among two particles...
I don't know if this was an answer to your question but it was a try...
good luck
 
Old 08 August 2003   #5
thanks for reply.sorry for my confusing post.
now I give a example below:
setParticleAttr -at velocity particleShape1.pt[0:7] particleShape1.pt[11];
What I mean is ? in the pt[?] is the same as particleId ???
thanks .


and this
setParticleAttr -at velocity particleShape1.pt[2] -vv <<1,2,3>>
is right?
thanks
 
Old 08 August 2003   #6
What I mean is ? in the pt[?] is the same as particleId ???
thanks .


YES, it's the same..
 
Old 01 January 2006   #7
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 04:56 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.