We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 03
Semester: Fall 2012

CS602-Computer Graphics

 

Total Marks: 25

 

Due Date: 14/01/2013

 

Objective

 

To build concepts concerning Line, plane, lighting and shading in Computer Graphics.

 

Uploading instructions:

 

Please follow the instructions provided by University for assignment submission.

 

  • Your assignment must be in .doc format.(Any other formats like scan images, PDF,

      Zip, rar, bmp etc will not be accepted).

  • Save your assignment with your ID (e.g. bc020200786.doc).
  • No assignment will be accepted through email.

 

Rules for Marking:

 

It should be clear that your assignment will not get any credit if:

 

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupted.
  • Your assignment is copied from internet, handouts or from any other student

      (Strict disciplinary action will be taken in this case).

 

Assignment

 

                                                                                                     

QNo. 1                                                                                                                    [5]

Given are the points that lie on a plane P1,

                         

P1<4.0,5.0,6.0>

P2<9.0,9.0,8.0>

P3<2.0,3.0,4.0>

 

You are required to find the equation of a normal to the plane P1.

 

Q No. 2                                                                                                                  [5]

 

Find the point of intersection between the plane 2x−3y+6z−8 = 0 and the line

 

Q No. 3                                                                                                                 [15]

 

Differentiate between Ambient, Diffuse and Specular lighting with the help of an example.

 

 

 

 

 

You can send email at cs602@vu.edu.pk for any assignment related problem.

 

Your work must be original. No marks will be given in case of cheating or copying

from the internet, handouts or from any other student and strict action will be taken

against that student.

 

Deadline:

Your assignment must be uploaded/submitted on or before January 14, 2013.

 

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 1449

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

is it correct?

points of intersection (10,-2,-3)

kindly confirm it.

mja ya bta da k -3 k bad is value ko t ma put krna ha kia?

According 2 mine calculation 

t = 3

Here is proof:

2(-t + 7) – 3(2t + 4) + 6(t) – 8 = 0

 -2t + 14 -6t -12 + 6t – 8 = 0

-2t = -6

t = 3

no..its wrong.

2(-t + 7) – 3(2t + 4) + 6(t) – 8 = 0

 -2t + 14 -6t -12 + 6t – 8 = 0

-2t  -6 =0

2t=-6

t=-3



yup u r write....Thnx a ton

wud u plz solve the following 4 me. i get hung in the middle of que 1 

=(P1-P2) x (P3-P2)

={(4.0-9.0),(5.0-9.0),(6.0-8.0)} x {(2.0-9.0),(3.0-9.0),(4.0-8.0)}

={-5.0,-4.0,-2.0} x {-7.0,-6.0, -4.0}

see cross product from handouts

then just insert your values.

it is not like this in the way you are going.

hmmm.......got it....!!!!

[Image: untitled.bmp?width=721]

Assignment No. 03
Semester: Fall 2012
CS602-Computer Graphics

Total Marks: 25

Due Date: 14/01/2013


Objective

To build concepts concerning Line, plane, lighting and shading in Computer Graphics.

Uploading instructions:

Please follow the instructions provided by University for assignment submission.

■Your assignment must be in .doc format.(Any other formats like scan images, PDF,
Zip, rar, bmp etc will not be accepted).
■Save your assignment with your ID (e.g. bc020200786.doc).
■No assignment will be accepted through email.

Rules for Marking:

It should be clear that your assignment will not get any credit if:

■The assignment is submitted after due date.
■The submitted assignment does not open or file is corrupted.
■Your assignment is copied from internet, handouts or from any other student
(Strict disciplinary action will be taken in this case).


Assignment



QNo. 1 [5]
Given are the points that lie on a plane P1,

P1<4.0,5.0,6.0>
P2<9.0,9.0,8.0>
P3<2.0,3.0,4.0>

You are required to find the equation of a normal to the plane P1.

Q No. 2 [5]

Find the point of intersection between the plane 2x−3y+6z−8 = 0 and the line


Q No. 3 [15]

Differentiate between Ambient, Diffuse and Specular lighting with the help of an example.





You can send email at cs602@vu.edu.pk for any assignment related problem.

Your work must be original. No marks will be given in case of cheating or copying
from the internet, handouts or from any other student and strict action will be taken
against that student.


Deadline:
Your assignment must be uploaded/submitted on or before January 14, 2013.




CS602 Computer Graphics Assignment No. 03 Solutions Question No. 03

