Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


What is the inside of a plane?

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

A plane is defined by 3 points. Using these three points we can make a face nornmal by taking the cross product of the two vectos that join them. I already have this up and running in my lighting system. For the purposes of building a frustum, if i create a plane then want to say that a certain direction is the ''inside'' how do I do that? A frustum should have all it''s normals pointing inside. How do you make that happen? Thanks Chris

Share this post

Link to post
Share on other sites

When you calculate the two vectors you must subtract the points in the right order. If you subtract them in counter-clock-wise order then your normal vectors should point to the inside of your frustum, assuming you were inside the frustum when you determined the order.

Hope this helpes


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!