Stereoskopisk visualisering av effekter från den speciella relativitetsteorin
Examensarbete för kandidatexamen
Eriksson, Axel Martin
This report presents a bachelor's project where the aim has been to create programs and graphical models to visualize effects of the special theory of relativity. The completed visualization is in the form of a film in first person, stereoscopic 3D. The film is set in a city, including moving vehicles. Autodesk Maya, which is a graphical 3D modelling tool, has been used to model the city and the vehicles. To implement the relativistic effects, programming has been undertaken in both Python and C++. The latter has been used to write custom made shaders, a particular kind of code instructions, for mental ray which is an image processor integrated into Maya. Examples of relativistic effects that are shown in the project are that vehicles get shortened along the direction of motion, houses appear curved at high velocities, colours change and wheel spokes are bent. Due to the finite velocity of light, the light emitted from the rear end of a vehicle passing by will take longer time to reach the eye of an observer than the light from the near end of the vehicle. This gives the vehicle a skewed appearance. Another effect related to the finite velocity of light is that vehicles that are approaching at an angle to the observer will appear to be closer than the line of motion of the vehicle. This is an entirely stereoscopic effect that exists due to the distance between the observer's eyes. The visualisations of the project are intended to be used both as inspirational material for anyone interested in physics and as a complement to traditional teaching of special relativity.
Grundläggande vetenskaper , Relativitetsteori, gravitation , Basic Sciences , Theory of relativity, gravitation