[no subject]

CRenderHairAccessor rha =3D myHairPrim.GetRenderHairAccessor( 10000, 1000=
 );
=85

But I can=92t figure out how to get only the guide hairs=85
Can anyone help clarify how I can access those?

Thanks!


Mathieu Leclaire
R&D Programmer
Hybride Technologies

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf O=
f
Andrew Skowronski
Sent: Friday, December 30, 2005 11:08 AM
To: XSI(at)Softimage.COM
Subject: RE: accessing guide hairs control points in C++

There are a few tips here and I just added a few examples that I had thou=
ght
made it into the reference but which I can't find there!

http://softimage.wiki.avid.com/index.php/Hair_%28XSISDK%29

However it would be cool if someone could add some information about how =
to
find the base point for each guide hair, as mentioned by Kim below.

-Andrew
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf O=
f
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 tricks=
y
stuff to get the base point of each guide from the emitter geometry becau=
se
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=92m doing a custom operator and I need to access the guide hairs contro=
l
points positions. From what I can see from the C++ API, there=92s the
HairPrimitive from whom we can access the CRenderHairAccessor but that=92=
s the
information of all the rendered hairs. I have to loop through every hair
points to make proximity calculations. I just don=92t need to loop throug=
h
every hair, I just want to access the guide hairs to optimize the process=
.
But I can=92t 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

------=_NextPart_000_011B_01C615EF.B7FC7360
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml(at)01C615EF.B5C76AF0">
<link rel=3DEdit-Time-Data href=3D"cid:editdata.mso(at)01C615EF.B5C76AF0">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Revision>1</o:Revision>
  <o:TotalTime>22</o:TotalTime>
  <o:Created>2005-12-29T20:32:00Z</o:Created>
  <o:Pages>2</o:Pages>
  <o:Words>372</o:Words>
  <o:Characters>2125</o:Characters>
  <o:Company>Hybride Technologies</o:Company>
  <o:Lines>17</o:Lines>
  <o:Paragraphs>4</o:Paragraphs>
  <o:CharactersWithSpaces>2609</o:CharactersWithSpaces>
  <o:Version>9.3821</o:Version>
 </o:DocumentProperties>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
