Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 548 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 548 Bytes

Shading triangle - MIPS architecture

Project for Computer Architecture at WUT. It's written in MARS (MIPS Assembler and Runtime Simulator). Fixed point numbers were used for calculations.

Input

  • BMP file with its name, width and height.
  • Three vertices with coordinates and colors.

Output

  • BMP file with the shaded triangle.

Example

Vertices:

No. X Y A R G B
1 50 50 255 255 0 0
2 590 150 255 0 255 0
3 300 350 255 0 0 255

Example of the output