Set of OpenGL programs experimenting the OpenGL library using Python and C++.
Refrences, tutorials, links, articles & videos used to make all the programs in this repo. Each reference is assigned a unique code and will be commented in the program. So that everyone can search and find references from the refernce page easily.
Reference page: https://github.com/naseemshah/OpenGLlabs/blob/master/Refrences/README.md
Each program is logged as they are committed. Use this section to find programs easily. (Latest first).
-
Description: A program to draw a line using Mid-point Line Algorithm
- Language: Python
- Dependencies:
- PyOpenGL
- GLUT
- Directory: /L106.py
-
Description: A program to draw a line using Bresenham Algorithm
- Language: Python
- Dependencies:
- PyOpenGL
- GLUT
- Directory: /L105
- Main file: bresenham.py
-
Description: A program to draw a line using DDA
- Language: Python
- Dependencies:
- PyOpenGL
- GLUT
- Directory: /L104
- Main file: dda.py
-
Description: A program to draw a line from 3 Lines of choice:
Option 1 : Horizontal Line - ask for X-coordinate range and specific Y-coordinate and plot the line. Option 2 : Vertical Line - ask for specific X-coordinate and Y-coordinate range and plot the line. Option 3 : Diagonal Line - ask for inputs for example : the input : 5, 10; should plot the line (5,5) (6,6) (7,7) (8,8) (9,9) (10,10).
- Language: Python
- Dependencies:
- PyOpenGL
- GLUT
- Directory: /L103
- Main file: 3lines.py
-
Description: A program to draw a square with a specific color.
- Language: Python
- Dependencies:
- PyOpenGL
- GLUT
- Directory: /L101
- Main file: square.py
-
Description: A program to plot an origin point.
- Language: Python
- Dependencies:
- PyOpenGL
- GLUT
- Directory: /L100
- Main file: origin.py