Page 2 of 2

Re: Problem Set #1

Posted: Wed Apr 14, 2010 11:57 pm
by angus
Hi, If I print out all of the projection steps this is what I get:

eyeVec: +1.767767 +1.000000 -11.060660 +1.000000
clipVec: +2.296397 +1.732051 +9.263906 +11.060660
deviceVec: +0.207618 +0.156596 +0.837555
windowVec: +241.523681 +173.489341 +0.918777

Also, Ben pointed out that there was a sign error in my slide. The redbook has the correct projection matrix. Or you can find it here (thanks Ben!):

http://www.songho.ca/opengl/gl_projectionmatrix.html

Re: Problem Set #1

Posted: Wed Apr 21, 2010 9:46 am
by dannyfan
Finally... I used 0.707 instead of cos45 and 0.577 instead of tan30, so a bit deviated...
Xw=242.06
Yw=168.64