Jump to content
  • Advertisement
Sign in to follow this  
Nevadaes

Extracting frustum planes without matrices

This topic is 2613 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 everyone,

I'm making a raytracer with a bunch of friends and I'm currently in the process of implementing a view frustum so we can cull objects for the primary ray. The thing is that we are not working with matrices at all, so we are only using the right, up and look vector for all our calculation.

I would like to know how to extract the 6 frustum planes with only those 3 vectors and the screen ratio, camera position, etc. but without any view*projection matrix.

Thanks in advance for your answer.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!