Midpoint Circle Drawing Algorithm in C Using Opengl
- Introduction of Myself!
Introduction of Myself!
Hello my dear students,
Hope you are all doing great! I am your course teacher for this semester. So you need to know somethings about me. Here I am giving my short introduction.
Name: Zarin Tasnim Shejuti
ID: 710002345
Email: zarintasnim.cse@diu.edu.bd
B.sc: Ahsanullah University of Science and Technology (AUST)
Year: 2014- 2018
Hope to explore more about each others at every class.
- Welcome To Computer Graphics Lab
Welcome To Computer Graphics Lab
I welcome all of my beloved students to the Computer Graphics course Lab session!!!.Computer Graphics is the major field of Computer Science & Engineering, which is the order of originating images with the computer. It's a core technology in digital photography, video games, film, cellphone & computer displays as well as many specialized applications. Hope our journey will be nice together. Enjoy your learning with the flow.
Regards,
Instructor: Zarin Tasnim Shejuti
Instructor
: Zarin Tasnim Shejuti (ZTS)
Designation : Lecturer Office address : Room no 509, Level 5 , AB04(PC)
Email : zarintasnim.cse@diu.edu.bd Course Rationale
Computer Graphics and Design - Foundation Level 2 provides applied learning opportunities for learners with an interest in computer graphics who are looking to foster a career within design-based industries and/or wish to prepare for further study in Computer Graphics and Design Level 3.
Course Objective
It allows learners to develop a practically based understanding of form and functional design contexts using computer graphics and associated digital technologies. Computer Graphics and Design - Foundation Level 2 engages learners in solving design challenges and presenting their ideas or solutions as digital graphic solutions. Design projects allow learners: to demonstrate their skills and understandings of design principles and processes; to understand problems; propose possibilities; and to develop creative solutions.
Course Outcomes (CO's)
CO1
Able to demonstrate effective OpenGL programs to solve graphics programming issues including different shapes.
CO2
Able to implement Line Drawing Algorithm using DDA and Bresenham's Algorithm.
CO3
Able to implement Circle Drawing Algorithm using Mid Point Algorithm.
CO4
Able to implement 2D and 3D transformation
CO5
Able to implement colour modelling, shading and animation.
Grading Scheme
Attendance: 10%
Lab Performance: 25%
project: 25%
Final Exam: 40%
Grading System
- Week 1: Introduction
Week 1: Introduction
Topics for discussion
Fundamental knowledge about OpenGl, installation and working with some basic built in functions.
Expected Learning Outcome:
- Able to demonstrate effective OpenGL programs to solve graphics programming issues including different shapes.
- Able to use OpenGL with CodeBlocks and to implement computer graphics course using OpenGL.
Expected Skills:
a. Gathering knowledge about OpenGL
b. Clear idea about OpenGL for answering OpenGL related questions.
Tools Required:
- CodeBlocks
- OpenGL and GLUT using CodeBlocks.
-
Dear Learners,
Download the header files and set up by following the attached guideline. And go with the flow of your pictorial journey.........
-
Lecture Video
-
Description of assignment:
- Create any kind of design using your own creativity.
- You must include complex shapes with the help of basic shapes like line, quads, triangle, polygon etc.
- As you will design using your immagination, no two group will have the same content. If two group have the same content then both groups will get 50% less marks.
- Only one person from each group will submit the assignemnt. ID numbers of each memeber needs to be given in code using comment.
- Week 2: Explore with different output Primitives
Week 2: Explore with different output Primitives
Topics for discussion
Fundamental knowledge about OpenGl: Built in Function details description, Working with different object shapes by changing colors.
Expected Learning Outcome:
- Able to demonstrate effective OpenGL programs to solve graphics programming issues including different shapes.
- Able to appreciate the knowledge along axis (X,Y).
Expected Skills:
a. knowledge about C/C++ programming
b. Clear idea about OpenGL
Tools Required:
- CodeBlocks
- OpenGL and GLUT using CodeBlocks.
-
Dear Learner,
Check out the manual and go with the flow.
-
Lecture Video
-
Dear Scholar,
Draw a "Chess Board" by using opengl. Check the attachment . Enjoy your exploration.
N.B: You can use "loop" concept with the pixel value to draw the same rectangle again again, it will be easier for you.
Submission Guide Line:
- Submit .txt file of your code
- Snapshot of the output
N.B. Do not submit .ZIP or .RAR file.
- Week 3: Line Drawing Algorithm Implementation
Week 3: Line Drawing Algorithm Implementation
Topics for discussion
Line Drawing Algorithm Implementation: Digital Differential Analyzer(forward), Bresenham
Expected Learning Outcome:
- Students will be able to implement DDA algorithm (forward) and Bresenham Algorithm.
- Students will be able to draw a line using two endpoints with DDA & Bresenham algorithm.
Expected Skills:
a. knowledge about C/C++ programming
b. Clear idea about OpenGL
Tools Required:
- CodeBlocks
- OpenGL and GLUT using CodeBlocks.
-
Write a program to draw a line with endpoints (120. 70) by using DDA algorithm.
Write a program to draw a line with endpoints (80, 320) and (200, 30) by using Bresenham.
Submission Guide Line:
- Submit .txt file of your code
- Snapshot of the output
N.B. Do not submit .ZIP or .RAR file
- Week 4: Circle Algorithm Implementation
Week 4: Circle Algorithm Implementation
Topics for discussion
Circle Drawing Algorithm Implementation: Midpoint
Expected Learning Outcome:
- Students will be able to implement circle algorithm.
- Students will be able to draw a circle with center visualization.
Expected Skills:
a. knowledge about C/C++ programming
b. Clear idea about OpenGL
Tools Required:
- CodeBlocks
- OpenGL and GLUT using CodeBlocks.
Submission Guide Line:
- Submit .txt file of your code
- Snapshot of the output
N.B. Do not submit .ZIP or .RAR file
- Week 5: 2D Transormation || Mouse Keyboard function
Week 5: 2D Transormation || Mouse Keyboard function
Topics for discussion
Circle Drawing Algorithm Implementation with matrix : Midpoint
Expected Learning Outcome:
- Students will be able to implement circle algorithm with different transformation.
- Students will be able to draw a circle with center visualization.
Expected Skills:
a. knowledge about C/C++ programming
b. Clear idea about OpenGL
c. Clear about MatrixTools Required:
- CodeBlocks
- OpenGL and GLUT using CodeBlocks.
-
Lecture Video
-
Submission Guide Line:
- Submit .txt file of your code
- Snapshot of the output
N.B. Do not submit .ZIP or .RAR file
- Week 6: Project Discussion and project Sample
Week 6: Project Discussion and project Sample
Topics for discussion
- Projects Discussion
- Project ideas
- Project Time Frame
- Project Follow up
- Project Presentation
- Project Submission
Expected Learning Outcome:
- Students will be able to implement the learning of graphics to visualize the real time problem.
Expected Skills:
a. knowledge about C/C++ programming
b. Clear idea about OpenGL
-
Dear Students,
Check out the attachment. And just to follow your wonderful mind creativity. Surely, you will achieve more.
- Week 7: Midterm Examination of Theory Course
Week 7: Midterm Examination of Theory Course
- Week 8: 2D Implementation
Week 8: 2D Implementation
Topics for discussion
2D implementation (Object Movement)
Expected Learning Outcome:
- Students will be able to implement all the visualization of the output Primitives.
- Students will be able to implement two dimensional animation of any objects.
Expected Skills:
a. knowledge about C/C++ programming
b. Clear idea about OpenGL
c. Clear about Matrix
d. Clear idea about axis
- Week 9: Review Exercises
Week 9: Review Exercises
Review the contents from week 1 to week 9
Project Followup
Feedback from the instructor
- Week 10: Spinning object by using key Functionalities
Week 10: Spinning object by using key Functionalities
Dear Learner,
check out the attachment about spinning and adding sound and key functionalities. Analysis the code and must implement to your project.
- Topic 11: Lab Assessment
Topic 11: Lab Assessment
Lab Assessment
Total Marks 10
Syllabus:
Theoretical concept of Opengl
- Week 12: Project Submission & Presentation
Week 12: Project Submission & Presentation
-
Project Submission Guide Line:
1. Submit your project .ZIp file.
2. submit video of the project Presentation
-
Dear Learner,
Greetings!. Upload your fantastic project and project presentation in this thread. Please follow the submission guideline.
Best wishes.
-
- Week 13: Lab Assessment
Week 13: Lab Assessment
-
Lab Final Exam Assessment plan
Total Marks: 30
It will update later...........
-
- week 14: Final Examination of Theory course
week 14: Final Examination of Theory course
Midpoint Circle Drawing Algorithm in C Using Opengl
Source: https://elearn.daffodilvarsity.edu.bd/course/view.php?id=4989
0 Response to "Midpoint Circle Drawing Algorithm in C Using Opengl"
Post a Comment