Introduction to OpenGL: A 3D Text Rendering Tutorial

Introduction to Open GL

Links:

With the availability of tools like DirectX and OpenGL, writing a desktop application that renders 3D elements is not very difficult nowadays. However, like many technologies, there are sometimes obstacles making it difficult for developers trying to enter into this niche. Over time, the race between DirectX and OpenGL has caused these technologies to become more accessible to developers, along with better documentation and an easier process of becoming a skilled DirectX or OpenGL developer.

DirectX, introduced and maintained by Microsoft, is a technology specific to the Windows platform. On the other hand, OpenGL is a cross-platform API for the 3D graphics arena whose specification is maintained by the Khronos Group.

In this introduction to OpenGL, you will write a very simple application to render 3D text models. We will be using Qt/Qt Creator to implement the UI, making it easy to compile and run this application on multiple platforms. The source code of the prototype built for this article is available on GitHub.

The goal of this simple application is to generate 3D models, save them to a file with a simple format, and to open and render them on screen. The 3D model in the rendered scene will be rotatable and zoomable, to give a better sense of depth and dimension.

Get Hostname from IP Address

While doing system troubleshooting I will sometimes come across an IP address which is causing some issue and is getting reported on an error log.  It could be a server, or a network user, and it would be helpful to know the Hostname in order to dig in further.

CMD

The easiest method that I have come across is to use the windows command prompt.

  • Start > Run > CMD
  • ping -a [IP ADDRESS}

There are other methods such as using power shell, java, C#, etc, but if you are not trying to integrate this hostname into some other commands then CMD should be all you need.