Original Post
HALLLOOOO
I am trying to implement some new ideas for 3d occlusion culling and one of them requires that I can test to see if a 2d point is within a projected (flat/2d) bounding box.
I know how to check for a point in a polygon but I don't think this is really the same as it often have redundant points in the middle.
So what I am after I suppose is an algorithm to find out if a 2d point is contained in a set of 2d points?
Anyone tried to do this or know if there is a simple solution?
Thanks.
I am trying to implement some new ideas for 3d occlusion culling and one of them requires that I can test to see if a 2d point is within a projected (flat/2d) bounding box.
I know how to check for a point in a polygon but I don't think this is really the same as it often have redundant points in the middle.
So what I am after I suppose is an algorithm to find out if a 2d point is contained in a set of 2d points?
Anyone tried to do this or know if there is a simple solution?
Thanks.