-----Original Message-----
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM]On Behalf Of kim aldis
Posted
At: Thursday, December 29, 2005 5:32 PM
Posted To:
xsi
Conversation: accessing guide hairs control points in
C++
Subject: RE: accessing guide hairs control points in
C++
and there's always 13 points to each guide and you have
to do some tricksy stuff to get the base point of each guide from the
emitter geometry because it's not in the hair prim.
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] On Behalf Of Martin
Barrette
Sent: 29-December-2005 20:58
To:
XSI(at)Softimage.COM
Subject: RE: accessing guide hairs control
points in C++
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