Skip to content
Projetos

Sobre

A low-poly 3D renderer for MS-DOS

Design e mídia

Como estes números são medidos

O que você pode fazer

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

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

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.

Explore projetos relacionados

Carregando…