Skip to content
Proyek

Tentang

A low-poly 3D renderer for MS-DOS

Desain dan media

Cara angka ini diukur

Yang dapat Anda lakukan

  • Triangle rasterization
  • 3D perspective projection
  • Simple vector/matrix math with LUT-based sin/cos
  • Backface culling

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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

imageimage imageimage

License

This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.

Jelajahi proyek terkait

Memuat…