Skip to content

sid-sancheti/point-sphere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Point-Sphere

This program generates a rotating point-sphere (a sphere made of points) entirely in C++. Dependencies used include GLFW3, Glad, GLM, and GLSL.

sphere-resize

Running the project

1. Git clone the project onto your machine.

https://github.com/sid-sancheti/point-sphere.git -d [/your/target/directory]

2. Setting up the environment

Ubuntu/Debian based systems

I'm not to familiar with other operating systems, but there are online resources available that can guide you through the installation process for the dependencies we need.

Install GLFW, an open-source API for displaying OpenGL code on your screen.

sudo apt update
sudo apt upgrade -y
sudo apt install libglfw3-dev

Also, install cmake and make if you haven't already

sudo apt install cmake -y
sudo apt install make -y

3. Run the project

Navigate to the project directory

cd /path/to/project/directory
mkdir build
cd build

and run cmake to generate the Makefile.

cmake ..

Run the makefile

make

and finally, run the executable

./point-sphere

Voilà, you should see a rotating sphere on your screen.

About

Creating a point sphere using a computationally efficient algorithm for placing points on a sphere.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors