Category: C#

  • Unity 4D #4: Creating 4D Objects

    Unity 4D #4: Creating 4D Objects

    This article will explain how to create four dimensional objects, in a format compatible with the Unity4D extension. You can find all the articles in this series here:

  • Unity 4D #3: Rendering 4D Objects

    Unity 4D #3: Rendering 4D Objects

    This article will explain how to render 4D objects in Unity, using three separate technique: orthographic projection, perspective projection and cross-section. You can find all the articles in this series here: A link to download the Unity4D package can be found at the end of this article.

  • Unity 4D #2: Extending Unity to 4D

    Unity 4D #2: Extending Unity to 4D

    This article will show how to extend Unity to support four-dimensional geometry. This is the second article in a series of four, and the first one which will probably start discussing the Mathematics and the C# code necessary to store and manipulate 4D objects in Unity. You can find all the articles in this series…

  • Slippy Maps with Unity

    Slippy Maps with Unity

    A slippy map (sometimes also referred to as tiled web map, tile map, or simply interactive map) is a web-based map that can be zoomed in and out seamlessly. The most popular slippy map you might be familiar with is Google Maps, alongside many others like that. This tutorial will show you how to create…

  • Seam Carving

    Seam Carving

    Seam carving is a technique that can be used to resize images, which is also known as liquid rescaling. Compared to the traditional resizing tool, it does not “stretch” the image, but it selectively removes the pixels which contain the least amount of information

  • Sunrise Sort: The Forgotten Sorting Algorithm

    Sunrise Sort: The Forgotten Sorting Algorithm

    This article is about an interesting, yet forgotten sorting algorithm: the Sunrise sort. It is possibly the only one to have a rather unusual property: it is fully unstable. Sorting has been a recurring theme on this blog, from The Incredibly Challenging Task of Sorting Colours to GPU Sorting (animation below). If sorting algorithms—especially the…

  • Delegates, Lambda Expressions & Closures in C#

    Delegates, Lambda Expressions & Closures in C#

    If you are familiar with programming, you might have heard of a specific paradigm called functional programming. Most modern languages, such as Java and C#, have integrated some functional elements over time. Other, like Scala and Haskell, were built around that very idea of functional programming. This online course will look at some of the functional…

  • Colour Curve Correction

    Colour Curve Correction

    This is the third and final part of the tutorial dedicated to one of the most used Mathematical tools in Game Development: linear interpolation! In this part, we will explore how to use it to correct colour curves. You can find a link to download the C# scripts and the Unity package used at the…

  • Piecewise Interpolation

    Piecewise Interpolation

    This is the second part of the tutorial dedicated to one of the most used Mathematical tools in Game Development: linear interpolation! In this part, we will explore how to extend the concept of linear interpolation to non-linear mappings. The final part will explore how to use them to correct colour curves. You can find…

  • Inverse Kinematics in 3D

    Inverse Kinematics in 3D

    This tutorial will teach you how to master inverse kinematics in 3D: the technique that solves the problem of moving a robotic arm to reach for a specific target. You can read the rest of this online course here: A link to download the entire Unity package can be found at the end of this…