<div dir="auto">Hi robert,<div dir="auto"><br></div><div dir="auto">Thanks for your input, maybe the error is in my side. I will try to provide a minimal repro case.</div><div dir="auto"><br></div><div dir="auto">Thanks!</div></div><div class="gmail_extra"><br><div class="gmail_quote">El 4 oct. 2017 2:31 p. m., "Robert Osfield" <<a href="mailto:robert.osfield@gmail.com">robert.osfield@gmail.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Jordi,<br><div class="gmail_extra"><br><div class="gmail_quote">On 4 October 2017 at 10:49, Jordi Torres <span dir="ltr"><<a href="mailto:jtorresfabra@gmail.com" target="_blank">jtorresfabra@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry I sent the mail without finishing it. <div><br></div><div>As I was saying...</div><span><div><br></div><div><div style="font-size:12.8px">In previous versions it was some code checking that. </div><div class="m_4219518113631785641m_1772974355003430631gmail-yj6qo m_4219518113631785641m_1772974355003430631gmail-ajU" style="font-size:12.8px"></div></div></span><div><a href="https://github.com/openscenegraph/OpenSceneGraph/blob/OpenSceneGraph-3.4/src/osgUtil/PolytopeIntersector.cpp#L300" target="_blank">https://github.com/openscenegr<wbr>aph/OpenSceneGraph/blob/<wbr>OpenSceneGraph-3.4/src/osgUtil<wbr>/PolytopeIntersector.cpp#L300</a><br></div><div><br></div><div>Am I missing something?</div><div></div></div></blockquote><div><br></div><div>The new implementation works differently, it aims to take an input polygon (the triangle as three src vertices) and trims this successively by clipping it against each plane of the polytope. If all the vertices are clipped away then there is nothing left of the original polygon to intersect with so returning false at this point is appropriate.</div><div><br></div><div>Is there a specific problem you've come across or are you just trying to compare code before and after?<br></div><div><br></div><div>Robert.<br></div><div><br></div></div><br></div></div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<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>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
<br></blockquote></div></div>