[scripting] finding source vertex of a hair strand

Date : Fri, 04 Aug 2006 14:05:10 -0700
To : XSI_MailingList <XSI(at)Softimage.COM>
From : Greg Smith <greg(at)stanwinston.com>
Subject : [scripting] finding source vertex of a hair strand
I'm running into a little bit of a problem with hair. I've been trying
to figure out what is the best way to find what vertex a hair strand is
emitted from, since there doesn't seem to be a straight forward approach
in the first place. What has worked for me up to this point is using the
GetClosestLocations method from the hair emitter object, using the
position data from the first point on each strand of hair. this work if
your hair is projecting out perfectly perpendicular. However, in cases
where the hair is styled and the first point of the hair strand resides
closer to a neighboring vertex on the emission object, the method does
not return the desired positional data.
So I am curious is there indeed a way to fetch which vertex a hair
strand is emitted from regardless of how that hair has been styled.

Thanks, 

Greg

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.