<div dir="ltr">Hi again,<div><br></div><div>Clearly an error in my side. Sorry for the noise :(.</div><div><br></div><div>Cheers. </div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-04 14:48 GMT+02:00 Jordi Torres <span dir="ltr"><<a href="mailto:jtorresfabra@gmail.com" target="_blank">jtorresfabra@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div class="h5">El 4 oct. 2017 2:31 p. m., "Robert Osfield" <<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>> escribió:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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_8597943465684218879m_4219518113631785641m_1772974355003430631gmail-yj6qo m_8597943465684218879m_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/OpenSc<wbr>eneGraph-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></div></div>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jordi Torres<br><br><br></div></div>
</div>