https://github.com/hxndev/3d-solar-system-scene-using-opengl
This was my Computer Graphics' project. In this i used OpenGL and Glut to create a 3D Solar System Scene. Its without textures and wrapping. Just the most basic functionalities.
https://github.com/hxndev/3d-solar-system-scene-using-opengl
3d code computer-graphics computer-graphics-opengl computer-graphics-project cpp glut glut-library graphics opengl solar-system
Last synced: 3 months ago
JSON representation
This was my Computer Graphics' project. In this i used OpenGL and Glut to create a 3D Solar System Scene. Its without textures and wrapping. Just the most basic functionalities.
- Host: GitHub
- URL: https://github.com/hxndev/3d-solar-system-scene-using-opengl
- Owner: HxnDev
- License: mit
- Created: 2021-08-15T07:29:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-15T07:30:59.000Z (about 4 years ago)
- Last Synced: 2025-05-07T13:48:38.520Z (5 months ago)
- Topics: 3d, code, computer-graphics, computer-graphics-opengl, computer-graphics-project, cpp, glut, glut-library, graphics, opengl, solar-system
- Language: C++
- Homepage:
- Size: 86.9 KB
- Stars: 13
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 3D Solar System Scene
This was my project from the sixth semester of course Computer Graphics.## 1 Instructions
### 1.1 Installing libraries on Linux (Ubuntu)
You can install libraries either from the Ubuntu software center or from command line. We recommend command line and provide the file “install-libraries.sh” to automate the complete installation procedure. To install libraries:1. Simply run the terminal and go to directory which contains the file
downloaded file “install-libraries.sh”.
bash install-libraries.sh2. Run the command
3. Provide the password and wait for the libraries to be installed. If you get an error that libglew1.6-dev cannot be found, try installing an older version,sudo apt-get install libglew1.5-dev
such as libglew1.5-dev by issuing following on command line4. If you have any other flavour of Linux. You can follow similar procedure to
install “OpenGL” libraries.### 1.2 Compiling and Executing
To compile the game (skeleton) each time you will be using “g++”. However to automate the compilation and linking process we use a program “make”. Make takes as an input a file containing the names of files to compile and libraries to link. This file is named as “Makefile” in the game folder and contains the detail of all the libraries that game uses and need to linked.So each time you need to compile and link your program (game) you will be
simply calling the “make” utility in the game directory on the terminal to perform
make
the compilation and linking.
That’s it if there are no errors you will have your game executable (on running you will see three shapes on your screen). Otherwise try to remove the pointed syntax errors and repeat the make procedure.