C++ plotting utility using OpenGL 2.0 for 3D drawing.
Basic functionality is as follows:
Define functions of the form
f: R^2 -> R
Define a grid for the domain of the function
X = [a,b] Y = [c,d] D = X x Y
- Boost C++ Libraries (Program Options specifically)
- OpenGL 2.0 (freeglut)
- SFML
To install the above libraries, run the following shell commands on linux (Ubuntu)
sudo apt-get install libsfml-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev
Or all together as
sudo apt-get install libsfml-dev libboost-all-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev
The compilation of this program has been put into a Makefile, adding modules to the program will need to be reflected in the Makefile for proper compilation and linking. The following command will invoke the Makefile and when completed, start the program.
make && ./plot