<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi, Oliveira,</div><div><br></div><div>there maybe many reasons that why no intersection. I cannot give you advise without more information. u can check about examples within OSG source code, e.g. "osgintersection".</div><br><div style="position: relative; zoom: 1;">--<br><div>Cheers, </div><div>---</div><div>TianZJ</div></div><br><br><div style="position:relative;zoom:1"><br><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><br>At 2017-01-03 17:55:02, "Bruno Oliveira" <<a href="mailto:bruno.manata.oliveira@gmail.com">bruno.manata.oliveira@gmail.com</a>> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr"><div>Hi TianZJ, Thanks for the quick answer.<br><br></div>I checked the intersector, but intersector->getIntersections() returns no intersections at all.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-03 9:32 GMT+00:00 tianzjyh <span dir="ltr"><<a href="mailto:tianzjyh@126.com" target="_blank">tianzjyh@126.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi, Oliveira,</div><div>    You can check the intersections of your intersector(e.g. LineSegmentIntersector::<wbr></wbr>Intersection), and you will find they contain an "osg::NodePath", which means the whole path of the node(e.g. matrix transform nodes upon the drawable instance).</div><br><br><div style="zoom:1">--<br><div><br></div><div><br></div><div>Cheers, </div><div>---</div><div>TianZJ</div><div style="clear:both"></div></div><div><div class="h5"><div id="m_-8612543425400104483divNeteaseMailCard"></div><br>At 2017-01-03 16:58:16, "Bruno Oliveira" <<a href="mailto:bruno.manata.oliveira@gmail.com" target="_blank">bruno.manata.oliveira@gmail.<wbr></wbr>com</a>> wrote:<br> <blockquote id="m_-8612543425400104483isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr"><div><div>Hello,<br><br></div>I'm implementing a draw instanced optimized scene. This is for drawing a set of polygons. <br><br></div><div>Previously I was creating a drawable for each polygon, but now I am using draw instancing. With one drawable per polygon I can easily use osg intersectors for computing scene intersections. But how can I perform scene intersections with draw instanced objects and get, for instance, intersected instance IDs?<br><br></div></div>
</blockquote></div></div></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr></wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr></wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr></wbr>org/listinfo.cgi/osg-users-<wbr></wbr>openscenegraph.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div><br><br><span title="neteasefooter"><p> </p></span>