[scripting] hair in xsi

Date : Wed, 10 Oct 2007 15:10:04 +0200
To : <XSI(at)Softimage.COM>
From : "peter boeykens" <peter_b(at)skynet.be>
Subject : [scripting] hair in xsi
just trying to find info on how to access hair in XSI through scripting.

references to hair in the scripting docs are scarce to say it in very diplomatic terms.

are there any hair specific objects/methods? (such as a strand, a root, a tip?)
I can access the points as one big linear collection, containing (14 x the amount of strands) points - is that all there is to it?


Isnt there an organisation per strand? (when selecting points in the UI it definitely looks like it - the points name is [strand,index on strand] - but this doesnt seem to be reflected in the pointcollection.

Is there a way to know what cluster a hair object is connected to?
and is there a direct correspondence between the index of strands (if strands have such a thing as an index?) and the indices of points in the cluster the hair is generated from?


when selecting points I could find a way to select the root point itself, so it looks like there is none as part of the hair object? (with there being 14 segments per strands and 14xthe number of strands points per hair object, it looks like the 15th point doesnt really exist!
So are the hair strands using the cluster's points as root?


And is there any way to access the render hairs rather than the guide hairs?
...
any hints appreciated

P



---
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.