XaiJu
relativisticgame
relativisticgame

patreon


Week 36: lighting in my game engine

I did more work on the engine rendering code, completing the big code-refactoring I started some weeks back. I finally have a generic mechanism that I can use to set the light uniforms. I used this to add lights to the player for the engine’s flames. You can see the attached picture.

I also painted the robot’s body, although I don’t think I am done with it. I am not fully satisfied with the colours.

I also worked on implementing a LED screen for the robot. I looked into PSF fonts that I could use to render text on the robot’s screen. PSF fonts are bitmapped fonts, used by PC in text video modes. Linux distributions ship with a bunch of these. I was looking at some of them. I wrote a small Python utility to read and render these fonts.

I also worked on the room background, adding axes and labels. I also wrote a script for a video I’d like to do around Wigner rotation. This time, however, I cannot afford spending weeks on this. Ideally, I should get it done in 2-3 days.

Week 36: lighting in my game engine

More Creators