May 11, 2018
Alec
After several weeks doing paper-work, accounting, making a corporate logo and a web site, I eventually got to the fun stuff … writing the game ! Most of my recent experience has been with writing server and low level code (ie. not UI), and so I figured I’d start with the tasks I knew very little about … rendering.
I started with Direct 3D tutorials on the internet (there are thankfully many of these). After a couple of days of typing, I was able to render a triangle with a simple texture.
I then, of course, tried to draw a lot of triangles. My first lesson (among many) was that the order of the vertices (corners of the triangle) is important, and if you provide them in the wrong direction, the texture is drawn on the side facing away from the camera. I also struggled with linear transforms at first …