Jani_Nykanen

Last Login:
September 25, 2017
Warn:

Rank:
Member



User Profile
Follow

Hits: 66,841
Joined March 07, 2014
Games (5)

A Journey to Eternity
July 24, 2016
Operation Fungus
December 14, 2015
The Last Minute Dungeon
December 12, 2016
The End
June 27, 2017
Flying Cat Stomper
July 26, 2017


3D software renderer
Posted on July 10, 2017 at 03:46

I'll update this microblog every time I have added some new features to my software renderer.

Here's a gif:


Features & nice info:
- 100% software rendered. The final pixel array is drawn using SDL2, but the SDL_Renderer has SDL_RENDERER_SOFTWARE flag, which means it truly uses pure software rendering! Madness!
- Written in C
- Flat shading, "per-triangle"
- No textures
- 512 colors + auto dithering
- Simple lighting, not very realistic, but good enough
- 3D transformations (via gl-matrix.c library)
- 2D bitmap rendering

The goal is to make a game that looks like the early 90's 3D games

More info later


Also, for curious people, the source code of the project:
https://github.com/jani-nykanen/Software-Renderer-Project

It will be updated every time I add something new.

You can even build it by yourself, but I don't recommend it yet. (But if you do so, please notice that, unlike in the gif, the framerate is capped to 30 fps. No reason to go higher if I'm making a retro 3D game)
Posted by Jani_Nykanen July 10, 2017 9:32 - 2.6 months ago
| [#1]

You've done well.
Posted by mrpete July 13, 2017 0:29 - 2.5 months ago
| [#2]

you've captured this aesthetic perfectly <3
Posted by Fabio July 13, 2017 6:23 - 2.5 months ago
| [#3]

Now I want to add lighting to my software renderer
Posted by SkidRunner July 14, 2017 9:03 - 2.4 months ago
| [#4]

You going to create a proper shader for it? That will be awesome
Posted by Moikle July 14, 2017 15:46 - 2.4 months ago
| [#5]

SkidRunner out of fucking nowhere!
Posted by Aistarin July 14, 2017 17:29 - 2.4 months ago
| [#6]

Recent Activity
 
Active Users (0)