  | | | line intersection call? | line intersection call? 2005-03-21 - By lyn Caudle
Back Hello, I've seen a few samples via scripted operators with static inputs, but is there any built in methods in the SDK for line/plane intersection? What I really need is a call that given a ray (position and dir vector) and an object will return a surface position and possibly normal if the ray intersects the object, other wise null/false, etc... Any help would be greatly appreciated. Thanks, Lyn Caudle Visual Effects Swiss Army Knife JANIMATION INC. www.janimation.com <http://www.janimation.com/> Sarcasm is just one more free service we offer.
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas -microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 10"> <meta name=Originator content="Microsoft Word 10"> <link rel=File-List href="cid:filelist.xml@(protected)"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--> <style> <!-- /* Font Definitions */ @(protected) {font-family:"Arial Narrow"; panose-1 (See http://ose-1.ora-code.com):2 11 5 6 2 2 2 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:647 0 0 0 159 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";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} span.EmailStyle17 {mso-style-type:personal-compose; mso-style-noshow:yes; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:windowtext;} span.msoautosig0 {mso-style-name:msoautosig;} @(protected) 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 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} </style> <![endif]--> </head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt;mso-no-proof:yes'>Hello,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt;mso-no-proof:yes'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt;mso-no-proof:yes'>I’ve seen a few samples via scripted operators with static inputs, but is there any built in methods in the SDK for line/plane intersection? What I really need is a call that given a ray (position and dir vector) and an object will return a surface position and possibly normal if the ray intersects the object, other wise null/false, etc… <span style='mso-spacerun:yes'> </span>Any help would be greatly appreciated.<o :p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt;mso-no-proof:yes'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt;mso-no-proof:yes'>Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt;mso-no-proof:yes'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt;mso-no-proof:yes'><o:p> </o:p></span></font></p>
<!--StartFragment -->
<p class=MsoNormal><span class=msoautosig0><span align=left><font size=3 color=navy face="Arial Narrow"><span style='font-size:12.0pt;font-family:"Arial Narrow"; color:navy;mso-no-proof:yes'>Lyn </span>Caudle<br> Visual Effects Swiss Army Knife<br> JANIMATION INC. <br> <a href="http://www.janimation.com/"><font size=2><span style='font-size:10.0pt; mso-bidi-font-family:Arial'>www.janimation.com </span></font></a><br> Sarcasm is just one more free service we offer.</span></font></span><span style='mso-no-proof:yes'> </span><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
|
|
|