|
Primitive.Geometry.Points.PositionArray will return you only the points
position for the guide hairs.
Cheers, Martin
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] On Behalf Of Mathieu
Leclaire Sent: Thursday, December 29, 2005 3:56 PM To:
XSI(at)Softimage.COM Subject: accessing guide hairs control points in
C++
Hi,
I’m
doing a custom operator and I need to access the guide hairs control points
positions. From what I can see from the C++ API,
there’s the HairPrimitive from whom we can access the
CRenderHairAccessor but that’s the
information of all the rendered hairs. I have to loop through every hair points
to make proximity calculations. I just don’t need to loop through every hair, I
just want to access the guide hairs to optimize the process. But I can’t find
where to access only those. Can anyone help me figure out how to access that
information?
Thanks
Mathieu
Leclaire
R&D
Programmer
Hybride
Technologies
|