Giter Site home page Giter Site logo

gr_in_vr's Introduction

Black Holes in VR

Project using the Gradus package in Julia to display black holes using virtual reality.

Trajectory of the observer is pre-computed using the Gradus package, and then passed to Unity, which will display the scenario in VR.
This project is designed for use on High Performance Computing (HPC) systems.

Docs

The documentation for this project can be found on GitHub Pages, here.

Repository Structure

๐Ÿ’ซ GR_in_VR/final_simulations/
Contains the output simulations for Schwarzschild and Kerr black holes, as well as a Morris-Thorne wormhole.
๐Ÿ’ซ GR_in_VR/project/src/pre_computation/
Code to generate the simulation, including test images and test simulations.
๐Ÿ’ซ GR_in_VR/project/src/accretion_disk/
Process files for modelling the accretion disk.
๐Ÿ’ซ GR_in_VR/project/src/batch_scripts/
Shell script files for running code on HPC.
๐Ÿ’ซ GR_in_VR/project/src/sysimage/
Code to generate sysimage using the PackageCompiler package.
๐Ÿ’ซ GR_in_VR/project/src/VR/
C# code for running the simulation on VR headset with Unity.
๐Ÿ’ซ GR_in_VR/project/post_processing/
Code for colourising images and compiling it into a video.
๐Ÿ’ซ GR_in_VR/project/runner_files/
Runner files for use with the batch scripts on HPC systems.
๐Ÿ’ซ GR_in_VR/project/test_frames/
Miscellaneous frames used in the test code.
๐Ÿ’ซ GR_in_VR/project/vr_files/
Files to set up Unity Hub for runningthe simulation.\

Installation

This project relies heavily on the Gradus package which, in turn, relies on aspects of the AstroRegistry AstroRegistry. The AstroRegistry can be added as follows:

julia>] registry add https://github.com/astro-group-bristol/AstroRegistry

and then Gradus can be added by running:

julia>] add Gradus
julia> using Gradus

Loading Julia using the command line flag

--project="project"

will load in the necessary packages alongside this.

The repository can then be cloned to your local machine as usual using git clone.

gr_in_vr's People

Contributors

raichkel avatar joel-oscar-mills avatar fjebaker avatar

Stargazers

Arianna Margetts avatar  avatar Andy Young avatar

Watchers

Andy Young avatar  avatar  avatar

gr_in_vr's Issues

Generating Series of Equirectangular Images

Generating the images to be used as part of the .mp4. This doesn't have to initially be acccurate with textures/colours, just looking at how best to generate images along a trajectory.

Tasks for this:

  • decide on a trajectory/range of trajectories
  • look at the equirectangular images file and generate some example images
  • devise a way of parallelising this - embarrasingly parallel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.