Math behind Glu.UnProject

Started by
0 comments, last by swiftcoder 8 years, 2 months ago

Hello, Can someone explain me the math behind Glu.Unproject, just to know how it works and to get better in math for 3d games, Thanks

Advertisement

The man page has a pretty comprehensive breakdown of the math, but in layman's terms, it converts the input points for window space to clip space using the viewport bounds, and then multiplies the resulting point by the inverse of the (model * projection) matrix.

Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

This topic is closed to new replies.

Advertisement