项目
在 GitHub 查看
xms0g/3Dos
关于
A low-poly 3D renderer for MS-DOS
设计与媒体可以做什么
- Triangle rasterization
- 3D perspective projection
- Simple vector/matrix math with LUT-based sin/cos
- Backface culling
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文3DOS
3DOS is a low-poly old-school software renderer for MS-DOS written in C and x86 assembly, targeting VGA mode 13h at 320x200 resolution. Download the EXE file from itch.io.
Built with Borland Turbo C++ 3.0 (DOS), Turbo Assembler 4.1 and Turbo Link 5.0.
Features
- Triangle rasterization
- 3D perspective projection
- Simple vector/matrix math with LUT-based sin/cos
- Backface culling
- Ordered dithering with 4x4 bayer matrix
- Double buffering
- Depth sorting using the painter's algorithm
- Assembly-optimized framebuffer transfer - x86 REP MOVSW with far pointers for copying pixels to VGA memory
- Low-level keyboard input — custom interrupt handler with key press and release detection
Controls
| Key | Description |
|---|---|
WASD |
Move |
↑ ↓ |
Fly up/down |
ESC |
Exit |
1/2/3/4 |
Cube/Ico/Tree/F22 |
Screenshots



License
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
探索相关项目
加载中…