Is there a way to make OpenGL transform a general vector I give it with the current modelview matrix and get the result back?
The obvious way is to query the modelview matrix and do the multiplication myself but I am almost sure there should be a way to make OpenGL do this for me.
You are right, you have to get the modelview matrix and transform the vector yourself.
For a confirm, see this link at paragraph 9.120.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With