[osg-users] Possible PolytopeIntersector bug?
Jordi Torres
jtorresfabra at gmail.com
Wed Oct 4 07:28:42 PDT 2017
Hi again,
Clearly an error in my side. Sorry for the noise :(.
Cheers.
2017-10-04 14:48 GMT+02:00 Jordi Torres <jtorresfabra at gmail.com>:
> Hi robert,
>
> Thanks for your input, maybe the error is in my side. I will try to
> provide a minimal repro case.
>
> Thanks!
>
> El 4 oct. 2017 2:31 p. m., "Robert Osfield" <robert.osfield at gmail.com>
> escribió:
>
>> Hi Jordi,
>>
>> On 4 October 2017 at 10:49, Jordi Torres <jtorresfabra at gmail.com> wrote:
>>
>>> Sorry I sent the mail without finishing it.
>>>
>>> As I was saying...
>>>
>>> In previous versions it was some code checking that.
>>> https://github.com/openscenegraph/OpenSceneGraph/blob/OpenSc
>>> eneGraph-3.4/src/osgUtil/PolytopeIntersector.cpp#L300
>>>
>>> Am I missing something?
>>>
>>
>> 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.
>>
>> Is there a specific problem you've come across or are you just trying to
>> compare code before and after?
>>
>> Robert.
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
--
Jordi Torres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171004/1c152f0f/attachment-0001.html>
More information about the osg-users
mailing list