I guess I'm VERY near from my solution.
I'm rotating my vectors by the quaternion rotation.
I included your codebox into mine and put the azimuth & elevation calculation in another codebox.
I don't know if it is a problem of vector normalization or whatever, but it still doesn't work.
Jul 14, 2012 at 4:42pm #140638