On The Subject Of Graphics
-
Kobold Space Game Engine Progress 2023 Dec 27, 2023This is a look back at the progress I’ve made in my hobby space game engine in 2023, covering controlling the player and vehicles on planet surfaces, as well as space flight and some of the graphical effects that …
-
Polygons with Pythonista Jul 15, 2023I wrote a Pythonista script on my iPhone for my kids to show the internal angles of regular polygons and how adding more sides makes the shape start approximating a circle. In the script, swiping left and right …
-
Teapots, Springs, and Cascaded Shadow Maps Jul 14, 2023Rigid Body Teapots and Springs I’m working on the foundations for a game - still using Swift Playgrounds, and with my existing renderer as a jumping off point. I’m working towards a physics engine with rigid …
-
Concluding A Metal Renderer in Swift Playgrounds Jan 12, 2023In May last year I started on a journey to learn how to make a 3d renderer on my iPad in Swift Playgrounds. I’ve learned about Swift, Metal, basic renderer architecture, and graphics techniques such as shadow …
-
A Metal Renderer in Swift Playgrounds (Part 14) Dec 6, 2022Bring The Noise I’ve recently added configuration options for the background space noise/nebula effect. This allows faster feedback when experimenting with different colours and parameters for the noise. A couple …
-
A Metal Renderer in Swift Playgrounds (Part 13) Oct 20, 2022Button 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 development prepares the …
-
A Metal Renderer in Swift Playgrounds (Part 12) Oct 15, 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 …