On The Subject Of Gamedev

  • A Metal Renderer in Swift Playgrounds (Part 10)
    A Metal Renderer in Swift Playgrounds (Part 10)
    Since this is a toy project, I’ve spent maybe 80% of my time on building things, and 20% on architecting and refactoring. This isn’t sustainable after a certain point because it leads to spaghetti, so …
  • A Metal Renderer in Swift Playgrounds (Part 9)
    A Metal Renderer in Swift Playgrounds (Part 9)
    I’ve now added nice rendering features like bloom and planetary shadows, and was using noise to provide a nebula effect on the skybox. I had a ringed planet and a spaceship orbiting it, but I wanted to make the …
  • A Metal Renderer in Swift Playgrounds (Part 8)
    A Metal Renderer in Swift Playgrounds (Part 8)
    With several features involving light, I wanted to explore the absence of light. One of the resources I’ve used as a reference when working on graphics projects is LearnOpenGL.com, and for this feature I studied …
  • A Metal Renderer in Swift Playgrounds (Part 7)
    A Metal Renderer in Swift Playgrounds (Part 7)
    I was quite happy with the dynamism in the test scene at this point as well as the pixelated experiment, so I decided to work on another purely aesthetic feature. I have never implemented bloom in previous rendering …
  • A Metal Renderer in Swift Playgrounds (Part 6)
    A Metal Renderer in Swift Playgrounds (Part 6)
    A quick recap - I have a voxel spaceship orbiting a distinctly low poly planet and it looks a bit odd. Making low poly models on an iPad is hard because the tools available basically aren’t Blender (or are …
  • A Metal Renderer in Swift Playgrounds (Part 5)
    A Metal Renderer in Swift Playgrounds (Part 5)
    With the planet, spaceship, skybox and trails in place, the scene was starting to look pretty cool. But it was far from a game. Although I was not planning to get sound working at this stage, I allocated some time to …
  • A Metal Renderer in Swift Playgrounds (Part 4)
    A Metal Renderer in Swift Playgrounds (Part 4)
    Space Flight I’ve continued working at a good pace. Having got the model loading working I made the scene more interesting. I removed the spinning cubes and put the icosahedron in the middle as a planet. I updated …
  • A Metal Renderer in Swift Playgrounds (Part 3)
    A Metal Renderer in Swift Playgrounds (Part 3)
    Voxel Spaceships The next feature I’ve decided to add is model loading. Apple have out of the box code that is capable of loading Wavefront Obj files which is what I plan to use for the first forays into this area. …
  • A Metal Renderer in Swift Playgrounds (Part 2)
    A Metal Renderer in Swift Playgrounds (Part 2)
    I’ve allocated quite a lot of spare time to writing on the project over the last week and have made progress on the renderer. A rough timeline of what I’ve done and in what order is: Draw a triangle with …
  • A Metal Renderer in Swift Playgrounds
    A Metal Renderer in Swift Playgrounds
    A little while ago I started a project to write a Metal renderer on my iPad in Playgrounds. A brief history is that for various reasons I am often away from my computer but have access to my iPad. I like experimenting …

/writing · tags · archive · visual · rss