(at)font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:553679495 -2147483648 8 0 66047 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-language:HE;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-language:HE;}
span.EmailStyle18
	{mso-style-type:personal;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:navy;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	mso-ansi-font-size:10.0pt;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:#993366;}
(at)page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1"/>
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dblue =
style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Yeah, for scripting, that&#8217;s the way to go but I&#8217;m =
writing a C++ custom
operator and I need to access it in C++. Maybe I&#8217;m missing =
something but there&#8217;s
no Geometry property from a HairPrimitive in =
C++.<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><span =
class=3DEmailStyle19><font
size=3D2 color=3D"#993366" face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>InputPort
inPort(op.GetPort(L&quot;Inhair&quot;,L&quot;Group_1&quot;,0));<o:p></o:p=
></span></font></span></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><span =
class=3DEmailStyle19><font
size=3D2 color=3D"#993366" face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>HairPrimitive myHairPrim( inPort.GetValue() =
);<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>From there I can access all rendered hairs but not the guide =
hairs:<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><span =
class=3DEmailStyle19><font
size=3D2 color=3D"#993366" face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>CRenderHairAccessor rha =3D
myHairPrim.GetRenderHairAccessor( 10000, 1000 =
);<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal style=3D'text-indent:.5in'><span =
class=3DEmailStyle19><font
size=3D2 color=3D"#993366" face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>&#8230;<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>But I can&#8217;t figure out how to get only the guide =
hairs&#8230; <o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Can anyone help clarify how I can access =
those?<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Thanks!<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Mathieu Leclaire<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>R&amp;D Programmer<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>Hybride Technologies<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal><span class=3DEmailStyle19><font size=3D2 =
color=3D"#993366"
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></span></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblack
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> =
owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM]<b><span style=3D'font-weight:bold'>On =
Behalf Of </span></b>Andrew
Skowronski<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, December =
30, 2005
11:08 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> XSI(at)Softimage.COM<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: accessing =
guide hairs
control points in C++</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><![if =
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;mso-bidi-language:=
AR-SA'>There
are a few tips here and I just added a few examples that I had thought =
made it
into the reference but which I can't find there!</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext;mso-bidi-language:
AR-SA'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;mso-bidi-language:
AR-SA'>&nbsp;</span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;mso-bidi-language:=
AR-SA'><a
href=3D"http://softimage.wiki.avid.com/index.php/Hair_%28XSISDK%29";>http:=
//softimage.wiki.avid.com/index.php/Hair_%28XSISDK%29</a></span></font><f=
ont
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext;mso-bidi-language:
AR-SA'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;mso-bidi-language:
AR-SA'>&nbsp;</span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;mso-bidi-language:=
AR-SA'>However
it would be cool if someone could add some information about how to find =
the
base point for each guide hair, as mentioned by Kim =
below.</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext;mso-bidi-language:
AR-SA'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;mso-bidi-language:
AR-SA'>&nbsp;</span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;mso-bidi-language:=
AR-SA'>-Andrew</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext;mso-bidi-language:
AR-SA'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt;
margin-left:1.0in'><font size=3D2 color=3Dblack face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:black;mso-bidi-language:AR-SA'>-----Origi=
nal
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> =
owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM]<b><span style=3D'font-weight:bold'>On =
Behalf Of </span></b>kim
aldis<br>
<b><span style=3D'font-weight:bold'>Posted At:</span></b> Thursday, =
December 29,
2005 5:32 PM<br>
<b><span style=3D'font-weight:bold'>Posted To:</span></b> xsi<br>
<b><span style=3D'font-weight:bold'>Conversation:</span></b> accessing =
guide
hairs control points in C++<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: accessing =
guide hairs
control points in C++</span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in'><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue;mso-bidi-language:AR-SA'>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&nbsp;from the emitter geometry because it's not in =
the hair
prim.</span></font><font color=3Dblack><span =
style=3D'color:black;mso-color-alt:
windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in'><font size=3D3 color=3Dblack face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:black;mso-bidi-language:AR-SA'><![if =
!supportEmptyParas]>&nbsp;<![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext;mso-bidi-language:
AR-SA'><o:p></o:p></span></font></p>


<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<div class=3DMsoNormal align=3Dcenter =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;margin-left:75.75pt;text-align:center;border:none;mso-border-left-al=
t:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font =
size=3D3
color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;
mso-bidi-language:AR-SA'>

<hr size=3D2 width=3D"100%" align=3Dcenter>

</span></font></div>


<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt;
margin-left:75.75pt;border:none;mso-border-left-alt:solid blue 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=3D2 =
color=3Dblack
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;color:black;
mso-bidi-language:AR-SA;font-weight:bold'>From:</span></font></b><font =
size=3D2
color=3Dblack face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:black;mso-bidi-language:AR-SA'> owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] <b><span style=3D'font-weight:bold'>On =
Behalf Of
</span></b>Martin Barrette<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> 29-December-2005 =
20:58<br>
<b><span style=3D'font-weight:bold'>To:</span></b> XSI(at)Softimage.COM<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: accessing =
guide hairs
control points in C++</span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:75.75pt;border:none;mso-border-left-alt:solid blue 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3D2 =
color=3Dblue
face=3D"Times New Roman"><span =
style=3D'font-size:10.0pt;color:blue;mso-bidi-language:
AR-SA'>Primitive.Geometry.Points.PositionArray will return you only the =
points
position for the guide hairs.</span></font><font color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o=
:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:75.75pt;border:none;mso-border-left-alt:solid blue 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;mso-bidi-language:
AR-SA'>&nbsp;</span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:75.75pt;border:none;mso-border-left-alt:solid blue 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3D2 =
color=3Dblue
face=3D"Times New Roman"><span =
style=3D'font-size:10.0pt;color:blue;mso-bidi-language:
AR-SA'>Cheers,<br>
Martin</span></font><font color=3Dblack><span =
style=3D'color:black;mso-color-alt:
windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:75.75pt;border:none;mso-border-left-alt:solid blue 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;mso-bidi-language:
AR-SA'><![if !supportEmptyParas]>&nbsp;<![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext;mso-bidi-language:
AR-SA'><o:p></o:p></span></font></p>


<div class=3DMsoNormal align=3Dcenter =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;margin-left:75.75pt;text-align:center;border:none;mso-border-left-al=
t:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font =
size=3D3
color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;
mso-bidi-language:AR-SA'>

<hr size=3D2 width=3D"100%" align=3Dcenter>

</span></font></div>


<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt;
margin-left:75.75pt;border:none;mso-border-left-alt:solid blue 1.5pt;
padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><b><font size=3D2 =
color=3Dblack
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;color:black;
mso-bidi-language:AR-SA;font-weight:bold'>From:</span></font></b><font =
size=3D2
color=3Dblack face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:black;mso-bidi-language:AR-SA'> owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] <b><span style=3D'font-weight:bold'>On =
Behalf Of
</span></b>Mathieu Leclaire<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, December =
29, 2005
3:56 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> XSI(at)Softimage.COM<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> accessing guide =
hairs
control points in C++</span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal =
style=3D'margin-left:75.75pt;border:none;mso-border-left-alt:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font =
size=3D2
color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy;mso-bidi-language:AR-SA'>Hi,</span></font><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:black;
mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal =
style=3D'margin-left:75.75pt;border:none;mso-border-left-alt:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font =
size=3D2
color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy;mso-bidi-language:AR-SA'>&nbsp;</span></font><font size=3D2
color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:black;mso-color-alt:windowtext;mso-bidi-language:AR-SA'><o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal =
style=3D'margin-left:75.75pt;border:none;mso-border-left-alt:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><font =
size=3D2
color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;
font-family:Arial;color:navy;mso-bidi-language:AR-SA'>I&#8217;m doing a =
custom
operator and I need to access the guide hairs control points positions. =
From
what I can see from the C++ </span></font><font size=3D2 color=3Dnavy =
face=3DArial><span
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial;col=
or:navy'>API</span></font><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial;color:navy;mso-bidi-language:AR-SA'>, =
there&#8217;s the </span></font><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial;color:navy'><a =
href=3D"classXSI_1_1HairPrimitive.html#a0"><font
color=3Dnavy><span style=3D'color:navy'>HairPrimitive</span></font></a> =
from whom
we can access the <a href=3D"classXSI_1_1CRenderHairAccessor.html"><font
color=3Dnavy><span =
style=3D'color:navy'>CRenderHairAccessor</span></font></a> but
that&#8217;s the information of all the rendered hairs. I have to loop =
through every
hair points to make proximity calculations. I just don&#8217;t need to =
loop through
every hair, I just want to access the guide hairs to optimize the =
process. But
I can&#8217;t find where to access only those. Can anyone help me figure =
out how to
access that information?</span></font><font size=3D2 color=3Dblack =
face=3DArial><span
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial;col=
or:black;
mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-left:75.75pt;border:none;mso-border-left-alt:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><span
class=3DEmailStyle18><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>&nbsp;<o:p></o:p></sp=
an></font></span></p>

<p class=3DMsoNormal =
style=3D'margin-left:75.75pt;border:none;mso-border-left-alt:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><span
class=3DEmailStyle18><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Thanks<o:p></o:p></sp=
an></font></span></p>

<p class=3DMsoNormal =
style=3D'margin-left:75.75pt;border:none;mso-border-left-alt:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><span
class=3DEmailStyle18><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>&nbsp;<o:p></o:p></sp=
an></font></span></p>

<p class=3DMsoNormal =
style=3D'margin-left:75.75pt;border:none;mso-border-left-alt:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><span
class=3DEmailStyle18><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Mathieu =
Leclaire<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal =
style=3D'margin-left:75.75pt;border:none;mso-border-left-alt:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><span
class=3DEmailStyle18><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>R&amp;D =
Programmer<o:p></o:p></span></font></span></p>

<p class=3DMsoNormal =
style=3D'margin-left:75.75pt;border:none;mso-border-left-alt:
solid blue 1.5pt;padding:0in;mso-padding-alt:0in 0in 0in 4.0pt'><span
class=3DEmailStyle18><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Hybride =
Technologies<o:p></o:p></span></font></span></p>

</div>

</div>

</body>

</html>

------=_NextPart_000_011B_01C615EF.B7FC7360--



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