{"id":110,"date":"2011-06-05T16:42:54","date_gmt":"2011-06-05T20:42:54","guid":{"rendered":"http:\/\/blog.espol.edu.ec\/arcental\/2011\/06\/05\/gluperspective-and-glviewport\/"},"modified":"2011-06-05T16:43:38","modified_gmt":"2011-06-05T20:43:38","slug":"gluperspective-and-glviewport","status":"publish","type":"post","link":"https:\/\/blog.espol.edu.ec\/arcental\/2011\/06\/05\/gluperspective-and-glviewport\/","title":{"rendered":"gluPerspective() and glViewport()"},"content":{"rendered":"<p>We\u00b4ve searched in a OpenGL manual what gluPerspective() does, we also look something about glViewport():<\/p>\n<p>Well, gluPerspective has 4 arguments:<\/p>\n<blockquote><p><strong>fovy.-<\/strong><strong> <\/strong>Specifies the field of view angle, in degrees, in the y direction.<\/p><\/blockquote>\n<blockquote><p><strong>aspect.-<\/strong> Specifies the aspect ratio that determines<br \/>\nthe field of view in the x direction.<br \/>\nThe aspect ratio is the ratio of x (width) to y (height).<\/p><\/blockquote>\n<blockquote><p><strong>zNear.-<\/strong> Specifies the distance from the viewer to the near clipping plane<br \/>\n(always positive).<\/p><\/blockquote>\n<blockquote><p><strong>zFar.-<\/strong> Specifies the distance from the viewer to the far clipping plane<br \/>\n(always positive).<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>We\u00b4ve searched in a OpenGL manual what gluPerspective() does, we also look something about glViewport(): Well, gluPerspective has 4 arguments: fovy.- Specifies the field of view angle, in degrees, in the y direction. aspect.- Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of [&hellip;]<\/p>\n","protected":false},"author":1684,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6655],"tags":[],"class_list":["post-110","post","type-post","status-publish","format-standard","hentry","category-cosas-bacanes"],"_links":{"self":[{"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/posts\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/users\/1684"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/comments?post=110"}],"version-history":[{"count":1,"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/posts\/110\/revisions"}],"predecessor-version":[{"id":111,"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/posts\/110\/revisions\/111"}],"wp:attachment":[{"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/media?parent=110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/categories?post=110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/arcental\/wp-json\/wp\/v2\/tags?post=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}