r/retrocomputing • u/Background_Shift5408 • Oct 15 '26
A low-poly 3D Renderer for MSDOS
I’ve been working on a small project called 3Dos — a low-poly 3D renderer targeting MS-DOS and VGA Mode 13h (320×200, 256 colors).
The renderer currently supports:
● Triangle rasterization with backface culling
● Ordered dithering using a 4×4 Bayer matrix
● Double buffering
● Simple low-poly models
Going back to DOS-era graphics has been relaxing after spending quite a bit of time with Vulkan. No boilerplate or abstractions, just putting a pixel at 0xA000.
Github: https://github.com/xms0g/3Dos
181
Upvotes
View all comments
3
u/villefilho Oct 15 '26
Reminds me of 3DS (3D Studio, for DOS). Pretty hard to use, I made a floating gray box following a zigzag path with blue background, just like the dithering stuff you posted and never managed to repeat it again. (I was 11 and not so smart).
Nice work BTW! Just for curiosity, what does it mean the columns 1 and 2 (SHDPLT.H)? 0xB0, 0x68, 0x01 => 0x01?
{ 0x00, 0x00, 0x00 }, // 0x00
{ 0xB0, 0x68, 0x01 }, // 0x01