"Mike Miller" <mil### [at] gmailcom> wrote:
> Thanks BW.
> I like that idea - using the cameras frustum shape for an inside/outside test.
> Using the cameras' hither and yon planes for space partitioning. BSP?
Nope. I'm currently too ignorant and unskilled to implement a BSP. ;)
IIRC, it was just a check to see which side of the 6 planes that bounded the
View Frustum the selected point was on. Simple. Fast.
I suppose there might be a way to convert the frustum into a signed distance
function (SDF) and do it that way. It would be slick, and then you'd have the
distance calculation integrated into each check as well.
- BW
Post a reply to this message
|