r/C_Programming • u/Background_Shift5408 • Oct 22 '26
Project 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
AI usage: Only extracting vertices and faces from the model file.
•
u/github-guard Oct 22 '26
🔍 GitHub Guard: Trust Report (Passed)
Here are the safety audit results for the linked repositories:
Repository: xms0g/3Dos
Score: 3/6
10
u/rayriflepie Oct 24 '26
This is divine intellect.
5
u/BugComprehensive9064 Oct 23 '26
Is that an F-22?
2
u/Then_Living4630 Oct 24 '26
How in the world pll learn to do this kind of projects???
2
u/terra2o Oct 24 '26
i absolutely love DOS projects!! i also have a curses game that can run on FreeDOS :P
1
u/Embarrassed_Army8026 Oct 23 '26
might fit my company's ecosystem perfectly. how many punch cards / tape?
1
u/Rararror Oct 23 '26
Is this working on a old machine? I mean an old machine is fast enough? or just emulator on a 4GHz ?
1
u/Imaginary-Set-284 Oct 24 '26
do you have some resources to learn how to build a stuff like that?
1
u/Ok-Lifeguard-9612 Oct 28 '26
I thought was Temple OS for a moment
1
u/AoyamaTama 11d ago
that's sooooo cool, i thought not many would working on projects like this in now days
2
u/Zealot8086 Oct 24 '26
Cool. You should try to remake f19.
1
u/AutoModerator Oct 22 '26
Hi /u/Background_Shift5408,
Your submission in r/C_Programming was filtered because it links to a git project.
You must edit the submission or respond to this comment with an explanation about how AI was involved in the creation of your project.
While AI-generated code is not disallowed, low-effort "slop" projects may be removed and it's likely that other users push back strongly on substantially AI-generated projects.
You can read more at https://www.reddit.com/r/C_Programming/wiki/index/posting-projects
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Certain-Flow-0 Oct 27 '26
Love the dithering
1
u/imangoldfish Oct 29 '26
Holy fighter jet