All Questions
Tagged with projections opengl
3
questions
9
votes
2
answers
912
views
How to unproject quadrilateral into rectangle?
tl;dr: Math problem in projective geometry: How does one find some 4x4 camera matrix that gives a projection as illustrated below, such that points A,B,C,D are somewhere on the edges of the unit box (...
3
votes
1
answer
2k
views
How to unproject cursor with orthographic projection
With perspective projection we can unproject screen space coordinates of the cursor to the near and far plane of the frustum and calculate the direction of the ray through the cursor.
...
1
vote
1
answer
783
views
How are textures projected onto 3d models in texture painting applications
In most modeling software you can texture paint onto 3d models using so called stencil textures. They basically project a texture from the viewport view onto the model as seen for instance in the ...