PDA

View Full Version : 3d simulation of special relativity


Petroz
Aug28-07, 07:22 AM
Hi My name is Pete and this is my first post. I'm a few months away from finishing a degree in mathematics.

I'm planning to program a simulation of near light speed travel (not for school, just for personal interest). I'm looking to understand this topic better. I went to a seminar on hyperbolic geometry and discovered that at near lightspeed real space stops being quite so euclidean. I found this interesting and now i'm curious how this (and the other effects of high speeds) could be simulated.

The simulation is in the context of a game so it will have to be able to be in real-time, hence computationally inexpensive; I don't mind approximating things.

What I am most interested in is what will be observed by the player who is traveling at say 0.9c. I want to understand how will the visual aspects be distorted as one approaches lightspeed. These needn't be perfectly simulated but it would be nice to at least give the player a feeling of what traveling really fast is like.

things that i believe will happen from the perspective of spacecraft:

time distortion
Distortion of time will be done via the lorentz transformation but repositioning objects via lorentz transforms might be a bit CPU and intensive since the will be a great number of objects.

reduced in angle for the field of vision
I'm working on an angular transformation dependent on speed, i'll let you all know if i come up with anything of substance. I just need to put it into maple and find a symbolic transformation rather than a graphical one.

contraction of spacecraft
blue shift

are there other things i should be aware of? Have i gotten anything wrong/backward? Any comments/links etc. would be greatly appreciated, thankyou for your time.


-Pete

pervect
Aug28-07, 09:47 AM
You probably want to read about "Terrell rotation" then. There's a sci.physics.faq on it here (http://math.ucr.edu/home/baez/physics/Relativity/SR/penrose.html).

Searle is one of many authors who have a website about related topics. See http://www.anu.edu.au/Physics/Searle/, on the Australian National University website.

I'd say that both of the above are pretty reliable sources (if you get serious, you'll probably want to track down Terrell's original paper).

Here are some past threads on PF

http://www.physicsforums.com/showthread.php?t=124176 (check out the rolling wheels animation in particular, at http://www.spacetimetravel.org/rad/rad.html - I haven't personally investigated the technical accuracy of the website, but it looks cool)

http://www.physicsforums.com/showthread.php?t=52269

You'll probably find more. Google for Terrell (and alternate spellings, sometimes one of the r's or l's goes missing).

robphy
Aug28-07, 10:24 AM
You might be interested in http://lightspeed.sourceforge.net/ and http://www.cs.indiana.edu/~hanson/ .

Burnsys
Aug28-07, 11:16 AM
Wow! i was hoping someone made something like that! i Always wanted to see SR simulated in a 3d interactive Enviroment!

Good Luck!!

robphy
Aug28-07, 12:10 PM
Check out http://www.anu.edu.au/Physics/Savage/RTR/
which is described in the latest issue of the American Journal of Physics
http://www.anu.edu.au/Physics/Savage/publications.html#2007a ,
which just arrived in my mailbox.

Petroz
Aug29-07, 07:24 PM
Thanks for all the links, and useful information, the response has been overwhelming. I wont have a chance to really have a decent look at all this stuff until the weeekend.


-Petroz

Thrice
Sep1-07, 02:33 AM
Pretty pictures - http://www.xs4all.nl/~johanw/PhysFAQ/Relativity/SR/Spaceship/spaceship.html

Petroz
Sep1-07, 06:31 PM
Okay I've checked out the links listed and they're awesome!
I think I've got all I need for now, thankyou all for your help.

-Petroz

implicit
Sep4-07, 03:17 PM
Fantastic! Could you make the game available to the general public after you finish it? That would be superb!

Petroz
Sep4-07, 04:43 PM
Call me ambitious but my the plan for my game is to be an open sources MMO bigger than WOW and completely free. Of course there is the burden of server costs and I still haven't worked this one out. I've been thinking of trying to develop some kind of distributed servering so that the players all share the role of server but it would get messy and I haven't gotten beyond the planning stage of this project so it's hard to say how it will end.

If it gets released it wont be for at least 5 years.

-Petroz