What is the inside of a plane?
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
Hello
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
Osku
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
Osku
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement