Scrolling Large Coordinate Systems

The app I work on has a very large world. The graphics code periodically moves the origin of the graphics coordinate system to keep the area near the player close to 0,0,0. (This lets OpenGL run in floating point without precision loss.)

For 3-d sound in FMOD, can we periodically reposition -everything- (e.g. the listener and all objects at once) without artifacts (assuming we don’t incorrectly put a huge velocity value in for one frame)?

Or would we be better off keeping the listener at the origin and always positioning objects camera-relative?


You will have no artifacts as long as you dont feed the wrong delta into the velocity parameter causing a spike in doppler.

Great – thanks for the confirmation!!!