Picking one out of many duplicate objects?

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 07 July 2003   #1
Picking one out of many duplicate objects?

We apply mocap to characters in our scenes. Our bone structures must be all be named the same, ie character 1 has hips->lowertorso->chest, and character 2 has hips->lowertorso->chest.

if there were only one node named "hips" i would ref it by looking for $hips... bit what if there are two nodes named "hips", how do i reference a specific one consistently? do i need to look in some kind of scene array and find an index?

any help?

ben
 
Old 07 July 2003   #2
.handle : DWORD : Read

Gets the nodeís handle. It provides a unique identifier independent from the objectís name.
__________________
Just enough to bring chaos to order
 
Old 07 July 2003   #3
thx for that... definitely works.

is there any way to select by inode.handle without looking at every object and comparing?
 
Old 07 July 2003   #4
maxOps.getNodeByHandle <number>

Returns the node associated with the id passed in.

Note: It is safer to say $box01.inode.handle than $box01.handle. This is to prevent cases where the baseobject has property called handle, like a teapot, and you get that objectís handle instead of the node handle.
__________________
Just enough to bring chaos to order
 
Old 01 January 2006   #5
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 05:14 AM.


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