You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it is now, we have orthogonal projection (via Transform#project2D) and frustum projection (via Transform#project3D), but it would be nice to have perspective projection as well. This can be done by using GLM, which also adds other transform and matrix related functions like lookAt (which can use 2D or 3D vertices). It's written in C++, but in my experience, it works reasonably well with plain C.
The text was updated successfully, but these errors were encountered:
Actually scratch that, project3D is technically perspective (using FOV, aspect, and near/far values), frustum projection would be using left, right, top, bottom, near, and far planes.
fatcerberus
changed the title
Perspective projection
Add API for frustum-based projection
Jun 3, 2024
As it is now, we have orthogonal projection (via
Transform#project2D
) and frustum projection (viaTransform#project3D
), but it would be nice to have perspective projection as well. This can be done by using GLM, which also adds other transform and matrix related functions like lookAt (which can use 2D or 3D vertices). It's written in C++, but in my experience, it works reasonably well with plain C.The text was updated successfully, but these errors were encountered: