Tag Info

New answers tagged

1

This is how I'd do it: Generate convex hull from all planes Note: this includes both light frustum and scene AABB planes, so there should be a total of 12 planes Note: make sure all planes have matching orientation (normal outwards or inwards - doesn't matter much but it has to be consistent across all data and functions) Intersect every three planes ...


0

I think I found answer. I inattentively read article. "Next, we map xp and yp to xn and yn of NDC with linear relationship." So, xn is linear function from xp. (http://www.mathsisfun.com/algebra/linear-equations.html) And goal is find value of xn in [-1, 1] range. Anyway I didn't understand how author find bottom projection row W (0,0,-1,0).



Top 50 recent answers are included