All Questions
Tagged with graphics-programming matrix
3 questions
6
votes
1
answer
1k
views
Why bother with a separate normal matrix, if there is never non-uniform scaling on the view matrix?
I am updating one of my shaders to a version of OpenGL/GLSL that doesn't automatically provide gl_NormalMatrix (for educational purposes; I'm not ripping out ...
4
votes
1
answer
297
views
How can I approximate an "opening fan"-transformation?
Is there a way to—with matrices—transform something as if opening the image on a Japanese folding fan?
Image from Wikimedia Commons.
I'm at a loss of what to call it, so pointers towards avenues of ...
3
votes
2
answers
548
views
When constructing an orientation matrix, are the rows of the matrix the axis?
When constructing an orientation matrix, are the rows of the matrix the axis?
The matrix is row-major and I'm multiplying vectors on the right (Mv). So, the matrix looks like
...