Sorry if my question requires clarification. I am having trouble conveying exactly what my problem is.
I'm trying to code a ray tracer that works in curved spacetime. In principle, this just entails specifying the metric, calculating the Christoffel symbols, and solving the geodesic equation for the paths the rays of light trace from the camera. However, I'm running into a potential problem.
The issue has to do with the fact that we need to be in the camera's frame of reference before doing the raytracing (I think), since we need to ensure that the rays of light are traced to the appropriate places on the viewing plane and at the appropriate times, according to what the camera would actually see: the times and relative locations at which photons hit the camera depend on what frame we are in, due to loss of simultaneity and length contraction of the viewing plane (in GR, time also works differently in different parts of spacetime due to gravitational effects). For example, two photons that might hit the camera simultaneously in one frame might hit at different times in another and separated by a different distance.
If we were working in special relativity, it would be as simple as Lorentz transforming into a frame moving with the camera before performing the raytracing, but in GR, I am not sure that there even is a corresponding coordinate transformation, since we lack a sense in which we can attach a coordinate system to a local frame of reference. So how can I ensure the image produced on the viewing plane is actually accurate to what the camera would see?
Am I creating a problem where there is none? Could I actually perform the raytracing in an arbitrary coordinate system and get the correct visualization? If yes, how can I be convinced of this?