Claus,
Thank you very much.  I have seen this problem occasionally, but I had
not gotten around to looking for the problem yet.  Good work.
--
Terry Welsh
mogumbo 'at' gmail.com
www.reallyslick.com


> Hi,
>
> we have a scene where we have some osg::Shapes (circle and such) which the 
> user can "grab" with a drag operation to move objects around.
>
> When I do not check for an epsilon interval around 0.0f, I get this kind of 
> warnings:
>
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -14.1421 25 -14.1421,   -16.1803 25 -11.7557)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -16.1803 25 -11.7557,   -17.8201 25 -9.07979)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -17.8201 25 -9.07979,   -19.0211 25 -6.18032)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -19.0211 25 -6.18032,   -19.7538 25 -3.12867)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -19.7538 25 -3.12867,   -20 25 2.31862e-005)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -20 25 2.31862e-005,    -19.7538 25 3.12871)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -19.7538 25 3.12871,    -19.0211 25 6.18036)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -19.0211 25 6.18036,    -17.8201 25 9.07983)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -17.8201 25 9.07983,    -16.1803 25 11.7557)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -16.1803 25 11.7557,    -14.1421 25 14.1422)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -14.1421 25 14.1422,    -11.7557 25 16.1804)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -11.7557 25 16.1804,    -9.07978 25 17.8201)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -9.07978 25 17.8201,    -6.18031 25 19.0211)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -6.18031 25 19.0211,    -3.12866 25 19.7538)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  -3.12866 25 19.7538,    3.48886e-005 25 20)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  3.48886e-005 25 20,     3.12873 25 19.7538)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  3.12873 25 19.7538,     6.18038 25 19.0211)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  6.18038 25 19.0211,     9.07984 25 17.8201)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  9.07984 25 17.8201,     11.7557 25 16.1803)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  11.7557 25 16.1803,     14.1422 25 14.1421)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  14.1422 25 14.1421,     16.1804 25 11.7557)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  16.1804 25 11.7557,     17.8201 25 9.07978)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  17.8201 25 9.07978,     19.0211 25 6.1803)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  19.0211 25 6.1803,      19.7538 25 3.12865)
>   (-1.#IND,    -1.#IND,        -1.#IND)
> Warning:: Picked up error in TriangleIntersect
>   (0 25 1.09278e-006,  19.7538 25 3.12865,     20 25 1.09278e-006)
>   (-1.#IND,    -1.#IND,        -1.#IND)
>
>
>
> I replaced all checks against 0.0f with a check against an epsilon interval 
> around 0.0f, just to see if it solves the problem, which it did :)
>
>
> Thank you!
>
> Cheers,
> Claus
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to