Assignment No. 04
Total Marks: 20
Due Date: 23/01/2013
To build concepts concerning Lighting and shading and OpenGl programming in Computer Graphics.
Please follow the instructions provided by University for assignment submission.
Rules for Marking:
It should be clear that your assignment will not get any credit if:
(Strict disciplinary action will be taken in this case).
Question No. 1 
Suppose a light ray traveling through the air intersects the surface of diamond at an angle of 50o degrees, Find at which angle this light ray will be refracted from the diamond’s surface?
Refractive Index of Diamond, n diamond = 2.4
Refractive Index of Air, n air = 1
Question No. 2 
Write down the code for drawing a triangle using OpenGL and glut library function in C. Your program should keep track of following things.
Sample output of your program is as follows.
Note: Copy your code in MS Word (.doc) file along with question #1. You are required to send single MS Word file containing answer of both questions.
You can send email at firstname.lastname@example.org 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.
Your assignment must be uploaded/submitted on or before January 23, 2013.
+ 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)
ans for question 1= 18.6
is it correct?
formula e bta den plz
Is semester main to rog k ilawa or kuch b nahi mila...
first question and second question kasy slove karna hain. book ka kon sa page number per hain.
first question ka answer kasy 18.6 aya hain. pettren bata dana
koi tu upload kar do sol
plaz plaz plaz plaz
Aj extended day hain
please please koi assignment solution share kary plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
for first question solution.
see page 292..hand outs
follow given example.
second question idea solution .
follow given link..there r given 4 vertices..u make it with 3.
please sny2ksa ap help kar dain na pleeeeeeeeeeeeeeeeees
bro second question ka koie solution up load karo 1 ho geya hy