View Full Version : eye space to object space

11-10-2001, 02:33 PM

I'd like to convert coordinates from object space to eye space and back. How do I do that?

Thanks in advance,

11-10-2001, 05:30 PM
The modelview puts coords into eye space and the modelview inverse will put them back. Now normals are a little trickier than say vertices, to take a normal from eye to object space you use the inverse transpose modelview. I beleive the Red Book and the OpenGL faq on this web site talks all about this kind of thing also.