Sign in to follow this  

Visible-to-camera points of a 3d model

This topic is 4859 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello guys, I have a 3d object in terms of points and triangles and a camera. I want to get the points that are visible to the camera. I had an idea which is: I take every point of the model one by one and, together with the position of the camera, construct a line. Then I check this line with every triangle of the model. If there is intersection with at least one triangle, then the point is not visible to the camera, else it lies on the visible-to-camera surface of the model. I think that it is right, does anybody has any objection? Is there any other better way? I think that the above solution will be slow. I am sure that this problem is already solved in game programming so there may be optimized solutions. I heard something about z-buffering or ray-tracing but I don't know what they are exactly about. Thank you for any suggestions

Share this post


Link to post
Share on other sites

This topic is 4859 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this