Re: Whats the difference in diffuse, ambient and specular colors? 
Specular color sets the color for highlights.
Diffuse color is the color of the mesh when it is illuminated.
Ambiant color is the color of the mesh when it's not illuminated.
Note that the ambient color works also when the mesh is illuminated, therefore, on illuminated parts of the mesh, you get the add of both diffuse and ambiant colors.
To change the color of shadows, you can play with the ambient color but that requires some fine adjusting on every material group. It would be more simple to use a light dedicated to add a colored ambiance, such as an IBL. 
Whats the difference in diffuse, ambient and specular colors? 
In the material room, what is the difference among diffuse, ambient and specular colors? Also, how can you change the color of shadows in poser?
Re: Whats the difference in diffuse, ambient and specular colors? 
So if I wanted the shadows of my figure to be an orangy or any warm color, I would make the ambient color orange or make the color of the IBL orange? 
Yes, that's the idea. :) 

................................
This is the diffuse float_color value for the Light. This parameter is 3 floating point numbers (red, green, blue). Color component values (red, green and blue) should be between 0.0 and 1.0, though using values greater than 1 can make the objects brighter. When calculating the color and shading of an object, we take each light source within range and cumulatively multiply their diffuse and ambient colors by the diffuse and ambient colors of the object respectively. The diffuse light is adjusted for attenuation (distance to light) and the angle between the surface and the light (shading on a per vertex basis using vertex normals) while ambient light is NOT adjusted for distance or angle. Emissive is then added to the diffuse and ambient values. If there is a texture, it will be adjusted by the sum of the lit diffuse, ambient and emissive values. So setting diffuse, ambient and/or emissive color values to (1, 0, 0) will eliminate all greens and blues from the displayed texture. Then the calculated lit specular value is added to produce the final shading for the 3D picture part. Black is (0.0, 0.0, 0.0). White is (1.0, 1.0, 1.0). 
ambient This is the ambient float_color value for the Light. This parameter is 3 floating point numbers (red, green, blue). Color component values (red, green and blue) should be between 0.0 and 1.0, though using values greater than 1 can make the objects brighter. When calculating the color and shading of an object, we take each light source within range and cumulatively multiply their diffuse and ambient colors by the diffuse and ambient colors of the object respectively. The diffuse light is adjusted for attenuation (distance to light) and the angle between the surface and the light (shading on a per vertex basis using vertex normals) while ambient light is NOT adjusted for distance or angle. Emissive is then added to the diffuse and ambient values. If there is a texture, it will be adjusted by the sum of the lit diffuse, ambient and emissive values. So setting diffuse, ambient and/or emissive color values to (1, 0, 0) will eliminate all greens and blues from the displayed texture. Then the calculated lit specular value is added to produce the final shading for the 3D picture part. Black is (0.0, 0.0, 0.0). White is (1.0, 1.0, 1.0). 
specular This is the specular float_color value for the Light. This parameter is 3 floating point numbers (red, green, blue). Color component values (red, green and blue) should be between 0.0 and 1.0, though using values greater than 1 can make the specular highlight brighter. Specular highlights are affected by attenuation. The specular highlights are added to the lit diffuse, ambient and emissive values to get the final displayed color. Setting specular to anything other than black will incur a slight performance hit for each time the picture is drawn.

RSS

Latest Activity

Maria replied to imran's discussion ENG101 k quiz koi kara sakta hai plzz
2 hours ago
Maria replied to imran's discussion ENG101 k quiz koi kara sakta hai plzz
2 hours ago
NOORI added a discussion to the group SOC101 Introduction to Sociology
2 hours ago
NOORI joined +M.Tariq Malik's group
2 hours ago
NOORI added a discussion to the group ENG201 Business and Technical English Writing
2 hours ago
NOORI replied to Nasir's discussion Eng201. Quizz no 1.. Dated 01-06-2020 to 03-06-2020 in the group ENG201 Business and Technical English Writing
2 hours ago
Profile IconNOORI, Haroon Bahadar and Nasir joined +M.Tariq Malik's group
2 hours ago
+ ! ! ! ! ! ! !pคຖ໓คค ! ! posted a discussion
3 hours ago
naila mukhtar joined +M.Tariq Malik's group
3 hours ago
+ ! ! ! ! ! ! !pคຖ໓คค ! ! replied to MUHAMMAD ADIL JAVEED's discussion CS603 Software Architecture and Design | Assignment No 01 | Spring 2020 | Last date 01/06/2020 in the group CS603 Software Architecture and Design
3 hours ago
Profile Icon+ ! ! ! ! ! ! !pคຖ໓คค ! !, Muhammad Irshad and Saddam Hussain joined +M.Tariq Malik's group
4 hours ago
Haroon Bahadar liked Nasir's discussion Eng201. Quizz no 1.. Dated 01-06-2020 to 03-06-2020
4 hours ago

Today Top Members 

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.