Render3 – My own game engine

One week ago, I started working on a 3d experiment from scratch in JavaScript. The test was successful, so I migrated it to C# and added more 3d classes like meshes, geometries etc. Finally, I started adding components that turned it into a game engine, and now here we are: a 3d game engine build on a 2d renderer!

I have started creating a mesh component, and am working on my shading and hierarchy. Shading is particularly difficult not because of the lighting but because you have to work out which order to draw the faces in. I have a basic system where we compare the distance to the camera, but there are still small glitches.

Today however I am working on a transform component. The global transform modifiers (position, rotation, scale) are working perfectly, but I am running into trouble with local positioning, i.e. position relative to parent. The project keeps throwing overflow exceptions when rendering. I am still trying to figure this out!

Overall I am really enjoying the project and hope to keep this going in the future.

One thought on “Render3 – My own game engine

Leave a Reply

Your email address will not be published. Required fields are marked *