Original Post
I have a scene with lots of triangles in it. I need to make a funtion that will tell me if a triangle is visible if I give it the camera position. The function should return true if at least 1 pixel of the triangle is visible and only false if the triangle is totaly blocked. Note, I want to only pass it the camera position, not the orientation.
I''m using OpenGL, but I don''t think that it matters. Oh, and it doesn''t have to be real time
(Even better, if I pass the function a box, it would tell me if there is anyway I can see the triangle from anywhere in the box)
Thanks,
wolfman8k