GitXplorerGitXplorer
l

Interstellar-Wormhole-Ray-Tracing

public
9 stars
5 forks
2 issues

Commits

List of commits on branch master.
Unverified
b89d73a5a7753aad9c73a42e5b403b00dbec8364

added example images with explanation

llennrt committed 10 years ago
Unverified
4fbe6420ac94c3eeb76003566f0bac73a72c1f96

added Dneg FX sample images and 1024 division render

llennrt committed 10 years ago
Unverified
d859b2b1f4519a111e90d04bf5710a3df132af35

Added author and date header

llennrt committed 10 years ago
Unverified
d8a52a7d80704fba9dc384b1f3bb9b1e8be1f40b

Update README.md

llennrt committed 10 years ago
Unverified
f848ab5cc2fd1c33aed98626a305bccafbc91fec

Update README.md

llennrt committed 10 years ago
Unverified
bb87ab0cb63591eba83e5357e2bc31f0dc3c5a1b

Changed file format

llennrt committed 10 years ago

README

The README file for this repository.

Interstellar-Wormhole-Ray-Tracing

As part of a computational methods in physics class, my two team members and I created this Mathematica notebook which implements a ray tracing map for the light from a wormhole. Our approach was based on the paper by Kip Thorne et al. (http://arxiv.org/abs/1502.03809)

We have implemented parallelized and nonparallelized versions of the raytracing computation. The parallelized version leverages Mathematica's ParallelTable.

To run the notebook, place files named "GargantuaSide.jpg" and "SaturnSide.jpg" in the same directory as the notebook file. These images will represent the two sides of the wormhole. To increase the accuracy of the algorithm at the cost of increased computation time, make the division size smaller in the ray-trace computation. For example, change the two instances of 512 in CreateMap to 1024. One can adjust the location of the camera by adjusting theta_c, phi_c, and l_c. One can also adjust the wormhole's lensing width, mass, diameter, and length. These parameters are more fully described in the aforementioned paper.

One can use the images provided by Double Negative VFX (http://www.dneg.com/dneg_vfx/wormhole/) to render images which resemble the wormhole from Interstellar.

We used the following star field image and Saturn image:

With these images and our ray tracing implementation (with 1024 divisions), we obtained the following image:

This rendering simulates the perspective of a camera at the star field location looking into a wormhole which leads to Saturn.