Skip to content

Drawing triangle in x86_64 asembler. C++ and SFML was used to create window and manage events.

Notifications You must be signed in to change notification settings

SciArt/ShadingTriangle_x86_64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shading Triangle - x86_64, AVX, AVX2, C++

Drawing shaded triangle (Gouraud shading). Project is written in two languages: C++ and x86_64 assembler (Intel syntax).

C++

  • window managment, interaction with user, drawing grid (background)...

Assembler (x86_64, Intel syntax)

  • function that is used for drawing shaded triangle
  • floating point numbers were used for calculations
  • in order to optimize the program, coordinates and colors are calculated simultaneously (AVX, AVX2)

Build instructions

  • SFML sudo apt-get install libsfml-dev
  • NASM sudo apt-get install nasm

To build project: make

Video

https://youtu.be/qqHOqkGMuxY

YouTube Video

About

Drawing triangle in x86_64 asembler. C++ and SFML was used to create window and manage events.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published