Skip to content

JackHuynh0610/ray-marching

Repository files navigation

RayMarching

This program simulates a technique used in computer graphics, particularly in the context of rendering images, to generate realistic and complex scenes. It's especially powerful in real-time computer graphics and interactive applications. Unlike traditional rasterization techniques involving triangles and pixels, raymarching traces rays through a scene, iteratively marching along those rays to find intersection points with surfaces in a 3D environment.

Learn more about it here:

Overview 🚀

This program is written using Java and the JavaSwing library—nothing fancy. Use your mouse pad or any device that allows the cursor to move to navigate and manipulate the camera. Right/Left-click to change the perspective direction.

Prerequisites 🛠️

  • First, you'll need to have JRE to run the jar file for this program.
  • If you already have JRE installed, proceed to Getting Started section.

Check for JRE on your system:

  • For macOS and Linux:
    • Open a terminal window. Type in
       java -version
      
  • For Windows:
    • Open Command Prompt. Type in
       java -version
      

Getting Started 🚀

  • Option 1
    • Navigate to the release section in the repository. Click on RayMarching alpha.
    • Download the .jar file. Remember where you installed it, navigate to that folder, double-click on it, and then enjoy!
  • Option 2
    • Clone this repository, navigate to the jar file, and then run it. By cloning, you can explore the source code and test things out on your machine.

Troubleshoot 🛠️

  • If you have JRE installed but the program still won't run
    • Check the Environment Path. This link might be helpful.

Enjoy 🌟

RayMarch 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages