To create the .jar file using Visual Studio Code:
- Clone this repository.
- Open Visual Studio Code and open the
marching_cubes
folder containing the LWJGL project. - Install Java Extension Pack and Maven for Java.
- Go to "JAVA PROJECTS" on the left and click "Export Jar...".
- Select "Main" and keep the default selected elements (14 in total).
To run the .jar file, follow these steps:
-
Make sure you have Java installed on your machine. You can check by running the following command in your terminal:
java -version
If Java is not installed, you can download and install it from the official Java website.
-
Open your terminal or command prompt and navigate to the directory where the .jar file is located.
-
Run the following command to execute the .jar file:
java -jar marching_cubes.jar
-
The application should now start running. Follow any on-screen instructions or prompts provided by the application.
Run from the Perlin Noise generator file, You can specify the size in the file before executing for both 2d and 3d noise to be generated into a png format.
Run wave collapse from the main.java file. Find it in the src file with the next algorithm.
Run Worley noise from the application.java file