How can I check if an object is in FOV and not occluded?

Hey all,

I’d like to check if certain objects are visible on-screen (in the field of view and not occluded). Is there a simple solution for this?

Any help would be appreciated.

Thanks,
Logan

No, there’s not a simple solution. There are lots of different partial solutions or complicated solutions, though.

The simplest of the partial solutions is probably the method Camera.isInView(). Try searching the forums for “isInView”.

David

The best algorithm would be along the lines of openGL select buffer stuff
“render every thing in black into a texture, only render your object in red, then sample that texture to find any red in it”