Debug your DirectX application using Visual Studio

As every programmer does, I found myself in a situation where the dumb computer doesn’t do what I want it to do. During the early days of debugging my graphics applications, I was coloring things in particular colors to make sense of the debugging situation I was in. For example for a simple case of displaying textures on objects, to understand why a texture wouldn’t render on a particular object, I’d first modify the pixel shader to render UV coordinates to see if I was getting the data from vertex buffer correctly.

Read More

Post Mortem - Unlit (C++/OpenGL)

This year, for the first time I took part in a group project with 3 other programmers for 4 months. We have made a 2.5D platformer called Unlit where the player explores the mysterious cave Shushanna has fallen into with the help of the light being Nyx.

Read More

Simple trajectory motion example in Unity3D

In this tutorial, I’ll demonstrate how to implement an example of simple trajectory motion in Unity3D. In our scene, we will have a plane and a cube. The cube will jump to a target position that is randomly assigned on every jump command. The calculations will be based on an initial velocity and for simplicity’s sake, the projectile will land on the same height as its origin. The whole tutorial can be found on my public GitHub repository.

Read More