Skip to content

HollowaySean/BlackHoleViz_v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlackHoleViz_v2

Black Hole Visualizer in Unity C#

For more information, see the full write-up here.

Preface - April '24

Hello! Now that I'm a couple years removed from this project, I just wanted to give a quick summary with the benefit of hindsight.

This project was originally intended to be a quick and dirty demo of relativistic ray tracing, but to my great surprise has ended up attracting the attention of many people, including many much smarter and and much more attuned with good code than I was at the time. As such, this project is greatly overdue for a rehaul, in order to make it more readable, performant, and portable. My current plan is to rebuild in C++ and OpenGL using my OpenGL helper library currently in development, BasilGL. The rehaul of the project is intended to completely divorce it from Unity, improve performance, and create more realistic models of black hole physics.

While I'm still immensely proud of how well this project worked given my experience at the time, I urge any peers and potential employers to not consider this reflective of my current coding standards, and instead take a look at the BasilGL repo for a better example.

Usage instructions

This repo is formatted to fit the Unity game engine file structure. Create a new Unity project, then add the contain folders to your project's main directory. Load the scene in ${PROJECT_DIRECTORY}/Assets/SampleScene.unity to open a preset render scenario.

About

Black Hole Visualizer in Unity C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages