How to program an arcball (orbiting) camera in C++ and OpenGL

Visit this page for a Unity3D example using spherical coordinates.

I recently had to implement a drag and drop camera feature for a college course. The OpenGL program, we had to submit, had to contain a camera that can be controlled by moving the mouse around. The camera itself should always look at a fixed point in the 3D space while being rotated on two different axes like it’s stuck to the inside of a sphere.

Continue reading How to program an arcball (orbiting) camera in C++ and OpenGL

C sockets – A hello world introduction

While sockets are no new concept for me, I recently had to write an application in C that uses sockets to communicate. And while trying to figure out, what the best way of doing so is, I came across a lot of tutorials. But most of them either completely missed the point, were too complicated or used obsolete functions in the code. In this article, I want to try to give you a simple and short overview of sockets and an up to date ‘hello world’ example for a client and a server application. Continue reading C sockets – A hello world introduction

Mac Apps with Xamarin – Hello World Tutorial

Some time ago I wrote an article about how to get started with Windows 10 App development. This article will introduce you to Mac-Apps and will guide you through the process of programming one with Xamarin and C#.

Easy to follow video included at the end of the article.

Continue reading Mac Apps with Xamarin – Hello World Tutorial

Windows 10 apps in C# – Hello World Tutorial

Introduction

In this article I’ll take a look at how to write Windows 10 apps and I’ll guide you through the steps you’ll have to take to create a runnable ‘Hello World’ example app.

Please note, that this will not be a programming tutorial. We have written one here. Our programming tutorial series is written for Java, however C# is very similar to Java. This article should just give you a quick overview on how to write an app for Windows 10. Continue reading Windows 10 apps in C# – Hello World Tutorial