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.
Assignment No. 01 Semester: Spring 2019 CS602: Computer Graphics
Assignment No. 01
Semester: Spring 2019
CS602: Computer Graphics
Total Marks: 20
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.
You have to do the following steps first in order to perform the task.
- 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.
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.
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]
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.
CS606 Assignment 3 Solution and Discussion
CS606 - Compiler Construction48
MTH603 Quiz 1 Solution and Discussion
MTH603 - Numerical Analysis29
CS508 Quiz 2 Solution and Discussion
CS508 - Modern Programming Languages20
ENG101 Assignment 2 Solution and Discussion
ENG101 - English Comprehension10
MTH603 Quiz 2 Solution and Discussion
MTH603 - Numerical Analysis9
PSY610 Assignment 2 Solution and Discussion
PSY610 - Neurological Bases of Behaviour8
CS431 Assignment 3 Solution and Discussion
CS431 - Wireless Communication8
CS314 Assignment 3 Solution and Discussion
CS314 - Introduction to Cellular Networks6
CS315 Assignment 2 Solution and Discussion
CS315 - Network Security6
EDU431 Assignment 3 Solution and Discussion
EDU431 - Test Development & Evaluation5
SOLVED SOC101 Assignment 1 Solution and Discussion
SOC101 - Introduction to Sociology5
CS315 Assignment 3 Solution and Discussion
CS315 - Network Security5
BT603 Assignment 2 Solution and Discussion
BT603 - Fermentation Technology5
VULMS not working ! How to do
CS507 Assignment 3 Solution and Discussion
CS507 - Information Systems4
PAK301 Assignment 2 Solution and Discussion
PAK301 - Pakistan Studies4
ENG505 Assignmnet 2 Solution and Discussion
ENG505 - Language Learning Theories4
EDU411 Assignment 2 Solution and Discussion
EDU411 - Teaching of Urdu4
CS311 Assignment 3 Solution and Discussion
CS311 - Introduction to Web Services Development4
ENG301 Assignment 2 Solution and Discussion
ENG301 - Business Communication4