On The Subject Of Graphics
-
A Metal Renderer in Swift Playgrounds (Part 13) Oct 20, 2022Button and Analog Stick Inputs Button and analog stick inputs. The buttons don’t do anything yet, but this is part of setting up the next phase which is to introduce the ability to actually fly a spaceship! This …
-
A Metal Renderer in Swift Playgrounds (Part 12) Oct 14, 2022Analog Style Input I need to handle input and although I’m not sure how the gameplay will turn out, I know I will want something resembling an analog stick via the touch screen. I’ve built a basic version of …
-
A Metal Renderer in Swift Playgrounds (Part 11) Sep 27, 2022Renderer Progress May to September 2022 A quick recap of the progress made so far, from the lowly triangle to a combination of interesting rendering techniques. Progress is slow because it’s a hobby project, but …
-
A Metal Renderer in Swift Playgrounds (Part 10) Aug 31, 2022Since 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) Aug 4, 2022I’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) Jul 10, 2022With 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) Jul 6, 2022I 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) Jul 1, 2022A 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) Jun 26, 2022With 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) Jun 17, 2022Space 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) Jun 15, 2022Voxel 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) Jun 11, 2022I’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 …
subscribe via RSS