C++ OpenGL in Xcode Follow Up Tutorial

C++ OpenGL in Xcode Follow Up Tutorial

C++ OpenGL in Xcode Follow Up Tutorial

OpenGL has a OpenGL.org landing page which will talk about all the platforms supported, and let’s just remind you about the purpose, with a quote from the webpage …

The Industry’s Foundation for High Performance Graphics
from games to virtual reality, mobile phones to supercomputers

… in other words, it is a big topic area, and we are chipping away at it.

Yesterday, we concentrated on the install, and if you are new to something, this is often exhausting enough in itself. Today we creep up on some of the concepts to representing a 3D object in a graphical way. Some of the concepts we see are …

  • object vertices definition
  • object colour
  • lighting … direction, type, angle, numbers of sources etcetera
  • perspective … field of view, aspect ratio, Z position

… with the help of the OpenSource brilliance of the following links …

  • The link has great software ideas for the code today … thanks … and thanks for the links below …
  • Another useful link

Think, if you are following along with us here, the next best advice we have is to examine the code of the experts amalgamated into our C++ programming source code you could call main.cpp of today.

The C++ code above changed from yesterday as per main.cpp of today.

Please take a careful look and learn. It’s all pretty amazing to me, as it has been for a very very very long time now.


Previous relevant C++ OpenGL in Xcode Primer Tutorial is shown below.

C++ OpenGL in Xcode Primer Tutorial

C++ OpenGL in Xcode Primer Tutorial

OpenGL is, to quote from the OpenGL.org landing page …

The Industry’s Foundation for High Performance Graphics
from games to virtual reality, mobile phones to supercomputers

… a big player for game developers for desktop, web, and mobile platforms. Today (and please note we have this blog posting in a WordPress 4.1.1 website at C++ OpenGL in Xcode Primer Tutorial) we are trying an install in a Mac OS X (Yosemite 10.10) environment using …

  • MacPorts … to install …
  • glew
  • glut and freeglut

… and the OpenSource brilliance of the following links …

  • The link has great software ideas for the code today … thanks … and thanks for the links below …
  • This link has good information regarding The OpenGL Extension Wrangler Library
  • Useful link talks about measures in Xcode to take to facilitate the compilation of the OpenGL application

… to create a Mac OS X Xcode C++ project to create our Hello World scenarios for today’s tutorial.

As you can see, there is so much more to learn with this subject area, and eventually feel that it will lead to some WebGL work down the track for some 3D rendering on the HTML canvas element.

If you enjoy such environments you may be very interested in researching Tcl/Tk in this subject area as well.

Here is the C++ programming source code you could call main.cpp

Onwards and upwards! Hope you enjoy today’s tutorial, which included a Mac Update of the Xcode Command Line tools, along the way.

If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.

This entry was posted in eLearning, Games, GUI, Operating System, Tutorials, Xcode and tagged , , , , , , , , , , , , , , , . Bookmark the permalink.

5 Responses to C++ OpenGL in Xcode Follow Up Tutorial

  1. When going to blogs, i generally hunt for a very nice content like yours ,

  2. Generally I do not read post on blogs, nevertheless I would like to say that this write-up quite forced me to have a look at and do so! Your writing taste has been surprised me. Thank you, quite wonderful post.

  3. I and my pals were reading the great information on the blog and so quickly developed an awful feeling I had not expressed respect to you for those secrets. Most of the men were as a consequence excited to see all of them and already have simply been using those things. Thanks for genuinely really considerate and for deciding upon this form of useful areas millions of individuals are really wanting to discover. Our honest apologies for not expressing appreciation to earlier.

  4. New Homes says:

    I not to mention my buddies happened to be examining the nice solutions from your web blog and so immediately got a terrible feeling I never thanked the web site owner for those techniques. These boys were as a consequence happy to learn them and have in effect pretty much been making the most of them. Thanks for indeed being quite considerate and for selecting variety of beneficial subject matter millions of individuals are really needing to be informed on. My very own sincere regret for not expressing appreciation to you sooner.

  5. I do agree with all the concepts you’ve introduced for your post. They are really convincing and can definitely work. Still, the posts are too quick for starters. May you please prolong them a little from next time? Thank you for the post.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>