CS602-Computer Graphics Assignment no. 2 Solution FALL 2019 Due date: 27 November, 2019 | SUPERSTARWEBTECH

Subject: CS602-Computer Graphics

Semester: FALL 2019 
Assignment No. 2

Due date: 27 November, 2019

CS602-Computer Graphics Assignment 2 #Questions

Question no. 1:

This task is based on the concepts of basic transformations like translation, scaling and reflection (along axis) of a rigid body. 

CS602-Computer Graphics Assignment 2 #Solution Video

CS602-Computer Graphics Assignment 2 #Solution Download!

CS602 Assignment_2 Solution FALL_2019 —————————————————— Download

Leave a Comment

Your email address will not be published.

CS602-Computer Graphics Assignment no. 2 Solution SPRING 2019 Due date: 26 May, 2019 | SUPERSTARWEBTECH

Subject: CS602-COMPUTER GRAPHICS
Semester: SPRING 2019
Assignment No. 1
Due date: 26 May 2019

CS602 ASSIGNMENT 2 SOLUTION SPRING 2019

CS602-Computer Graphics Assignment 2 Solution #Question

This task is based on the concepts of basic transformations like translation, scaling, and reflection (along the axis) of a rigid body. For this purpose you have to implement the following:

1)      You first have to divide your screen into four quadrants as shown in the figure:
CS602 ASSIGNMENT 2 SOLUTION 2019


2)      Take three points x1(1,0), x2(3,0) and x3(3,2) as three coordinates and draw a triangle in the first quadrant. (Hint: Can use line function or fillpoly function of graphics.h to draw a triangle)

CS602 ASSIGNMENT 2 SOLUTION SPRING 2019

3)      Now translate the above triangle to a new location with tx=2 and ty=1.
CS602 ASSIGNMENT 2 SOLUTION SPRING 2019
4)      Now scale the translated triangle by sx=2 and sy=2. The yellow triangle in fig is the scaled one.
CS602 ASSIGNMENT NO 2 SOLUTION SPRING 2019
5)      Take reflection along the x-axis of the scaled triangle (the yellow one) from step 4. This will be the blue triangle in the figure.
CS602 ASSIGNMENT NO 2 SOLUTION SPRING 2019

6)      Take reflection along the y-axis of the scaled triangle (the yellow one) from step 4. This will be the magenta triangle in the figure.
CS602 ASSIGNMENT 2 SOLUTION SPRING 2019

Write a code in c++ to implement the above functions. It will be a good programming practice that you implement it by creating a triangle class. 

👉 IMPORTANT NOTE: WATCH👀 THIS TUTORIAL FIRST. Then you will be able to solve your assignment.

CS602 ASSIGNMENT 2 SOLUTION SPRING 2019 OUTPUT PREVIEW

CS602-Computer Graphics Assignment 2 Solution Watch Video!

CS602-Computer Graphics Assignment 1 Solution! Download!

👉 IMPORTANT NOTE: WATCH👀 THIS TUTORIAL FIRST. Then you will be able to solve your assignment.
CS602 Assignment_2 Solution SPRING_2019 ———————- Download

Leave a Comment

Your email address will not be published.

CS602-Computer Graphics Assignment no. 2 Solution FALL 2018 Due date: 31 January, 2019 | SUPERSTARWEBTECH

Subject: CS602-Computer Graphics
Semester: FALL 2018
Assignment No. 2
Due date: 31 January, 2019

CS602 ASSIGNMENT 2 SOLUTION FALL 2018

CS602-Computer Graphics Assignment 2 #Question

Question no. 1:
Incident Light ray is passing through glass, with refractive index of 1.1, on an interface separating glass and water with refractive index 1.25. What is the angle of refraction if the angle of incidence of the ray in glass is 35°?

Question no. 2:
Given are the points that lie on a plane P, P1<3.0,6.0,7.0>,
P2<4.0,3.0,5.0>,
P3<7.0,4.0,2.0>.
You are required to find the equation of a normal to the plane P.

Question no. 3:

In RGB model we are required to simulate the entire visible spectrum by three colors with a limited range. Suppose a light is coming from a particular source and is represented by following intensity.
Light color id = [0.43314, 0.32632, 0.62343]
Surface color is represented with the following rgb values.
Surface color Cs = [0.23435, 0.62527, 0.32333]
You are required to calculate the color combination of this surface from a given light by using piecewise multiplication of the color values.
id Cs =?

CS602-Computer Graphics Assignment 2 Solution ! Download !

  CS602 Assignment_2 Solution FALL_2018 ———————- Download

Leave a Comment

Your email address will not be published.