Saturday, 17 September 2016

Model loading

Progess

Last night I got a basic Wavefront OBJ loader running and rendered and object with diffuse and specular lighting. This is just a basic test of the setup and from this it's clear I will need to refactor the classes that represent a game object if I want to support many objects within the engine. The OBJ loader is also very basic and throws exceptions on various files so it needs to be made much more comprehensive.

Here's a quick screenshot:



Next steps

So far I have just been concentrating on the basics. I have added the concept of different render managers to the engine so that I can set various modes and the have the class responsible do the render. Modes will be things like the intro sequence, title screen, main game,, options screen etc.
I am going to start with the title screen which will render a section of the game world with the title logo over the top. To do this I am going to need to start on the world rendering engine so this will be the next task. Firstly I am going to render a flat plane for the sea and then experiment with shaders to try to create a realistic looking ocean surface. Hopefully that will be done at least in a basic way in the next update.

Thursday, 8 September 2016

Introduction

I've always wanted to write a 3D game. I've made many starts on many platforms from the C64 and Amiga through to modern PCs. This time it's going to happen. This time I will make a do or die effort to get something that is at least playable running.

This blog is going to document the steps in a potentially-useful-to-others and hopefully entertaining way.

I'll go into the full game design in a later post but for now let me just say if you know Carrier Command then you're halfway there. Hasn't that been done before? Yes, it has but the site and any trace of that game is now gone. I want to do this for myself and with my own additions. There are things that I've loved in other games that I'd like to include into the mix.

So, let's get started....