RGB to HSV & HSV to RGB Color Conversions


Rainbows seem to be pretty popular lately, so I thought I’d share this.

While working on a graphics assignment for school, I decided I wanted my lights to cycle through the full spectrum of colors. The problem was doing so while using RGB, since the loop can get a bit messy to achieve the effect. That’s when I decided to make an RGB to HSV converter, as well as an HSV to RGB converter. For those of you who don’t know, RGB and HSV are just two different ways of representing a color as a collection of three numbers. RGB stands for Red Channel, Green Channel and Blue Channel, while HSV stands for Hue, Saturation and Brightness (V is used instead of B to avoid confusion with Blue). Below is my implementation, which is the classical one with a slight performance increase trick that I found. I will provide all the links to my resources below.

Read More


Template Metaprogramming in C++


Recently, I wrote an Introspection system for C++ with the aid of Randy Gaul’s Blog. There are many ways to achieve this in C++, but the one used by Randy was through Template Metaprogramming. So in order for me to fully understand his implementation, I had to do some research on the subject. And I fell in love with it!

I decided to write a series of posts where I explain what template metaprogramming is, some good reference material to start learning it and then just post some fun programs I’ve made with it.

Read More

Topics I want to cover

As promised, here’s a list of topics I’ve been meaning to cover throughout the life of this blog. I will probably talk about other things not listed, but what is here should give you a general idea of the direction I want to take this blog into.

  • Production Methodologies (Agile/Scrum, Waterfall)
  • Books I’ve read or will read about programming, production, leadership, personal growth, etc.
  • Reviews/Recommendations of videos you should watch from these sites: GDCVault, TED Talks, Extra Credits, among others
  • Comment about articles I come across that I find interesting
  • Updates about projects I’m working on
  • Code tutorials on topics I’m familiar with or maybe about something I’m learning at the moment
  • Coursera course reviews
  • Anything else I feel like writing about 🙂

If there’s any other topic you’d like me to talk about, don’t hesitate to Contact me to let me know or just leave a comment below.

It’s alive!

After a long time of tweaking and trying to make everything perfect (yes, I’m perfectionist), I finally decided the website is at a point where I’m comfortable showing it. There are still a few pages that are empty, but most of the information I wanted is already in. Now it’s time for me to start making blog posts!

Let’s start over… Hello! I’m Alejandro Hitti, a Computer Science student specializing in videogames, more specifically, in videogame production. I am also currently working on an indie game called SUPER III, developed by SUPER 91 Studios.

There are a few reasons I created this website. First, it was a nice way of displaying my work, like a portfolio. Second, I am at a point in my career where I want to experiment with tons of different techniques and learn interesting topics that will help me improve professionally. My idea was to share this experience and leave a crum trail of sorts to anyone interested in pursuing a similar career path later on. It is also a way of motivating myself to learn, as I feel the pressure of keeping my website updated.

I believe this post has gone on for long enough already. Shortly I will post a list of topics I will be covering. If you are interested in my project, I would greatly appreciate your support and I hope you find what I talk about to be interesting and a great learning experience as well.