Sign in to follow this  

Extending to infinity

This topic is 3500 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

I was reading about shadow volumes on Wikipedia and there was something I don't quite understand. Near the end of the article in the "Optimization" section the article says: "accompanied by a viewing frustum that has a far clipping plane that extends to infinity". How can I have a far clip plane that extends to infinity? Does this just mean use a really really far clip plane and pretend it's infinity?

Share this post


Link to post
Share on other sites
that just means the far plane is not used for cliping.
you can do this by modifying the projection matrix (playing with homogeneous coordinates).
more infos here : http://www.terathon.com/gdc07_lengyel.ppt

Share this post


Link to post
Share on other sites
It's very easy, grab the standard projection matrix formula and compute it's limit when the distance to the far plane approaches infinity. It's usually not a good idea to do this though, because it greatly reduces your effective z-buffer resolution.

Share this post


Link to post
Share on other sites

This topic is 3500 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