
-
Re: CS602 Assignment 2 Solution and Discussion Spring 2020
Assignment No. 02Semester: Fall 2020
CS602: Computer Graphics
Total Marks: 20Due Date: Dec 17, 2020
Objective
Install Dev-C++ from your LMS. Read out the file “Add graphics in Dev cpp” thoroughly and follow the instructions in the file properly provided to you on your LMS.
The objective of this assignment is to;
Learn and practice basic concepts of computer graphics like pixels, lines, text etc using Dev-C++. (You can download Dev-C++ setup from LMS)
Learn to clip lines and rigid bodies by using graphics library functions.
Learn the concepts of Sutherland and Hodgman’s polygon-clipping algorithm.
Instructions:
You have to do the following steps first in order to perform the task.
Please read the following instructions carefully before submitting assignment: You should consult the recommended books, PowerPoint slides, Handouts and video lectures to clarify your concepts. You can take any help from your provided labs. It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The assignment is copied from Internet or from any other student.
• The submitted assignment does not open or file is corrupt.
Submission
You are required to submit your solution through LMS in doc file. You are also required to enter the screenshot of the output of your program.Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).
It is recommended to upload solution file at least two days before its closing date.
For any query about the assignment, contact at [email protected]TASK Marks=20
This task is based on the concepts of clipping algorithms, you are required to implement the Sutherland and Hodgman’s polygon-clipping algorithm in Dev C++. After executing the program, the program should ask the user to enter the number of vertices of polygon. After entering number of vertices, the program will ask the user to enter coordinates of vertices as shown in the image below:Now the user needs to just press a button, a polygon will be drawn with white color the second press of a button to clip the polygon as shown in the image below:
-
Re: CS602 Assignment 1 Solution and Discussion
Assignment No. 01Semester: Fall 2020
CS602: Computer Graphics
Total Marks: 20Due Date: 4th Dec, 2020
Objective
Install Dev-C++ from your LMS. Download from LMS and Read out the file “Add graphics in Dev cpp” thoroughly and follow the instructions in the file properly provided to you on your LMS.
The objective of this assignment is to;
Learn and practice basic concepts of computer graphics like pixels, lines, circles and rectangles, texts etc using Dev-C++. (You can download Dev-C++ setup from LMS)
Learn to fill the shapes and patterns by using flood fill algorithm.
Instructions:
You have to do the following steps first in order to perform the task.
Please read the following instructions carefully before submitting assignment: You should consult the recommended books, PowerPoint slides, Handouts, and video lectures to clarify your concepts. You can take any help from your provided labs. It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The assignment is copied from Internet or from any other student.
• The submitted assignment does not open or file is corrupt.
Submission
You are required to submit your solution through LMS in word file.
For any query about the assignment, contact at [email protected]TASKS Marks=20
Question 1) Write a program in Dev C++ to draw a circle. Also, use the flood fill algorithm to fill the circle with different lines of red color. The output of your program should like the below image:
9162d193-0de3-46fc-a3c3-e1d6bf09d5c8-image.pngQuestion 2) Write a program in Dev C++ to fill a rectangle shape using the flood fill algorithm, In which you are required to write a function as floodFill with four parameters as (x,y, pcolor, ncolor) the repeat it until the rectangle is completely filled,
-
Re: CS602 Assignment 3 Solution and Discussion
Total Marks = [20]Assignment No. 03
Semester: Fall 2020
Computer Graphics – CS602
Total Marks: 20Due Date:
February 08, 2020Objectives:
You should consult the recommended books, PowerPoint slides and audio lectures to clarify your concepts. You are supposed to submit your assignment in .doc format. Any other formats like scan images, PDF, ZIP, RAR and BMP etc, will not be accepted. It should be clear that your assignment will not get any credit if:
Objective of this assignment is to assess the understanding of students about
the concepts of Open GL programming in computer graphics.
Instructions:
Please read the following instructions carefully before submitting assignment:
• The assignment is submitted after the due date.
• The assignment is copied from the Internet or any other student.
• The submitted assignment does not open or file is corrupt.
Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).
It is recommended to upload solution file at least two days before its closing date.
For any query about the assignment, contact at [email protected]Question Statement Marks=15
Question # 1:
Write a program using Open GL Programming to create a window as shown in the below image. The title of window should be your Student Id and your Name. You can fill the window area with any color.
cab41c1a-137a-4174-a0fd-a2759b9567a4-image.pngHint: Initialize the GLFW and GLEW libraries using the commands glfwInit() and glewInit() respectively.
Question # 2:
What are the Open GL Buffers and how can you create and allocate these buffers. Discuss with an example.Note: Only write the statement of creation and allocation. No need to write the complete program.
BEST OF LUCK -
Re: CS602 Assignment 2 Solution and Discussion
Assignment No. 02
Semester: Spring 2020
CS602: Computer Graphics
Total Marks: 20Due Date: 15 June 2020
Objective
Install Dev-C++ from your LMS. Read out the file “Add graphics in Dev cpp” thoroughly and follow the instructions in the file properly provided to you on your LMS.
The objective of this assignment is to;
Learn and practice basic concepts of computer graphics like pixels, lines, text etc using Dev-C++. (You can download Dev-C++ setup from LMS)
Learn to draw rigid bodies by using graphics library functions.
Learn the concepts of filled area primitives.
Learn the basic transformations with fundamental matrix operations.
Instructions:
You have to do the following steps first in order to perform the task.
Please read the following instructions carefully before submitting assignment: You should consult the recommended books, PowerPoint slides , Handouts and video lectures to clarify your concepts. You can take any help from your provided labs. It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The assignment is copied from Internet or from any other student.
• The submitted assignment does not open or file is corrupt.
Submission
You are required to submit your solution through LMS in zip format containing following files.
Your Project in zipped form containing both .cpp and .exe file.The word document (.doc/docx) or any other file format containing code will not be considered.
If the code files are missing in zip folder, your assignment will be awarded as zero.Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).
It is recommended to upload solution file at least two days before its closing date.
For any query about the assignment, contact at [email protected]TASK Marks=20
This task is based on the concepts of basic transformations like translation, scaling and shearing (along x direction) of a rigid body. For this purpose, you must implement the following:You must make the pentagon having five corners as shown in figure. Mark this picture as ‘Original’.
402e6e51-edfa-4c80-8515-9b8ccf569f68-image.pngNow apply shearing along x direction with shx=4 to the original pentagon. Mark the picture as ‘Sheared along x-axis’. (Your results of shearing could be different than the picture shown as per pixels taken)
ed0303f7-9635-4999-ac85-abcff2aa2442-image.pngNow scale the original pentagon by sx=2 and sy=3 and display it on the screen.
8ea569cc-012e-489e-8f17-4c4a95dd7272-image.pngTranslate the original picture somewhere on screen. Mark it as “Translated”.
bebb5b19-c607-41a6-a750-fb1a8527c4ca-image.pngWrite a code in c++ to implement above functions. It will be a good programming practice that you implement it by creating pentagon class.
-
Re: Assignment No. 01 Semester: Spring 2019 CS602: Computer Graphics
Assignment No. 01Semester: Spring 2020
CS602: Computer Graphics
Total Marks: 20Due Date: 1st June 2020
Objective
Install Dev-C++ from your LMS. Read out the file “Add graphics in Dev cpp” thoroughly and follow the instructions in the file properly provided to you on your LMS.
The objective of this assignment is to;
Learn and practice basic concepts of computer graphics like pixels, lines, circles and rectangles, texts etc using Dev-C++. (You can download Dev-C++ setup from LMS)
Learn to draw shapes and patterns by using graphics library functions.
Instructions:
You have to do the following steps first in order to perform the task.
Please read the following instructions carefully before submitting assignment: You should consult the recommended books, PowerPoint slides , Handouts and video lectures to clarify your concepts. You can take any help from your provided labs. It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The assignment is copied from Internet or from any other student.
• The submitted assignment does not open or file is corrupt.
Submission
You are required to submit your solution through LMS in zip format containing following files.
Your Project in zipped form containing both .cpp and .exe file.The word document (.doc/docx) or any other file format containing code will not be considered.
If the code files are missing in zip folder, your assignment will be awarded as zero.
Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).
It is recommended to upload solution file at least two days before its closing date.For any query about the assignment, contact at [email protected]
TASK
aae17c72-2d87-4a88-952b-795056e8db87-image.png Marks=20
ABC is a well-known graphic designing industry famous for greeting card designs, logos and visiting card designs. The company needs your services to write a code for following design for its client:Write a code in C++ for generating the above design. Your actual Student-ID should be displayed at the top left corner of the screen.
-
Re: CS602 GDB1 Solution and discussion
Please share idea solution?
-
Total Marks = [20]
Assignment No. 03
Semester: Fall 2019
Computer Graphics – CS602
Total Marks: 20Due Date: 22/01/2020
Objectives:
Objective of this assignment is to assess the understanding of students about
the concepts of lighting, mathematics of lighting and shading, color intensities, color mixing techniques, color saturations, techniques to deal saturation and light phenomena when it passes through objects.Instructions:
You should consult the recommended books, PowerPoint slides and audio lectures to clarify your concepts. You are supposed to submit your assignment in .doc format. Any other formats like scan images, PDF, ZIP, RAR and BMP etc, will not be accepted. It should be clear that your assignment will not get any credit if:
Please read the following instructions carefully before submitting assignment:
• The assignment is submitted after the due date.
• The assignment is copied from the Internet or any other student.
• The submitted assignment does not open or file is corrupt.Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).
It is recommended to upload solution file at least two days before its closing date.For any query about the assignment, contact at [email protected]
Question No:1 Marks=15
Suppose a Movie maker wants to create a night vision effect in a scene. The scene has light grey colored chair having RGB components (0.5,0.7,0.8). He has used four light sources. In terms of RGB the intensities of light sources are l1(0.4,0.7,0), l2(0.2,0.1,0.5), l3(-0.5,-0.6,0.5) and l4(-0.1,-0.2,0 ) ; Light source 3 and light source 4 are dark lights having negative colors.a) What will be the final light intensity? (5 marks)
b) Calculate the overall color contribution of light in relation to the object surface? (5 marks)
c) What color component(s) will remain absent from the scene? (3 marks)
d) Which color the object will look like in presence of the light sources? (2 marks)
Hint: (You may check final color intensities given in color.pdf file)Question No 2: Marks=05
Fiber Optics are widely used as optic cables to transmit light signals over long distances with minimal loss of data. It works on the principle of total internal reflection.
37631e22-c687-4cb1-a388-cbf3d9053061-image.png
In order to simulate the fiber optic in computer graphics, calculate the critical angle where the inner core of fiber has index of refraction 1.5 while the cladding has index of 1.3.
031ffaa6-db7d-4237-9d66-b07a9474a42e-image.pngBEST OF LUCK
-
ab04a169-5348-4e1e-b9f1-31795af10223-image.pngbae25011-f835-404a-9d97-d1041bd8b916-image.png 442d8c2b-a1bb-45e5-9184-9ccf7cd5e2ca-image.png 49935b7b-0462-4e6a-ad46-fe33168964b7-image.png 48d663bc-0abd-48d5-9dbc-201ddb2ad471-image.png 4f780cbb-f471-4912-95da-fcdc24fd8000-image.png 41ab4abc-0dbd-4085-a361-6cc844b1e5c9-image.png 5a0c944b-6ee7-441b-904b-6b38d7691e90-image.png 52e8ac97-e074-4bc9-8914-924e06fe8cb8-image.png c8e95b5f-83f2-4720-b208-afaa8ba7525b-image.png e612ac6b-bc65-4e46-a509-4f95ed2caebd-image.png
-
Assignment No. 02
Semester: Fall 2019
CS602: Computer Graphics
Total Marks: 20Due Date: 27th November 2019
Objective
Install Dev-C++ from your LMS. Read out the file “Add graphics in Dev cpp” thoroughly and follow the instructions in the file properly provided to you on your LMS.
The objective of this assignment is to;
Learn and practice basic concepts of computer graphics like pixels, lines, text etc using Dev-C++. (You can download Dev-C++ setup from LMS)
Learn to draw lines and rigid bodies by using graphics library functions.
Learn the concepts of filled area primitives.
Learn the basic transformations with fundamental matrix operations.
Instructions:
You have to do the following steps first in order to perform the task.
Please read the following instructions carefully before submitting assignment: You should consult the recommended books, PowerPoint slides , Handouts and video lectures to clarify your concepts. You can take any help from your provided labs. It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The assignment is copied from Internet or from any other student.
• The submitted assignment does not open or file is corrupt.
Submission
You are required to submit your solution through LMS in zip format containing following files.
Your Project in zipped form containing both .cpp and .exe file.The word document (.doc/docx) or any other file format containing code will not be considered.
If the code files are missing in zip folder, your assignment will be awarded as zero.Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).
It is recommended to upload solution file at least two days before its closing date.
For any query about the assignment, contact at [email protected]TASK Marks=20
This task is based on the concepts of basic transformations like translation, scaling and reflection (along axis) of a rigid body. For this purpose you have to implement the following:You have to make the house with basic shapes as shown in figure. At the top right corner, your VU-ID must be displayed. Mark this picture as ‘Original’.
109685f2-892c-4b64-bde0-934172d11396-image.pngNow apply translation to the original house and move it to new location on the screen. Mark the translated picture as ‘Translated’.
a7bd2850-75e2-4080-bf14-860a395c7cac-image.pngNow scale the original house by sx=2 and sy=2 and display it somewhere on the screen.
e723754f-a3ef-4b7f-85ba-8f744b6f8a8b-image.pngTake reflection along x axis of the original house and display it somewhere on the screen. Mark it as ‘Reflection along x axis’.
984f8434-11d7-47c8-b58a-4ac09b375760-image.pngWrite a code in c++ to implement above functions. It will be a good programming practice that you implement it by creating house class.
-
Total Marks 5
Starting Date Thursday, August 01, 2019
Closing Date Friday, August 02, 2019
Status Open
Question Title GDB-CS602
Question Description
Graded Discussion BoardAnti-aliasing is a technique that eliminates the staircase effect (visual defect) on the edges of objects in images at lower resolution. At moderate resolution, aliasing becomes negligible and can be ignored but the drawback becomes bold when the picture is moving. FXAA (Fast Approximate Anti-Aliasing) and SSAA (Super Sampling Anti-Aliasing) are two famous anti-aliasing algorithms suitable for games.
Discuss which algorithm will be best suitable for the new release of PC video game by ABC software house. Consider more users will generate more revenue and every user has not powerful system.
Read the following instructions carefully before sending your comments:
Your discussion must be based on logical facts and in depth knowledge of topic is must for that.
Your comments should be relevant to the topic i.e. clear and concise. (Maximum 4-5 lines answer).
You should post your comments on Graded Discussion Board & not on the Regular MDB. Both will run parallel to each other during the time specified above.
Books, websites and other reading material may be consulted before posting your comments.
GDB will have weight-age of 5% of your total subject marks.
No extra time will be given for discussion.
You cannot participate in the discussion after the due date or through e-mail. -
Spring 2019_CS602_1.doc
Assignment No. 01 Semester: Spring 2019
CS602: Computer GraphicsTotal Marks: 20
Due Date:12/05/2019
Objective
Install Dev-C++ from your LMS. Read out the file “Add graphics in Dev cpp” thoroughly and follow the instructions in the file properly provided to you on your LMS.
The objective of this assignment is to;
♣ Learn and practice basic concepts of computer graphics like pixels, lines, text etc using Dev-C++. (You can download Dev-C++ setup from LMS)
♣ Learn to draw lines by using graphics library functions.
Instructions:
You have to do the following steps first in order to perform the task.
Please read the following instructions carefully before submitting assignment: You should consult the recommended books, PowerPoint slides, Handouts and video lectures to clarify your concepts. You can take any help from your provided labs. It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The assignment is copied from Internet or from any other student.
• The submitted assignment does not open or file is corrupt.
Submission
You are required to submit your solution through LMS in zip format containing following files.
♣ Your Project in zipped form containing both .dev and .cpp file.
♣ An MS Word document containing screenshot of your program output/execution and your own Student-ID must be visible in the screenshot.Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).
It is recommended to upload solution file at least two days before its closing date.For any query about the assignment, contact at [email protected]
TASK Marks=20
A graphic designing company ABC needs your services to write a code for a particular design consisting of lines only. The design will be used for greeting cards printing, mug art printing and t-shirts printing in future. Following design is selected for this purpose:As you can see there is a rectangle in the centre of the screen. Inside the rectangle there are three horizontal lines above and below the rectangle at equal space.
Inside these three lined set there are two patterns. First pattern is the horizontal lines equidistance from each other followed by vertical lines. Second pattern is equidistance vertical lines followed by horizontal lines. The total number of lines in both patterns are equal.
(Hint: You can use loop for each pattern)Now you have to write a code for generating the above design. Your actual Student-ID should be displayed at the top left corner of the screen.
SOLVED CS602 GDB1 Solution and discussion
-
Total Marks 5
Starting Date Thursday, August 01, 2019
Closing Date Friday, August 02, 2019
Status Open
Question Title GDB-CS602
Question Description
Graded Discussion BoardAnti-aliasing is a technique that eliminates the staircase effect (visual defect) on the edges of objects in images at lower resolution. At moderate resolution, aliasing becomes negligible and can be ignored but the drawback becomes bold when the picture is moving. FXAA (Fast Approximate Anti-Aliasing) and SSAA (Super Sampling Anti-Aliasing) are two famous anti-aliasing algorithms suitable for games.
Discuss which algorithm will be best suitable for the new release of PC video game by ABC software house. Consider more users will generate more revenue and every user has not powerful system.
Read the following instructions carefully before sending your comments:
Your discussion must be based on logical facts and in depth knowledge of topic is must for that.
Your comments should be relevant to the topic i.e. clear and concise. (Maximum 4-5 lines answer).
You should post your comments on Graded Discussion Board & not on the Regular MDB. Both will run parallel to each other during the time specified above.
Books, websites and other reading material may be consulted before posting your comments.
GDB will have weight-age of 5% of your total subject marks.
No extra time will be given for discussion.
You cannot participate in the discussion after the due date or through e-mail. -
FXAA is the most interesting group of anti-aliasing techniques, these algorithms perform their duties during scene post-processing, after the rendering process. They are all shader-based and cause little to no performance drop, which is their most important advantage. Image quality can vary from one algorithm to another. For example, FXAA is known to make the image look a bit blurry, obviously to the chagrine of some players. Another commonly used technique is SMAA, which usually provides better quality than FXAA while getting around, or at least reducing, the blur effect. Game developers tend to implement their own post-process anti-aliasing algorithms as well. Some of the notable examples are CMAA in Grid: Autosport, AAA (heavily modified FXAA to eliminate blurring) in Metro: Last Light, and T-AA in Rainbow Six: Siege. There are also “injectors” that enable these techniques in games that don’t support post-process anti-aliasing natively.
50% Off on Your FEE Join US!


