├── img
├── stellite.png
├── data-transmit.png
├── smart-village.png
├── 2D-House-Project.JPG
└── Chess-Board-Project.JPG
├── Box
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── Box.exe
├── Box.layout
├── main.cpp
└── Box.cbp
├── CircleDraw
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── CircleDraw.exe
├── CircleDraw.layout
├── CircleDraw.cbp
└── main.cpp
├── Basic-Shape
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── Basic-Shape.exe
├── Basic-Shape.layout
├── Basic-Shape.cbp
└── main.cpp
├── House-Project
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── House-Project.exe
├── House-Project.layout
├── House-Project.cbp
└── main.cpp
├── Moving_Object
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── moving_object.exe
├── Moving_Object.layout
├── Moving_Object.cbp
└── main.cpp
├── Bresenham-Algorithm
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── Bresenham-Algorithm.exe
├── Bresenham-Algorithm.layout
├── Bresenham-Algorithm.cbp
├── main.cpp
└── Bresenham-Algorithm.depend
├── Chess-Board-Project
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── Chess-Board-Project.exe
├── Chess-Board-Project.layout
├── Chess-Board-Project.cbp
├── main.cpp
└── Chess-Board-Project.depend
├── Line-Drawing-Algorithm
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── Line-Drawing-Algorithm.exe
├── Line-Drawing-Algorithm.layout
├── Line-Drawing-Algorithm.cbp
├── main.cpp
└── Line-Drawing-Algorithm.depend
├── Smart-Village-Project
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── Smart-Village.exe
├── Smart-Village.layout
├── Smart-Village.cbp
├── Smart-Village.depend
└── main.cpp
├── Statelite-Station-Project
├── obj
│ └── Debug
│ │ └── main.o
├── bin
│ └── Debug
│ │ └── Statelite-Station.exe
├── Statelite-Station.layout
├── Statelite-Station.cbp
├── Statelite-Station.depend
└── main.cpp
├── README.md
└── LICENSE
/img/stellite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/img/stellite.png
--------------------------------------------------------------------------------
/Box/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Box/obj/Debug/main.o
--------------------------------------------------------------------------------
/Box/bin/Debug/Box.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Box/bin/Debug/Box.exe
--------------------------------------------------------------------------------
/img/data-transmit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/img/data-transmit.png
--------------------------------------------------------------------------------
/img/smart-village.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/img/smart-village.png
--------------------------------------------------------------------------------
/img/2D-House-Project.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/img/2D-House-Project.JPG
--------------------------------------------------------------------------------
/CircleDraw/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/CircleDraw/obj/Debug/main.o
--------------------------------------------------------------------------------
/img/Chess-Board-Project.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/img/Chess-Board-Project.JPG
--------------------------------------------------------------------------------
/Basic-Shape/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Basic-Shape/obj/Debug/main.o
--------------------------------------------------------------------------------
/House-Project/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/House-Project/obj/Debug/main.o
--------------------------------------------------------------------------------
/Moving_Object/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Moving_Object/obj/Debug/main.o
--------------------------------------------------------------------------------
/CircleDraw/bin/Debug/CircleDraw.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/CircleDraw/bin/Debug/CircleDraw.exe
--------------------------------------------------------------------------------
/Basic-Shape/bin/Debug/Basic-Shape.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Basic-Shape/bin/Debug/Basic-Shape.exe
--------------------------------------------------------------------------------
/Bresenham-Algorithm/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Bresenham-Algorithm/obj/Debug/main.o
--------------------------------------------------------------------------------
/Chess-Board-Project/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Chess-Board-Project/obj/Debug/main.o
--------------------------------------------------------------------------------
/Line-Drawing-Algorithm/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Line-Drawing-Algorithm/obj/Debug/main.o
--------------------------------------------------------------------------------
/Smart-Village-Project/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Smart-Village-Project/obj/Debug/main.o
--------------------------------------------------------------------------------
/House-Project/bin/Debug/House-Project.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/House-Project/bin/Debug/House-Project.exe
--------------------------------------------------------------------------------
/Moving_Object/bin/Debug/moving_object.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Moving_Object/bin/Debug/moving_object.exe
--------------------------------------------------------------------------------
/Statelite-Station-Project/obj/Debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Statelite-Station-Project/obj/Debug/main.o
--------------------------------------------------------------------------------
/Smart-Village-Project/bin/Debug/Smart-Village.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Smart-Village-Project/bin/Debug/Smart-Village.exe
--------------------------------------------------------------------------------
/Bresenham-Algorithm/bin/Debug/Bresenham-Algorithm.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Bresenham-Algorithm/bin/Debug/Bresenham-Algorithm.exe
--------------------------------------------------------------------------------
/Chess-Board-Project/bin/Debug/Chess-Board-Project.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Chess-Board-Project/bin/Debug/Chess-Board-Project.exe
--------------------------------------------------------------------------------
/Statelite-Station-Project/bin/Debug/Statelite-Station.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Statelite-Station-Project/bin/Debug/Statelite-Station.exe
--------------------------------------------------------------------------------
/Line-Drawing-Algorithm/bin/Debug/Line-Drawing-Algorithm.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ruhulaminparvez/OpenGL/HEAD/Line-Drawing-Algorithm/bin/Debug/Line-Drawing-Algorithm.exe
--------------------------------------------------------------------------------
/Box/Box.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Basic-Shape/Basic-Shape.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/CircleDraw/CircleDraw.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/House-Project/House-Project.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Moving_Object/Moving_Object.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Smart-Village-Project/Smart-Village.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Bresenham-Algorithm/Bresenham-Algorithm.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Chess-Board-Project/Chess-Board-Project.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Line-Drawing-Algorithm/Line-Drawing-Algorithm.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Statelite-Station-Project/Statelite-Station.layout:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # OpenGL
2 | I will use this repo to put all my OpenGL projects here 🗳🍣
3 |
4 | ## Projects List:
5 | - [House Project](#house-preview)
6 | - [Chess Board Project](#chess-board-preview)
7 | - [Smart Village Project](#smart-village-preview)
8 | - [Statellite-Station Project](#statellite-station-preview)
9 |
10 | #### House Preview
11 |
12 |
13 | #### Chess Board Preview
14 |
15 |
16 | #### Smart Village Preview
17 |
18 |
19 | #### Statellite Station Preview
20 |
21 | ##### Statellite Station
22 |
23 |
24 | ##### Data Transmission
25 |
26 |
27 | ## Bugs
28 | > if there any known bugs found please let me know. Please enjoy and feel free to share your opinion, constructive criticism, or comments about my work. Email: 👉 ruhulaminparvez007@gmail.com 😊 Thank you!
29 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 Ruhul Amin Parvez
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Box/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | void display(void)
4 | {
5 | /* clear all pixels */
6 | glClear (GL_COLOR_BUFFER_BIT);
7 | /* draw white polygon (rectangle) with corners at
8 | * (0.25, 0.25, 0.0) and (0.75, 0.75, 0.0)
9 | */
10 | glColor3f (1.0, 1.0, 1.0);
11 |
12 |
13 | glBegin(GL_QUADS); //Begin quadrilateral coordinates
14 |
15 | //Trapezoid
16 | glVertex3f(0.40f, 0.20f, 0.0f);
17 | glVertex3f(0.80f, 0.20f, 0.0f);
18 | glVertex3f(0.80f, 0.60f, 0.0f);
19 | glVertex3f(0.40f, 0.60f, 0.0f);
20 |
21 | glEnd(); //End quadrilateral coordinates
22 |
23 | glFlush ();
24 | }
25 | void init (void)
26 | {
27 | /* select clearing (background) color */
28 | glClearColor (0.0, 0.0, 0.0, 0.0);
29 | /* initialize viewing values */
30 | glMatrixMode(GL_PROJECTION);
31 | glLoadIdentity();
32 | glOrtho(0.0, 1.0, 0.0, 1.0, -10.0, 10.0);
33 | }
34 | /*
35 | * Declare initial window size, position, and display mode
36 | * (single buffer and RGBA). Open window with "hello"
37 | * in its title bar. Call initialization routines.
38 | * Register callback function to display graphics.
39 | * Enter main loop and process events.
40 | */
41 | int main(int argc, char** argv)
42 | {
43 | glutInit(&argc, argv);
44 | glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB);
45 | glutInitWindowSize (600, 600);
46 | glutInitWindowPosition (100, 100);
47 | glutCreateWindow ("hello");
48 | init ();
49 | glutDisplayFunc(display);
50 | glutMainLoop();
51 | return 0; /* ISO C requires main to return int. */
52 | }
53 |
--------------------------------------------------------------------------------
/Box/Box.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/CircleDraw/CircleDraw.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Basic-Shape/Basic-Shape.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/House-Project/House-Project.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Moving_Object/Moving_Object.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Smart-Village-Project/Smart-Village.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Statelite-Station-Project/Statelite-Station.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Bresenham-Algorithm/Bresenham-Algorithm.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Chess-Board-Project/Chess-Board-Project.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Line-Drawing-Algorithm/Line-Drawing-Algorithm.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Basic-Shape/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | void display(void)
4 | {
5 | /* clear all pixels */
6 | glClear (GL_COLOR_BUFFER_BIT);
7 | /* draw white polygon (rectangle) with corners at
8 | * (0.25, 0.25, 0.0) and (0.75, 0.75, 0.0)
9 | */
10 | glColor3f (1.0, 1.0, 1.0);
11 |
12 |
13 | glBegin(GL_QUADS); //Begin quadrilateral coordinates
14 |
15 | //Trapezoid
16 | glVertex3f(0.05f, 0.05f, 0.0f);
17 | glVertex3f(0.35f, 0.05f, 0.0f);
18 | glVertex3f(0.40f, 0.35f, 0.0f);
19 | glVertex3f(0.00f, 0.35f, 0.0f);
20 |
21 | glEnd(); //End quadrilateral coordinates
22 |
23 | glBegin(GL_TRIANGLES); //Begin triangle coordinates
24 |
25 | //Triangle
26 | glVertex3f(0.30f, 0.65f, 0.0f);
27 | glVertex3f(0.60f, 0.65f, 0.0f);
28 | glVertex3f(0.45, 0.85f, 0.0f);
29 |
30 | glEnd();//End triangle coordinates
31 | /* don't wait!
32 | * start processing buffered OpenGL routines
33 | */
34 | glFlush ();
35 | }
36 | void init (void)
37 | {
38 | /* select clearing (background) color */
39 | glClearColor (0.0, 0.0, 0.0, 0.0);
40 | /* initialize viewing values */
41 | glMatrixMode(GL_PROJECTION);
42 | glLoadIdentity();
43 | glOrtho(0.0, 1.0, 0.0, 1.0, -10.0, 10.0);
44 | }
45 | /*
46 | * Declare initial window size, position, and display mode
47 | * (single buffer and RGBA). Open window with "hello"
48 | * in its title bar. Call initialization routines.
49 | * Register callback function to display graphics.
50 | * Enter main loop and process events.
51 | */
52 | int main(int argc, char** argv)
53 | {
54 | glutInit(&argc, argv);
55 | glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB);
56 | glutInitWindowSize (600, 600);
57 | glutInitWindowPosition (100, 100);
58 | glutCreateWindow ("hello");
59 | init ();
60 | glutDisplayFunc(display);
61 | glutMainLoop();
62 | return 0; /* ISO C requires main to return int. */
63 | }
64 |
--------------------------------------------------------------------------------
/Bresenham-Algorithm/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | float x1,y1,x2,y2,m,i,j,p;
5 | int dx,dy;
6 | void display(void)
7 | {
8 | glClear (GL_COLOR_BUFFER_BIT);
9 |
10 | glColor3f (1.0, 0.0, 0.0);
11 | glBegin(GL_POINTS);
12 |
13 | p=(2*dy)-dx;
14 |
15 | for(i=x1, j=y1; iy2; )
16 | {
17 | if(p>=0)
18 | {
19 | i=i+1;
20 | j=j+1;
21 |
22 | printf("\tValue of X1 : %0.2f && Value of Y1: %0.2f\n",i,j);
23 | glVertex3f ((i), (j), 0.0);
24 | p=p+(2*dy)-(2*dx);
25 | }
26 | else if(p<0)
27 | {
28 | i=i+1;
29 | if(i>x2)
30 | {
31 | break;
32 | }
33 | printf("\tValue of X1 : %0.2f && Value of Y1: %0.2f\n",i,j);
34 | glVertex3f (i,j, 0.0);
35 | p=p+(2*dy);
36 |
37 | }
38 | }
39 | glEnd();
40 |
41 | glFlush ();
42 | }
43 | void init (void)
44 | {
45 |
46 | glClearColor (1.0, 1.0, 1.0, 1.0);
47 |
48 | glMatrixMode(GL_PROJECTION);
49 | glLoadIdentity();
50 | glOrtho(0.0, 400, 0.0, 400.0,-400.0,400.0);
51 | }
52 |
53 |
54 | int main(int argc, char** argv)
55 | {
56 | printf("Enter first point X1: ");
57 | scanf("%f",&x1);
58 | printf("Enter first point Y1: ");
59 | scanf("%f",&y1);
60 |
61 | printf("Enter End point X2: ");
62 | scanf("%f",&x2);
63 | printf("Enter End point Y1: ");
64 | scanf("%f",&y2);
65 | dx=x2-x1;
66 | dy=y2-y1;
67 | printf("Show dx: %d\n",dx);
68 | printf("Show dy: %d\n",dy);
69 |
70 | glutInit(&argc, argv);
71 | glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB);
72 | glutInitWindowSize (800, 700);
73 | glutInitWindowPosition (500, 100);
74 | glutCreateWindow ("Bresenham Line Drawing Algorithm (Task-3)");
75 | init ();
76 | glutDisplayFunc(display);
77 | glutMainLoop();
78 | return 0;
79 | }
80 |
81 |
--------------------------------------------------------------------------------
/Chess-Board-Project/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | void init(void)
5 | {
6 | glClearColor(1.0, 1.0, 1.0, 0.0);
7 | glColor3f(0.0f, 0.0f, 0.0f);
8 | glPointSize(4.0);
9 | glMatrixMode(GL_PROJECTION);
10 | glLoadIdentity();
11 | gluOrtho2D(0.0, 640.0, 0.0, 480.0);
12 | }
13 |
14 | int x = 50, y = 50;
15 | bool isBlack = true;
16 |
17 | void whiteBox(int x, int y)
18 | {
19 | glBegin(GL_LINE_LOOP);
20 | glVertex2i(x, y);
21 | glVertex2i(x, y + 50);
22 | glVertex2i(x + 50, y + 50);
23 | glVertex2i(x + 50, y);
24 | glEnd();
25 | }
26 |
27 | void blackBox(int x, int y)
28 | {
29 | glBegin(GL_POLYGON);
30 | glVertex2i(x, y);
31 | glVertex2i(x, y + 50);
32 | glVertex2i(x + 50, y + 50);
33 | glVertex2i(x + 50, y);
34 | glEnd();
35 | }
36 |
37 | void myDisplay(void)
38 | {
39 | glClear(GL_COLOR_BUFFER_BIT);
40 | glColor3f(0.0, 0.0, 0.0);
41 | glPointSize(1.0);
42 |
43 | for (int i = 0; i < 8; i++)
44 | {
45 | if (i % 2 == 0)
46 | {
47 | isBlack = true;
48 | }
49 | else
50 | {
51 | isBlack = false;
52 | }
53 |
54 | for (int j = 0; j < 8; j++)
55 | {
56 | if (isBlack)
57 | {
58 | blackBox(x, y);
59 | isBlack = false;
60 | }
61 | else
62 | {
63 | whiteBox(x, y);
64 | isBlack = true;
65 | }
66 | x += 50;
67 | }
68 | y += 50;
69 | x = 50;
70 | }
71 |
72 | blackBox(100, 100);
73 | whiteBox(150, 100);
74 | glFlush();
75 | }
76 |
77 |
78 | int main(int argc, char* argv[])
79 | {
80 | glutInit(&argc, argv); // Initalise GLUT
81 | glutInitDisplayMode(GLUT_SINGLE|GLUT_RGB); // Set display mode
82 |
83 | glutInitWindowPosition(80, 100); // Set window position
84 | glutInitWindowSize(900, 700); // Set window size
85 | glutCreateWindow("Chess Board Project"); // Create display window
86 |
87 | init(); // Execute initialisation procedure
88 | glutDisplayFunc(myDisplay);// Send graphics to display window
89 | glutMainLoop(); // Display everything and wait
90 |
91 | return 0;
92 | }
93 |
94 |
--------------------------------------------------------------------------------
/Line-Drawing-Algorithm/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | float x1,y1,x2,y2,m,i,j;
5 | float dx,dy;
6 | void display(void)
7 | {
8 |
9 | glClear (GL_COLOR_BUFFER_BIT);
10 |
11 | glEnd();
12 |
13 | glColor3f (1.0, 0.0, 0.0);
14 | glBegin(GL_POINTS);
15 |
16 |
17 | if(m>0 && m<=1)
18 | {
19 | while(x1<=x2 && y1<=y2)
20 | {
21 | x1=x1+1;
22 | y1=y1+m;
23 | glVertex3f(x1/100,y1/100,0.0);
24 | printf("%f %f",x1,y1);
25 |
26 | }
27 | }
28 | else if(m>1)
29 | {
30 | while(x1<=x2 && y1<=y2)
31 | {
32 | x1=x1+(1/m);
33 | y1=y1+1;
34 | glVertex3f(x1/100,y1/100,0.0);
35 | printf("%f %f",x1,y1);
36 | }
37 | }
38 |
39 | else if(m>-1 && m<=0)
40 | {
41 | while(x1>=x2 && y1>=y2)
42 | {
43 | x1=x1-1;
44 | y1=y1-m;
45 | glVertex3f(x1/100,y1/100,0.0);
46 | printf("%f %f",x1,y1);
47 | }
48 | }
49 | else if(m<-1)
50 |
51 | {
52 |
53 | while(x1>=x2 && y1>=y2)
54 | {
55 | x1=x1-(1/m);
56 | y1=y1-1;
57 | glVertex3f(x1/100,y1/100,0.0);
58 | printf("%f %f",x1,y1);
59 | }
60 | }
61 |
62 | glEnd();
63 |
64 | glFlush ();
65 | }
66 | void init (void)
67 | {
68 | glClearColor (1.0, 1.0, 1.0, 0.0);
69 |
70 | glMatrixMode(GL_PROJECTION);
71 | glLoadIdentity();
72 | glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
73 | }
74 |
75 | int main(int argc, char** argv)
76 | {
77 |
78 | printf("Enter value of X1 :");
79 | scanf("%f",&x1);
80 | printf("Enter value of y1 :");
81 | scanf("%f",&y1);
82 | printf("Enter value of X2 :");
83 | scanf("%f",&x2);
84 | printf("Enter value of Y2 :");
85 | scanf("%f",&y2);
86 | dx=x2-x1;
87 | dy=y2-y1;
88 | m=dy/dx;
89 |
90 |
91 | glutInit(&argc, argv);
92 | glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB);
93 | glutInitWindowSize (500, 500);
94 | glutInitWindowPosition (100, 100);
95 | glutCreateWindow ("Line Draw Algorithm");
96 | init ();
97 | glutDisplayFunc(display);
98 | glutMainLoop();
99 | return 0;
100 | }
101 |
--------------------------------------------------------------------------------
/House-Project/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | void init(void)
5 | {
6 | glClearColor(1.0, 1.0, 1.0, 0.0); // Set display window colour to white
7 |
8 | glMatrixMode(GL_PROJECTION); // Set projection parameters
9 | gluOrtho2D(0.0, 400.0, 0.0, 400.0);
10 | }
11 |
12 | void drawShapes(void)
13 | {
14 | glClear(GL_COLOR_BUFFER_BIT); // Clear display window
15 |
16 | //Set colour to black
17 | glColor3f(0.0, 0.0, 0.0);
18 | //Adjust the point size
19 | glPointSize(5.0);
20 |
21 | //Set colour to red
22 | glColor3f(1.0, 0.0, 0.0);
23 |
24 | // Draw an outlined triangle
25 | glBegin(GL_TRIANGLES);
26 |
27 | glColor3f(0.0, 0.0, 1.0);
28 | glVertex2i(100, 200);
29 | glVertex2i(300, 200);
30 | glVertex2i(200, 300);
31 |
32 | glEnd();
33 |
34 | glBegin(GL_POLYGON);
35 |
36 | glColor3f(1.0, 0.0, 0.0);
37 | glVertex2i(100, 0);
38 | glVertex2i(300, 0);
39 | glVertex2i(300, 200);
40 | glVertex2i(100, 200);
41 |
42 | glEnd();
43 |
44 | glBegin(GL_POLYGON);
45 |
46 | glColor3f(0.0, 1.0, 0.0);
47 | glVertex2i(175, 0);
48 | glVertex2i(225, 0);
49 | glVertex2i(225, 150);
50 | glVertex2i(175, 150);
51 |
52 | glEnd();
53 |
54 | glBegin(GL_POLYGON);
55 |
56 | glColor3f(1.0, 1.0, 1.0);
57 | glVertex2i(125, 50);
58 | glVertex2i(150, 50);
59 | glVertex2i(150, 125);
60 | glVertex2i(125, 125);
61 |
62 | glEnd();
63 |
64 | glBegin(GL_POLYGON);
65 |
66 | glColor3f(1.0, 1.0, 1.0);
67 | glVertex2i(250, 50);
68 | glVertex2i(275, 50);
69 | glVertex2i(275, 125);
70 | glVertex2i(250, 125);
71 |
72 | glEnd();
73 |
74 | glFlush(); // Process all OpenGL routines
75 | }
76 |
77 | int main(int argc, char* argv[])
78 | {
79 | glutInit(&argc, argv); // Initalise GLUT
80 | glutInitDisplayMode(GLUT_SINGLE|GLUT_RGB); // Set display mode
81 |
82 | glutInitWindowPosition(50, 100); // Set window position
83 | glutInitWindowSize(800, 600); // Set window size
84 | glutCreateWindow("House Making Project"); // Create display window
85 |
86 | init(); // Execute initialisation procedure
87 | glutDisplayFunc(drawShapes); // Send graphics to display window
88 | glutMainLoop(); // Display everything and wait
89 |
90 | return 0;
91 | }
92 |
93 |
94 |
--------------------------------------------------------------------------------
/Moving_Object/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 |
6 | #ifdef __APPLE__
7 | #include
8 | #include
9 | #else
10 | #include
11 | #endif
12 |
13 | using namespace std;
14 |
15 | float ballX = -0.3f;
16 | float ballY = 0.0f;
17 | float ballZ = -1.0f;
18 |
19 | static int flag=1;
20 |
21 | void drawBall(void) {
22 |
23 | glColor3f(0.0, 0.0, 1.0);
24 | glTranslatef(ballX,ballY,ballZ);
25 | glutSolidSphere (0.1, 10, 10);
26 |
27 | }
28 |
29 | void keyPress(int key, int x, int y)
30 | {
31 | if(key==GLUT_KEY_RIGHT)
32 | ballX -= 0.05f;
33 | if(key==GLUT_KEY_LEFT)
34 | ballX += 0.05f;
35 |
36 | glutPostRedisplay();
37 | }
38 |
39 | void initRendering()
40 | {
41 | glEnable(GL_DEPTH_TEST);
42 | }
43 |
44 |
45 | void handleResize(int w, int h) {
46 |
47 | glViewport(0, 0, w, h);
48 |
49 | glMatrixMode(GL_PROJECTION);
50 |
51 |
52 | glLoadIdentity();
53 | gluPerspective(45.0,
54 | (double)w / (double)h,
55 | 1.0,
56 | 200.0);
57 | }
58 |
59 | void drawScene()
60 | {
61 | glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
62 |
63 | glMatrixMode(GL_MODELVIEW);
64 |
65 | glLoadIdentity();
66 | drawBall();
67 |
68 |
69 | glutSwapBuffers();
70 | }
71 |
72 |
73 | void update(int value) {
74 | if(flag)
75 | {
76 | ballX += 0.001f;
77 | if(ballX>0.3)
78 | {
79 | flag=0;
80 |
81 | }
82 | }
83 | if (!flag)
84 | {
85 | ballX -= 0.001f;
86 | if(ballX<-0.3)
87 | {
88 | flag=1;
89 |
90 | }
91 | }
92 |
93 | glutPostRedisplay();
94 |
95 |
96 | glutTimerFunc(25, update, 0);
97 | }
98 |
99 | int main(int argc,char** argv)
100 | {
101 | glutInit(&argc,argv);
102 |
103 | glutInitDisplayMode(GLUT_DOUBLE|GLUT_RGB|GLUT_DEPTH);
104 |
105 | glutInitWindowSize(600,600);
106 |
107 | glutCreateWindow("Moving Object");
108 |
109 | initRendering();
110 |
111 | glutDisplayFunc(drawScene);
112 |
113 | glutSpecialFunc(keyPress);
114 | glutReshapeFunc(handleResize);
115 |
116 |
117 | glutTimerFunc(25, update, 0);
118 |
119 | glutMainLoop();
120 |
121 | return(0);
122 | }
123 |
--------------------------------------------------------------------------------
/CircleDraw/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 |
5 | float x=0,y,p,xc,yc;
6 | int r;
7 |
8 | void circleDraw(void)
9 | {
10 | glClear (GL_COLOR_BUFFER_BIT);
11 |
12 |
13 | glBegin(GL_POINTS);
14 |
15 | printf("Starting point(x,y) : %0.2f , %0.2f \n",x,y);
16 |
17 | p=1-r;
18 | printf("Initial Decision Parameter: %0.2f \n",p);
19 | printf("\n");
20 |
21 | while((x
4 |
5 |
6 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\windows.h
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winresrc.h
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winuser.h
45 |
46 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winnt.h
47 |
48 |
49 |
50 |
51 |
52 |
53 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winerror.h
54 |
55 | 1250308680 c:\program files (x86)\codeblocks\mingw\include\string.h
56 | <_mingw.h>
57 |
58 |
59 | 1250308674 c:\program files (x86)\codeblocks\mingw\include\_mingw.h
60 |
61 | 1228530712 c:\program files (x86)\codeblocks\mingw\include\basetsd.h
62 |
63 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\pshpack4.h
64 |
65 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\poppack.h
66 |
67 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winver.h
68 |
69 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\dde.h
70 |
71 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\dlgs.h
72 |
73 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\commctrl.h
74 |
75 |
76 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\prsht.h
77 |
78 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\windef.h
79 |
80 |
81 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\wincon.h
82 |
83 | 1228530730 c:\program files (x86)\codeblocks\mingw\include\winbase.h
84 |
85 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\wingdi.h
86 |
87 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winnls.h
88 |
89 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winnetwk.h
90 |
91 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winreg.h
92 |
93 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winsvc.h
94 |
95 | 1228530712 c:\program files (x86)\codeblocks\mingw\include\cderr.h
96 |
97 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\ddeml.h
98 |
99 | 1228530716 c:\program files (x86)\codeblocks\mingw\include\imm.h
100 |
101 | 1228530720 c:\program files (x86)\codeblocks\mingw\include\lzexpand.h
102 |
103 | 1228530722 c:\program files (x86)\codeblocks\mingw\include\mmsystem.h
104 |
105 | 1228530722 c:\program files (x86)\codeblocks\mingw\include\nb30.h
106 |
107 | 1228530726 c:\program files (x86)\codeblocks\mingw\include\rpc.h
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 | 1228530726 c:\program files (x86)\codeblocks\mingw\include\rpcdce.h
116 |
117 |
118 |
119 | 1228530712 c:\program files (x86)\codeblocks\mingw\include\basetyps.h
120 |
121 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcdcep.h
122 |
123 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcnsi.h
124 |
125 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcnterr.h
126 |
127 | 1250308676 c:\program files (x86)\codeblocks\mingw\include\excpt.h
128 | <_mingw.h>
129 |
130 |
131 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\shellapi.h
132 |
133 |
134 |
135 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\pshpack2.h
136 |
137 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winperf.h
138 |
139 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\commdlg.h
140 |
141 |
142 |
143 | 1228530730 c:\program files (x86)\codeblocks\mingw\include\unknwn.h
144 |
145 |
146 |
147 |
148 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\objfwd.h
149 |
150 |
151 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\wtypes.h
152 |
153 |
154 |
155 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcndr.h
156 |
157 |
158 |
159 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcnsip.h
160 |
161 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winspool.h
162 |
163 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winsock2.h
164 |
165 |
166 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winsock.h
167 |
168 |
169 |
170 | 1228530722 c:\program files (x86)\codeblocks\mingw\include\mswsock.h
171 |
172 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\ole2.h
173 |
174 |
175 |
176 |
177 |
178 |
179 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\objbase.h
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 | 1250308680 c:\program files (x86)\codeblocks\mingw\include\stdlib.h
190 | <_mingw.h>
191 |
192 |
193 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\objidl.h
194 |
195 |
196 | 1228530712 c:\program files (x86)\codeblocks\mingw\include\cguid.h
197 |
198 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\olectlid.h
199 |
200 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\oleauto.h
201 |
202 |
203 | 1228530722 c:\program files (x86)\codeblocks\mingw\include\oaidl.h
204 |
205 |
206 |
207 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\oleidl.h
208 |
209 |
210 | 1453865572 c:\program files (x86)\codeblocks\mingw\include\gl\glut.h
211 |
212 |
213 |
214 |
215 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\gl\gl.h
216 |
217 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\gl\glu.h
218 |
219 |
220 |
221 |
--------------------------------------------------------------------------------
/Bresenham-Algorithm/Bresenham-Algorithm.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1626368109 source:c:\users\dcl\documents\opengl\bresenham-algorithm\main.cpp
3 |
4 |
5 |
6 |
7 | 1250308680 c:\program files (x86)\codeblocks\mingw\include\stdio.h
8 | <_mingw.h>
9 |
10 |
11 |
12 |
13 | 1250308674 c:\program files (x86)\codeblocks\mingw\include\_mingw.h
14 |
15 | 1250308682 c:\program files (x86)\codeblocks\mingw\include\sys\types.h
16 | <_mingw.h>
17 |
18 |
19 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\gl\gl.h
20 |
21 | 1626342068 c:\program files (x86)\codeblocks\mingw\include\gl\glut.h
22 |
23 |
24 |
25 |
26 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\windows.h
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winresrc.h
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winuser.h
65 |
66 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winnt.h
67 |
68 |
69 |
70 |
71 |
72 |
73 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winerror.h
74 |
75 | 1250308680 c:\program files (x86)\codeblocks\mingw\include\string.h
76 | <_mingw.h>
77 |
78 |
79 | 1228530712 c:\program files (x86)\codeblocks\mingw\include\basetsd.h
80 |
81 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\pshpack4.h
82 |
83 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\poppack.h
84 |
85 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winver.h
86 |
87 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\dde.h
88 |
89 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\dlgs.h
90 |
91 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\commctrl.h
92 |
93 |
94 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\prsht.h
95 |
96 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\windef.h
97 |
98 |
99 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\wincon.h
100 |
101 | 1228530730 c:\program files (x86)\codeblocks\mingw\include\winbase.h
102 |
103 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\wingdi.h
104 |
105 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winnls.h
106 |
107 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winnetwk.h
108 |
109 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winreg.h
110 |
111 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winsvc.h
112 |
113 | 1228530712 c:\program files (x86)\codeblocks\mingw\include\cderr.h
114 |
115 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\ddeml.h
116 |
117 | 1228530716 c:\program files (x86)\codeblocks\mingw\include\imm.h
118 |
119 | 1228530720 c:\program files (x86)\codeblocks\mingw\include\lzexpand.h
120 |
121 | 1228530722 c:\program files (x86)\codeblocks\mingw\include\mmsystem.h
122 |
123 | 1228530722 c:\program files (x86)\codeblocks\mingw\include\nb30.h
124 |
125 | 1228530726 c:\program files (x86)\codeblocks\mingw\include\rpc.h
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 | 1228530726 c:\program files (x86)\codeblocks\mingw\include\rpcdce.h
134 |
135 |
136 |
137 | 1228530712 c:\program files (x86)\codeblocks\mingw\include\basetyps.h
138 |
139 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcdcep.h
140 |
141 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcnsi.h
142 |
143 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcnterr.h
144 |
145 | 1250308676 c:\program files (x86)\codeblocks\mingw\include\excpt.h
146 | <_mingw.h>
147 |
148 |
149 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\shellapi.h
150 |
151 |
152 |
153 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\pshpack2.h
154 |
155 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winperf.h
156 |
157 | 1228530714 c:\program files (x86)\codeblocks\mingw\include\commdlg.h
158 |
159 |
160 |
161 | 1228530730 c:\program files (x86)\codeblocks\mingw\include\unknwn.h
162 |
163 |
164 |
165 |
166 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\objfwd.h
167 |
168 |
169 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\wtypes.h
170 |
171 |
172 |
173 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcndr.h
174 |
175 |
176 |
177 | 1228530728 c:\program files (x86)\codeblocks\mingw\include\rpcnsip.h
178 |
179 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winspool.h
180 |
181 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\winsock2.h
182 |
183 |
184 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winsock.h
185 |
186 |
187 |
188 | 1228530722 c:\program files (x86)\codeblocks\mingw\include\mswsock.h
189 |
190 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\ole2.h
191 |
192 |
193 |
194 |
195 |
196 |
197 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\objbase.h
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 | 1250308680 c:\program files (x86)\codeblocks\mingw\include\stdlib.h
208 | <_mingw.h>
209 |
210 |
211 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\objidl.h
212 |
213 |
214 | 1228530712 c:\program files (x86)\codeblocks\mingw\include\cguid.h
215 |
216 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\olectlid.h
217 |
218 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\oleauto.h
219 |
220 |
221 | 1228530722 c:\program files (x86)\codeblocks\mingw\include\oaidl.h
222 |
223 |
224 |
225 | 1228530724 c:\program files (x86)\codeblocks\mingw\include\oleidl.h
226 |
227 |
228 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\gl\glu.h
229 |
230 |
231 |
232 |
--------------------------------------------------------------------------------
/Line-Drawing-Algorithm/Line-Drawing-Algorithm.depend:
--------------------------------------------------------------------------------
1 | # depslib dependency file v1.0
2 | 1626296223 source:c:\users\dcl\documents\opengl\line-drawing-algorithm\main.cpp
3 |
4 |
5 |
6 |
7 | 1250308680 c:\program files (x86)\codeblocks\mingw\include\stdio.h
8 | <_mingw.h>
9 |
10 |
11 |
12 |
13 | 1250308674 c:\program files (x86)\codeblocks\mingw\include\_mingw.h
14 |
15 | 1250308682 c:\program files (x86)\codeblocks\mingw\include\sys\types.h
16 | <_mingw.h>
17 |
18 |
19 | 1228530734 c:\program files (x86)\codeblocks\mingw\include\gl\gl.h
20 |
21 | 1453865572 c:\program files (x86)\codeblocks\mingw\include\gl\glut.h
22 |
23 |
24 |
25 |
26 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\windows.h
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | 1228530732 c:\program files (x86)\codeblocks\mingw\include\winresrc.h
57 |
58 |
59 |