Re: [scripting] finding source vertex of a hair strand

Date : Fri, 4 Aug 2006 23:35:08 +0200
To : XSI(at)Softimage.COM
From : "guillaume laforge" <guillaume.laforge.3d(at)gmail.com>
Subject : Re: [scripting] finding source vertex of a hair strand
You will find useful information here : http://softimage.wiki.avid.com/index.php/Hair_%28XSISDK%29

Cheers


--
Guillaume Laforge
freelance TD | cg Artist


On 8/4/06, Greg Smith <greg(at)stanwinston.com> wrote:
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.