/x86-cube-renderer

Sigh... Cube renderer in x86-64 assembly (NASM).

Primary LanguageAssembly

x86-cube-renderer

Sigh... Cube renderer in x86-64 assembly (NASM).

Presentation

Use WASD and QE keys for movement, UHJK and YI keys for rotation.

Progarm uses SDL to only do 2 things: display the generated bitmap and handle user input. Everything else is coded in NASM. I use Bresenham's line algorithm to draw lines. Matrix multiplication uses SSE. Some use of legacy FPU since I wanted to learn it too :).

Dependencies

  • gcc
  • make
  • nasm
  • SDL2

Installation

Just type

make all