pith. sign in

arxiv: 1703.07063 · v2 · pith:FGNF775Knew · submitted 2017-03-21 · ⚛️ physics.class-ph · physics.comp-ph

Relativity for games

classification ⚛️ physics.class-ph physics.comp-ph
keywords gamesrelativisticcomputerrelativityaccelerationsaccordingaccuratelyapproximate
0
0 comments X
read the original abstract

We present how to implement special relativity in computer games. The resultant relativistic world shows the time dilation and Lorentz contraction exactly, not only for the player but also for all the nonplayer characters, who obey the correct relativistic equation of motion according to their own accelerations. Causality is explicitly maintained in our formulation by use of the covariant velocities, proper times, worldlines, and light cones. Faraway relativistic scenes can be accurately projected onto the skydome. We show how to approximate a rigid body consisting of polygons, which is ubiquitous in computer games but itself is not a relativistically invariant object. We also give a simple idea to mimic the Doppler effect within the RGB color scheme.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.