RE: accessing guide hairs control points in C++

Date : Thu, 29 Dec 2005 15:57:38 -0500
To : <XSI(at)Softimage.COM>
From : "Martin Barrette" <mbarrett(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


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.