Problem Set #1

Fundamentals of Spatial Computing
Course website: http://www.mat.ucsb.edu/594cm/2010/index.html
angus
Posts: 43
Joined: Fri Apr 02, 2010 1:54 pm

Re: Problem Set #1

Post by angus » Wed Apr 14, 2010 11:57 pm

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

dannyfan
Posts: 10
Joined: Mon Mar 29, 2010 1:33 pm

Re: Problem Set #1

Post by dannyfan » Wed Apr 21, 2010 9:46 am

Finally... I used 0.707 instead of cos45 and 0.577 instead of tan30, so a bit deviated...
Xw=242.06
Yw=168.64

Post Reply