Original Post
Okay, I think I have the basics of a ray tracer implemented but I am unsure how to get from a pixel coordinate to an world coordinate for all my points. I'm using OpenGL for this so there might be a function which does this but I'm not sure how well it would work with movement. I have a Camera class which has its position, direction and spherical polar coordinates for its latitude and longtitude if this helps. I don't really have much idea with this or my maths is correct so would appreciate any help you could give me. Neutrinohunter