{"id":15398,"date":"2015-06-14T05:01:16","date_gmt":"2015-06-13T19:01:16","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=15398"},"modified":"2015-06-14T09:28:00","modified_gmt":"2015-06-13T23:28:00","slug":"c-opengl-in-xcode-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/c-opengl-in-xcode-primer-tutorial\/","title":{"rendered":"C++ OpenGL in Xcode Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/OpenGL\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"C++ OpenGL in Xcode Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/OpenGL\/OpenGL-63of.jpg\" title=\"C++ OpenGL in Xcode Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">C++ OpenGL in Xcode Primer Tutorial<\/p><\/div>\n<p><a target=_blank title='OpenGL information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/OpenGL'>OpenGL<\/a> is, to quote from the <a target=_blank title='OpenGL landing page' href='http:\/\/OpenGL.org'>OpenGL.org<\/a> landing page &#8230;<\/p>\n<blockquote><p>\nThe Industry&#8217;s Foundation for High Performance Graphics<br \/>\nfrom games to virtual reality, mobile phones to supercomputers\n<\/p><\/blockquote>\n<p> &#8230; a big player for game developers for desktop, web, and mobile platforms.  Today we are trying an install in a Mac OS X (Yosemite 10.10) environment using &#8230;<\/p>\n<ul>\n<li><a target=_blank title='MacPorts' href='https:\/\/www.macports.org\/install.php'>MacPorts<\/a> &#8230; to install &#8230;<\/li>\n<li>glew<\/li>\n<li>glut and freeglut<\/li>\n<\/ul>\n<p> &#8230; and the OpenSource brilliance of the following links &#8230;<\/p>\n<ul>\n<li><a target=_blank title='OpenGL coding ideas' href='http:\/\/duriansoftware.com\/joe\/An-intro-to-modern-OpenGL.-Chapter-2:-Hello-World:-The-Slideshow.html'>The link<\/a> has great software ideas for the code today &#8230; thanks &#8230; and thanks for the links below &#8230;<\/li>\n<li><a target=_blank title='glew' href='http:\/\/glew.sourceforge.net\/'>This link<\/a> has good information regarding The OpenGL Extension Wrangler Library<\/li>\n<li><a target=_blank title='Useful link regarding compilation of OpenGL application' href='http:\/\/lazyfoo.net\/tutorials\/OpenGL\/01_hello_opengl\/mac\/xcode\/index.php'>Useful link<\/a> talks about measures in Xcode to take to facilitate the compilation of the OpenGL application<\/li>\n<\/ul>\n<p> &#8230; to create a Mac OS X Xcode C++ project to create our Hello World scenarios for today&#8217;s tutorial.<\/p>\n<p>As you can see, there is so much more to learn with this subject area, and eventually feel that it will lead to some <a target=_blank title='WerbGL' href='https:\/\/www.safaribooksonline.com\/library\/view\/webgl-up-and\/9781449326487\/ch01.html'>WebGL<\/a> work down the track for some 3D rendering on the HTML canvas element.<\/p>\n<p>If you enjoy such environments you may be very interested in researching <a target=_blank title='Tcl information from Wikipedia ... thanks' href='http:\/\/en.wikipedia.org\/wiki\/Tcl'>Tcl\/Tk<\/a> in this subject area as well.<\/p>\n<p>Here is the C++ programming source code you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/OpenGL\/main.cpp_GETME\" title=\"main.cpp\">main.cpp<\/a><\/p>\n<p>Onwards and upwards!  Hope you enjoy today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/OpenGL\/\" title='Click picture'>tutorial<\/a>, which included a Mac Update of the Xcode Command Line tools, along the way.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d15398' onclick='var dv=document.getElementById(\"d15398\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/?tag=graphics\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d15398' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>OpenGL is, to quote from the OpenGL.org landing page &#8230; The Industry&#8217;s Foundation for High Performance Graphics from games to virtual reality, mobile phones to supercomputers &#8230; a big player for game developers for desktop, web, and mobile platforms. Today &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/c-opengl-in-xcode-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,15,17,19,29,37,40],"tags":[176,477,1587,502,541,558,611,707,723,725,735,880,997,1246,1319,1473],"class_list":["post-15398","post","type-post","status-publish","format-standard","hentry","category-elearning","category-games","category-gui","category-installers","category-operating-system","category-tutorials","category-xcode","tag-c","tag-games-2","tag-glew","tag-glut","tag-graphics","tag-hello-world","tag-install","tag-linux","tag-mac","tag-mac-os-x","tag-macports","tag-opengl","tag-programming","tag-tcltk","tag-tutorial","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/15398"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=15398"}],"version-history":[{"count":10,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/15398\/revisions"}],"predecessor-version":[{"id":15412,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/15398\/revisions\/15412"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=15398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=15398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=15398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}