Original Post
i want to get the view ray of the current camera. i use gluLookAt followed by several glTranslates and glRotates. i now want to get my current "view ray". i thought on something like the vector from eye into eye-look-direction. pos = eyePos + eyeDir*t ---- as line equation. i am just unable to figure out the coefficients. i know modelview matrix but i just cant figure it out.... :-(( in the end i need it for intersection test to get screen coordinates to world coordinates.


